Xcode 4 automatically generates iVars when using @property,where can I find the official doc for this feature?
问题 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. 回答1: 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: There are differences in the behavior of accessor synthesis that depend on the runtime