• 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: Triggering UITableView's -didSelectRowAtIndexPath: delegate callback
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Triggering UITableView's -didSelectRowAtIndexPath: delegate callback


  • Subject: Re: Triggering UITableView's -didSelectRowAtIndexPath: delegate callback
  • From: Carl Hoefs <email@hidden>
  • Date: Sat, 27 Feb 2016 12:17:57 -0700

On Feb 27, 2016, at 12:10 PM, Ben Kennedy <email@hidden> wrote:
>
>> On Feb 27, 2016, at 11:01 AM, Carl Hoefs <email@hidden> wrote:
>>
>> The problem is that the delegate callback associated with selecting that row doesn't occur. And indeed, I have since found that the documentation for this method says:
>>
>> "Calling this method does not cause the delegate to receive a tableView:didSelectRowAtIndexPath: message."
>>
>> Is there a method to call (or some other way) that will do this?
>
> Why not just call that method yourself?

Yes, that works, thanks! I just thought there might be a "preferred" way to do it. I guess I was hoping for something like:

[myTableView selectRowAtIndexPath:indexPath
                         animated:YES
                   scrollPosition:UITableViewScrollPositionMiddle
         triggersDelegateCallback:YES];
-Carl


_______________________________________________

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: Triggering UITableView's -didSelectRowAtIndexPath: delegate callback
      • From: Ben Kennedy <email@hidden>
References: 
 >Triggering UITableView's -didSelectRowAtIndexPath: delegate callback (From: Carl Hoefs <email@hidden>)
 >Re: Triggering UITableView's -didSelectRowAtIndexPath: delegate callback (From: Ben Kennedy <email@hidden>)

  • Prev by Date: Re: Triggering UITableView's -didSelectRowAtIndexPath: delegate callback
  • Next by Date: Re: Triggering UITableView's -didSelectRowAtIndexPath: delegate callback
  • Previous by thread: Re: Triggering UITableView's -didSelectRowAtIndexPath: delegate callback
  • Next by thread: Re: Triggering UITableView's -didSelectRowAtIndexPath: delegate callback
  • Index(es):
    • Date
    • Thread