Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static NSString *CustomShiftCellIdentifier = @"ShiftTableViewCellController_iPhone";
- ShiftTableViewCellController_iPhone *shiftCell = (ShiftTableViewCellController_iPhone *)[tableView dequeueReusableCellWithIdentifier: CustomShiftCellIdentifier];
- if (shiftCell == nil)
- {
- NSArray *nib = [[NSBundle mainBundle] loadNibNamed:@"ShiftTableViewCellController_iPhone"
- owner:self options:nil];
- for (id oneObject in nib) if ([oneObject isKindOfClass:[ShiftTableViewCellController_iPhone class]])
- shiftCell = (ShiftTableViewCellController_iPhone *)oneObject;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement