I noticed that with Xcode4, Apple updated application templates to include underscores in front of instance variables.
// Xcode4 @property (nonatomic, retain) IBOutlet UIWindow *window; @synthesize window = _window;
.
// Xcode3 @property (nonatomic, retain) IBOutlet UIWindow *window; @synthesize window;
I know that there are different opinions about the utility , but I was just wondering if the updated templates, where:
- (1) Highlighting new best practices.
- (2) Shows how Apple does something, but for you this means the old way.
- (3) Its just a personal taste, it does not matter.
source share