From EncapsulatingData
Then half a page later:
Well, which is it? These two passages contradict each other perfectly, or else I'm really not understanding something.
Unless you specify otherwise, the synthesized instance variable has the same name as the property, but with an underscore prefix. For a property called firstName, for example, the synthesized instance variable will be called _firstName.
Then half a page later:
Important: If you use @synthesize without specifying an instance variable name, like this:
@synthesize firstName;
the instance variable will bear the same name as the property.
In this example, the instance variable will also be called firstName, without an underscore.
Well, which is it? These two passages contradict each other perfectly, or else I'm really not understanding something.