Re: Triggering UITableView's -didSelectRowAtIndexPath: delegate callback

2016-02-29 Thread Keary Suska
> On Feb 28, 2016, at 11:05 PM, Jens Alfke wrote: > > >>> On Feb 27, 2016, at 4:27 PM, Keary Suska >>> > wrote: >>> >>> This results in a much more reliable and extensible decoupling since no >>> other object

Re: Triggering UITableView's -didSelectRowAtIndexPath: delegate callback

2016-02-28 Thread Jens Alfke
>> On Feb 27, 2016, at 4:27 PM, Keary Suska > > >> wrote: >> >> This results in a much more reliable and extensible decoupling since no >> other object should

Re: Triggering UITableView's -didSelectRowAtIndexPath: delegate callback

2016-02-28 Thread Luke Hiesterman
It is a general design pattern of all of UIKit - not just UITableView - that delegate callbacks for user actions are not triggered when those same actions are done programmatically. If you’re going to file a bug, I suggest filing it on the entire UIKit design pattern. Luke On Feb 27, 2016, at

Re: Triggering UITableView's -didSelectRowAtIndexPath: delegate callback

2016-02-27 Thread Keary Suska
> On Feb 27, 2016, at 3:59 PM, Ben Kennedy wrote: > > >> On 27 Feb 2016, at 11:17 am, Carl Hoefs >> wrote: >> >> Yes, that works, thanks! I just thought there might be a "preferred" way to >> do it. I guess I was hoping for something like: >>

Re: Triggering UITableView's -didSelectRowAtIndexPath: delegate callback

2016-02-27 Thread Ben Kennedy
> On 27 Feb 2016, at 11:17 am, Carl Hoefs > wrote: > > 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 >

Re: Triggering UITableView's -didSelectRowAtIndexPath: delegate callback

2016-02-27 Thread Ben Kennedy
> On Feb 27, 2016, at 11:01 AM, Carl Hoefs > 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

Triggering UITableView's -didSelectRowAtIndexPath: delegate callback

2016-02-27 Thread Carl Hoefs
iOS 9.2 At certain times I need to update the data source for a table view. Then I cause the row that was updated to be selected using UITableView's -selectRowAtIndexPath::: method. That much works fine. The problem is that the delegate callback associated with selecting that row doesn't