Skip to content

Instantly share code, notes, and snippets.

@thiagolioy
Created April 18, 2017 16:31
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 thiagolioy/92b8df2cdc4c2fa4c80efc723819c69d to your computer and use it in GitHub Desktop.
Save thiagolioy/92b8df2cdc4c2fa4c80efc723819c69d to your computer and use it in GitHub Desktop.
Code for presentation, what not to do inside a cell for row
-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
switch (indexPath.section) {
case 1:
//
break;
case 2:
//
break;
case ...:
//
break;
default:
break;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment