Skip to content

Instantly share code, notes, and snippets.

@josephchang10
Last active December 14, 2016 01:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save josephchang10/ede97b95c0248d63538c627f072cc795 to your computer and use it in GitHub Desktop.
Save josephchang10/ede97b95c0248d63538c627f072cc795 to your computer and use it in GitHub Desktop.
UITableViewController
-(instancetype)init {
return [super initWithStyle:UITableViewStylePlain];
}
-(instancetype)initWithStyle:(UITableViewStyle)style {
return [self init];
}
-(void)viewDidLoad {
[super viewDidLoad];
[self.tableView registerClass:[UITableViewCell class] forCellReuseIdentifier:@"UITableViewCell"];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment