Foundation Framework Version Numbers

Recognize the constants for comparing the current running version of Foundation against known OS version numbers.

Topics

Current Version

var NSFoundationVersionNumber: Double

The version of the Foundation framework in the current environment.

macOS Version Numbers

var NSFoundationVersionNumber10_0: Double

Foundation version released in OS X version 10.0.

var NSFoundationVersionNumber10_1: Double

Foundation version released in OS X version 10.1.

var NSFoundationVersionNumber10_1_1: Double

Foundation version released in OS X version 10.1.1.

var NSFoundationVersionNumber10_1_2: Double

Foundation version released in OS X version 10.1.2.

var NSFoundationVersionNumber10_1_3: Double

Foundation version released in OS X version 10.1.3.

var NSFoundationVersionNumber10_1_4: Double

Foundation version released in OS X version 10.1.4.

var NSFoundationVersionNumber10_2: Double

Foundation version released in OS X version 10.2.

var NSFoundationVersionNumber10_2_1: Double

Foundation version released in OS X version 10.2.1.

var NSFoundationVersionNumber10_2_2: Double

Foundation version released in OS X version 10.2.2.

var NSFoundationVersionNumber10_2_3: Double

Foundation version released in OS X version 10.2.3.

var NSFoundationVersionNumber10_2_4: Double

Foundation version released in OS X version 10.2.4.

var NSFoundationVersionNumber10_2_5: Double

Foundation version released in OS X version 10.2.5.

var NSFoundationVersionNumber10_2_6: Double

Foundation version released in OS X version 10.2.6.

var NSFoundationVersionNumber10_2_7: Double

Foundation version released in OS X version 10.2.7.

var NSFoundationVersionNumber10_2_8: Double

Foundation version released in OS X version 10.2.8.

var NSFoundationVersionNumber10_3: Double

Foundation version released in OS X version 10.3.

var NSFoundationVersionNumber10_3_1: Double

Foundation version released in OS X version 10.3.1.

var NSFoundationVersionNumber10_3_2: Double

Foundation version released in OS X version 10.3.2.

var NSFoundationVersionNumber10_3_3: Double

Foundation version released in OS X version 10.3.3.

var NSFoundationVersionNumber10_3_4: Double

Foundation version released in OS X version 10.3.4.

var NSFoundationVersionNumber10_3_5: Double

Foundation version released in OS X version 10.3.5.

var NSFoundationVersionNumber10_3_6: Double

Foundation version released in OS X version 10.3.6.

var NSFoundationVersionNumber10_3_7: Double

Foundation version released in OS X version 10.3.7.

var NSFoundationVersionNumber10_3_8: Double

Foundation version released in OS X version 10.3.8.

var NSFoundationVersionNumber10_3_9: Double

Foundation version released in OS X version 10.3.9.

var NSFoundationVersionNumber10_4: Double

Foundation version released in OS X version 10.4.

var NSFoundationVersionNumber10_4_1: Double

Foundation version released in OS X version 10.4.1.

var NSFoundationVersionNumber10_4_2: Double

Foundation version released in OS X version 10.4.2.

var NSFoundationVersionNumber10_4_3: Double

Foundation version released in OS X version 10.4.3.

var NSFoundationVersionNumber10_4_4_Intel: Double

Foundation version released in OS X version 10.4.4 for Intel.

var NSFoundationVersionNumber10_4_4_PowerPC: Double

Foundation version released in OS X version 10.4.4 for PowerPC.

var NSFoundationVersionNumber10_4_5: Double

Foundation version released in OS X version 10.4.5.

var NSFoundationVersionNumber10_4_6: Double

Foundation version released in OS X version 10.4.6.

var NSFoundationVersionNumber10_4_7: Double

Foundation version released in OS X version 10.4.7.

var NSFoundationVersionNumber10_4_8: Double

Foundation version released in OS X version 10.4.8.

var NSFoundationVersionNumber10_4_9: Double

Foundation version released in OS X version 10.4.9.

var NSFoundationVersionNumber10_4_10: Double

Foundation version released in OS X version 10.4.10.

var NSFoundationVersionNumber10_4_11: Double

Foundation version released in OS X version 10.4.11.

var NSFoundationVersionNumber10_5: Double

Foundation version released in OS X version 10.5.0.

var NSFoundationVersionNumber10_5_1: Double

Foundation version released in OS X version 10.5.1.

var NSFoundationVersionNumber10_5_2: Double

Foundation version released in OS X version 10.5.2.

var NSFoundationVersionNumber10_5_3: Double

Foundation version released in OS X version 10.5.3.

var NSFoundationVersionNumber10_5_4: Double

Foundation version released in OS X version 10.5.4.

var NSFoundationVersionNumber10_5_5: Double

Foundation version released in OS X version 10.5.5.

var NSFoundationVersionNumber10_5_6: Double

Foundation version released in OS X version 10.5.6.

var NSFoundationVersionNumber10_5_7: Double

Foundation version released in OS X version 10.5.7.

var NSFoundationVersionNumber10_5_8: Double

Foundation version released in OS X version 10.5.8.

var NSFoundationVersionNumber10_6: Double

Foundation version released in OS X version 10.6.

var NSFoundationVersionNumber10_6_1: Double

Foundation version released in OS X version 10.6.1.

var NSFoundationVersionNumber10_6_2: Double

Foundation version released in OS X version 10.6.2.

var NSFoundationVersionNumber10_6_3: Double

Foundation version released in OS X version 10.6.3.

var NSFoundationVersionNumber10_6_4: Double

Foundation version released in OS X version 10.6.4.

var NSFoundationVersionNumber10_6_5: Double

Foundation version released in OS X version 10.6.5.

var NSFoundationVersionNumber10_6_6: Double

Foundation version released in OS X version 10.6.6.

var NSFoundationVersionNumber10_6_7: Double

Foundation version released in OS X version 10.6.7.

var NSFoundationVersionNumber10_6_8: Double

Foundation version released in OS X version 10.6.8.

var NSFoundationVersionNumber10_7: Double

Foundation version released in OS X version 10.7.

var NSFoundationVersionNumber10_7_1: Double

Foundation version released in OS X version 10.7.1.

var NSFoundationVersionNumber10_7_2: Double

Foundation version released in OS X version 10.7.2.

var NSFoundationVersionNumber10_7_3: Double

Foundation version released in OS X version 10.7.3.

var NSFoundationVersionNumber10_7_4: Double

Foundation version released in OS X version 10.7.4.

var NSFoundationVersionNumber10_8: Double

Foundation version released in OS X version 10.8.

var NSFoundationVersionNumber10_8_1: Double

Foundation version released in OS X version 10.8.1.

var NSFoundationVersionNumber10_8_2: Double

Foundation version released in OS X version 10.8.2.

var NSFoundationVersionNumber10_8_3: Double

Foundation version released in OS X version 10.8.3.

var NSFoundationVersionNumber10_8_4: Double

Foundation version released in OS X version 10.8.4.

var NSFoundationVersionNumber10_9: Int32

Foundation version released in OS X version 10.9.

var NSFoundationVersionNumber10_9_1: Int32

Foundation version released in OS X version 10.9.1.

var NSFoundationVersionNumber10_9_2: Double

Foundation version released in OS X version 10.9.2.

var NSFoundationVersionNumber10_10: Double

Foundation version released in OS X version 10.10.

var NSFoundationVersionNumber10_10_1: Double

Foundation version released in OS X version 10.10.1.

var NSFoundationVersionNumber10_10_2: Double

Foundation version released in OS X version 10.10.2.

var NSFoundationVersionNumber10_10_3: Double

Foundation version released in OS X version 10.10.3.

var NSFoundationVersionNumber10_10_4: Double

Foundation version released in OS X version 10.10.4.

var NSFoundationVersionNumber10_10_5: Int32

Foundation version released in OS X version 10.10.5.

var NSFoundationVersionNumber10_10_Max: Int32

Foundation version ceiling for any update of OS X version 10.10.x.

var NSFoundationVersionNumber10_11: Int32

Foundation version released in OS X version 10.11.

var NSFoundationVersionNumber10_11_1: Double

Foundation version released in OS X version 10.11.1.

var NSFoundationVersionNumber10_11_2: Double

Foundation version released in OS X version 10.11.2.

var NSFoundationVersionNumber10_11_3: Double

Foundation version released in OS X version 10.11.3.

var NSFoundationVersionNumber10_11_4: Int32

Foundation version released in OS X version 10.11.4.

var NSFoundationVersionNumber10_11_Max: Int32

Foundation version ceiling for any update of OS X version 10.11.x.

iOS Version Numbers

Also applicable to tvOS and watchOS.

var NSFoundationVersionNumber_iPhoneOS_2_0: Double

Foundation version released in iPhone OS version 2.0.

var NSFoundationVersionNumber_iPhoneOS_2_1: Double

Foundation version released in iPhone OS version 2.1.

var NSFoundationVersionNumber_iPhoneOS_2_2: Double

Foundation version released in iPhone OS version 2.2.

var NSFoundationVersionNumber_iPhoneOS_3_0: Double

Foundation version released in iPhone OS version 3.0.

var NSFoundationVersionNumber_iPhoneOS_3_1: Double

Foundation version released in iPhone OS version 3.1.

var NSFoundationVersionNumber_iPhoneOS_3_2: Double

Foundation version released in iPhone OS version 3.2.

var NSFoundationVersionNumber_iOS_4_0: Double

Foundation version released in iOS version 4.0.

var NSFoundationVersionNumber_iOS_4_1: Double

Foundation version released in iOS version 4.1.

var NSFoundationVersionNumber_iOS_4_2: Double

Foundation version released in iOS version 4.2.

var NSFoundationVersionNumber_iOS_4_3: Double

Foundation version released in iOS version 4.3.

var NSFoundationVersionNumber_iOS_5_0: Double

Foundation version released in iOS version 5.0.

var NSFoundationVersionNumber_iOS_5_1: Double

Foundation version released in iOS version 5.1.

var NSFoundationVersionNumber_iOS_6_0: Double

Foundation version released in iOS version 6.0.

var NSFoundationVersionNumber_iOS_6_1: Double

Foundation version released in iOS version 6.1.

var NSFoundationVersionNumber_iOS_7_0: Double

Foundation version released in iOS version 7.0.

var NSFoundationVersionNumber_iOS_7_1: Double

Foundation version released in iOS version 7.1.

var NSFoundationVersionNumber_iOS_8_0: Double

Foundation version released in iOS version 8.0.

var NSFoundationVersionNumber_iOS_8_1: Double

Foundation version released in iOS version 8.1.

var NSFoundationVersionNumber_iOS_8_2: Double

Foundation version released in iOS version 8.2.

var NSFoundationVersionNumber_iOS_8_3: Double

Foundation version released in iOS version 8.3.

var NSFoundationVersionNumber_iOS_8_4: Double

Foundation version released in iOS version 8.4.

var NSFoundationVersionNumber_iOS_8_x_Max: Int32

Foundation version ceiling for any update of iOS version 8.x.

var NSFoundationVersionNumber_iOS_9_0: Double

Foundation version released in iOS version 9.0.

var NSFoundationVersionNumber_iOS_9_1: Double

Foundation version released in iOS version 9.1.

var NSFoundationVersionNumber_iOS_9_2: Double

Foundation version released in iOS version 9.2.

var NSFoundationVersionNumber_iOS_9_3: Double

Foundation version released in iOS version 9.3.

var NSFoundationVersionNumber_iOS_9_4: Double

Foundation version released in iOS version 9.4.

var NSFoundationVersionNumber_iOS_9_x_Max: Int32

Foundation version ceiling for any update of iOS version 9.x.