Created
February 5, 2016 07:35
-
-
Save ArsnealX/31fed5c2653371abd61a to your computer and use it in GitHub Desktop.
View Controller Code Snippets
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 "YourViewControllerName.h" | |
@implementation YourViewControllerName | |
#pragma mark - Life Cycle | |
- (void)viewDidLoad { | |
[super viewDidLoad]; | |
[self loadDataSource]; | |
[self loadUIComponents]; | |
} | |
- (void)viewWillAppear:(BOOL)animated { | |
[super viewWillAppear:animated]; | |
} | |
- (void)viewDidAppear:(BOOL)animated { | |
[super viewDidAppear:animated]; | |
} | |
- (void)viewWillDisappear:(BOOL)animated { | |
[super viewWillDisappear:animated]; | |
} | |
- (void)didReceiveMemoryWarning { | |
[super didReceiveMemoryWarning]; | |
// Dispose of any resources that can be recreated. | |
} | |
#pragma mark - UI Loading | |
- (void)loadUIComponents { | |
[self loadNavigationItems]; | |
} | |
- (void)loadNavigationItems { | |
} | |
#pragma mark - UI Status | |
- (void)configUI { | |
} | |
#pragma mark - DataSource and Delegate | |
#pragma mark - Network Callback | |
#pragma mark - Event Responder | |
#pragma mark - Data Loading | |
- (void)loadDataSource { | |
} | |
#pragma mark - Private Method | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment