Advertisement
Guest User

Untitled

a guest
Sep 21st, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. static NSString *CustomShiftCellIdentifier = @"ShiftTableViewCellController_iPhone";
  2. ShiftTableViewCellController_iPhone *shiftCell = (ShiftTableViewCellController_iPhone *)[tableView dequeueReusableCellWithIdentifier: CustomShiftCellIdentifier];
  3. if (shiftCell == nil)
  4. {
  5. NSArray *nib = [[NSBundle mainBundle] loadNibNamed:@"ShiftTableViewCellController_iPhone"
  6. owner:self options:nil];
  7. for (id oneObject in nib) if ([oneObject isKindOfClass:[ShiftTableViewCellController_iPhone class]])
  8. shiftCell = (ShiftTableViewCellController_iPhone *)oneObject;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement