问题
From the Xcode 4.4 release notes:
The compiler automatically calls @synthesize by default for unimplemented @properties
What exactly does the new default synthesizer look like? Does it create a variable of the same name as the property (or does it prefix it with an underscore, which seems to be a good practice, but required extra typing so far)?
回答1:
the default is @synthesize propertyName = _propertyName
来源:https://stackoverflow.com/questions/11666008/automatically-synthesized-properties-in-xcode-4-4