Xcode4 templates now use underscore on iVars?
问题 I have noticed that with Xcode4 Apple has updated the application templates to include underscores before instance variables. // Xcode4 @property (nonatomic, retain) IBOutlet UIWindow *window; @synthesize window = _window; . // Xcode3 @property (nonatomic, retain) IBOutlet UIWindow *window; @synthesize window; I know there are differing opinions on the usefulness of this but I was just curious if the updated templates where: (1) Highlighting a new best practice. (2) Showing how Apple does