Objective-C class properties

The following is stated in the Xcode 8 Release Notes:


"Objective-C now supports class properties, which interoperate with Swift type properties. They are declared as

@property (class) NSString *someStringProperty
;, and are never synthesized."


From what iOS version can we use this feature ? The current deployment target on our project is iOS 8.

Answered by QuinceyMorris in 189434022

You should be able to use them with all deployment targets, since at run-time properties are "just" methods. However, there was a fix to a linker-time issue in Xcode 8.1 beta 2 (current is beta 3), so be on the lookout for errors if you're still on 8.0.

Accepted Answer

You should be able to use them with all deployment targets, since at run-time properties are "just" methods. However, there was a fix to a linker-time issue in Xcode 8.1 beta 2 (current is beta 3), so be on the lookout for errors if you're still on 8.0.

Objective-C class properties
 
 
Q