Skip to content

Instantly share code, notes, and snippets.

@psobko
Created October 21, 2013 17:02
Show Gist options
  • Save psobko/7087224 to your computer and use it in GitHub Desktop.
Save psobko/7087224 to your computer and use it in GitHub Desktop.
Custom UITableViewCell
static NSString *cellIdentifier = @"SomeCell";
QRScanCell *cell = [self.tableView dequeueReusableCellWithIdentifier:cellIdentifier];
if (!cell)
{
NSArray *nib = [[NSBundle mainBundle] loadNibNamed:@"SomeCellNib"
owner:self
options:nil];
cell = [nib lastObject];
}
return cell;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment