Not sure when did this start, but now when I create a new project in XCode 4, found that in the header ".h" file, the default property/variable disappeared!
As below, at the line where I put the "//", we used to have to repeat the declaration of "UIWindow *window" and "ScrollViewTestViewController *viewController;", now it all disappeared - which is cool as we can now save some typing...
#import <UIKit/UIKit.h>
@class ScrollViewTestViewController;
@interface ScrollViewTestAppDelegate : NSObject <UIApplicationDelegate> {
//
}
@property (nonatomic, retain) UIWindow *window;
@property (nonatomic, retain) ScrollViewTestViewController *viewController;
@end
0 comments:
Post a Comment