I have read “What’s new in Xcode”,but I can’t find the official explanation for this feature.
Where can I find the official explanation? Which documentation? Thanks.
I have read What’s new in Xcode,but I can’t find the official explanation for
Share
You can find this in the Apple documentation in Objective-C Programming Language: Declared Properties under “Property Implementation Directives”. Whether or not an ivar is synthesized automatically depends on what runtime you are using:
iOS always uses the modern runtime so you never need to declare ivars explicitly.