• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Custom UITableViewCell parent is NIL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom UITableViewCell parent is NIL


  • Subject: Re: Custom UITableViewCell parent is NIL
  • From: Steve Christensen <email@hidden>
  • Date: Tue, 08 Apr 2014 06:16:06 -0700

On Apr 7, 2014, at 9:32 PM, Michael de Haan <email@hidden> wrote:

> It still however leaves me puzzled as to why I cannot implement Swipe to delete. (the 2 usual suspects), ie
>
> -(BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath;
> -(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath
>
> are implemented.

I realize that this will come across as a “is it plugged in?” sort of question, but have you put a breakpoint, or added a NSLog(), to each of those methods to see if they’re actually being called? And if -tableView:canEditRowAtIndexPath: is being called, are there any cases where you return NO?


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Custom UITableViewCell parent is NIL
      • From: Michael de Haan <email@hidden>
References: 
 >Custom UITableViewCell parent is NIL (From: Michael de Haan <email@hidden>)
 >Re: Custom UITableViewCell parent is NIL (From: Quincey Morris <email@hidden>)
 >Re: Custom UITableViewCell parent is NIL (From: Michael de Haan <email@hidden>)

  • Prev by Date: Re: Custom UITableViewCell parent is NIL
  • Next by Date: To find if a file is fragmented
  • Previous by thread: Re: Custom UITableViewCell parent is NIL
  • Next by thread: Re: Custom UITableViewCell parent is NIL
  • Index(es):
    • Date
    • Thread