[size=1em]1 [size=1em]2 [size=1em]3 [size=1em]4 [size=1em]5 [size=1em]6 [size=1em]7 [size=1em]8 [size=1em]9 | [size=1em][size=1em]<a target="_blank" rel="nofollow">@interface</a> ViewController : UIViewController [size=1em]{ [size=1em] NSDate *memberDate; [size=1em] NSDate *properDate; [size=1em]} [size=1em] [size=1em]@property(nonatomic, retain) NSDate* properDate; [size=1em] [size=1em]<a target="_blank" rel="nofollow">@end</a> |
[size=1em]1 [size=1em]2 [size=1em]3 [size=1em]4 [size=1em]5 [size=1em]6 | [size=1em][size=1em]- (void)viewDidLoad [size=1em]{ [size=1em] [super viewDidLoad]; [size=1em] memberDate = [NSDate date]; [size=1em] self.properDate = [NSDate date]; [size=1em]} |
欢迎光临 黑马程序员技术交流社区 (http://bbs.itheima.com/) | 黑马程序员IT技术论坛 X3.2 |