@@ -344,20 +344,6 @@ extension Triple {
344
344
self . nonDarwin = nonDarwin
345
345
}
346
346
347
- /// Describes the availability of a feature that is supported on multiple platforms,
348
- /// but is tied to a particular version.
349
- ///
350
- /// If `tvOS` availability is omitted, it will be set to be the same as `iOS`.
351
- public init (
352
- macOS: Availability ,
353
- iOS: Availability ,
354
- watchOS: Availability ,
355
- nonDarwin: Bool = false
356
- ) {
357
- self . init ( macOS: macOS, iOS: iOS, tvOS: iOS, watchOS: watchOS,
358
- nonDarwin: nonDarwin)
359
- }
360
-
361
347
/// Returns the version when the feature was introduced on the specified Darwin
362
348
/// platform, or `.unavailable` if the feature has not been introduced there.
363
349
public subscript( darwinPlatform: DarwinPlatform ) -> Availability {
@@ -404,6 +390,7 @@ extension Triple.FeatureAvailability {
404
390
static let nativeARC = Self (
405
391
macOS: . available( since: Triple . Version ( 10 , 11 , 0 ) ) ,
406
392
iOS: . available( since: Triple . Version ( 9 , 0 , 0 ) ) ,
393
+ tvOS: . available( since: Triple . Version ( 9 , 0 , 0 ) ) ,
407
394
watchOS: . availableInAllVersions
408
395
)
409
396
// When updating the versions listed here, please record the most recent
0 commit comments