Advertisement
sashakid

Untitled

Mar 6th, 2015
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. - (UITableViewCell *)tableView:(FMMoveTableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
  2.     if (self.taskTableViewState == TMTaskTableViewStateTaskInput)
  3.     {
  4.         if (indexPath.row == 0 && indexPath.section == 0)
  5.         {
  6.             return [self getTaskInputCellForRowAtIndexPath:indexPath];
  7.         }
  8.         else
  9.         {
  10.            return [self getSwipeableCellForRowAtIndexPath:indexPath];
  11.         }
  12.     }
  13.     else
  14.     {
  15.         return [self getSwipeableCellForRowAtIndexPath:indexPath];
  16.     }
  17.    
  18.     return nil;
  19.    
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement