Created
September 23, 2015 13:20
UIViewControllerTemplate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import "<#UIViewController#>.h" | |
@interface <#UIViewController#> () | |
@end | |
@implementation <#UIViewController#> | |
#pragma mark - Controller Life Cycle | |
- (void)dealoc { | |
// 关闭定时器 | |
} | |
- (void)viewDidLoad { | |
[super viewDidLoad]; | |
} | |
- (void)viewWillAppear:(BOOL)animated { | |
[super viewWillAppear:animated]; | |
// 添加通知 | |
} | |
- (void)viewDidAppear:(BOOL)animated { | |
[super viewDidAppear:animated]; | |
} | |
- (void)viewWillDisappear:(BOOL)animated { | |
[super viewWillDisappear:animated]; | |
// 移除通知 | |
} | |
- (void)viewDidDisappear:(BOOL)animated { | |
[super viewDidDisappear:animated]; | |
} | |
- (void)didReceiveMemoryWarning { | |
[super didReceiveMemoryWarning]; | |
// Dispose of any resources that can be recreated. | |
} | |
#pragma mark - Delegates | |
#pragma mark - Layouts | |
// 更新视图约束 | |
- (void)updatePageConstraints { | |
} | |
#pragma mark - Event Response | |
#pragma mark - Public Methods | |
#pragma mark - Private Methods | |
#pragma mark - Getter | |
#pragma mark - Setter | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment