File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -356,6 +356,20 @@ extension macOSVersion {
356356 return nil
357357 #endif
358358 }
359+
360+ public static let v26 = macOSVersion {
361+ #if os(macOS)
362+ if #available( macOS 27 , * ) {
363+ return . past
364+ }
365+ if #available( macOS 26 , * ) {
366+ return . current
367+ }
368+ return . future
369+ #else
370+ return nil
371+ #endif
372+ }
359373}
360374
361375public struct visionOSVersion : PlatformVersion {
@@ -396,5 +410,19 @@ extension visionOSVersion {
396410 return nil
397411 #endif
398412 }
413+
414+ public static let v26 = visionOSVersion {
415+ #if os(visionOS)
416+ if #available( visionOS 27 , * ) {
417+ return . past
418+ }
419+ if #available( visionOS 26 , * ) {
420+ return . current
421+ }
422+ return . future
423+ #else
424+ return nil
425+ #endif
426+ }
399427}
400428#endif
You can’t perform that action at this time.
0 commit comments