Re: TableviewSelectionDidChange(_:) not called

2015-12-01 Thread Quincey Morris
On Dec 1, 2015, at 12:15 , Luc Van Bogaert wrote: > > As I already had an outlet to the ArrayController, I tried to solve this > problem by observing its 'selectedObjects' property, which seems to work fine. > I guess that would practically be the same as what you have suggested? Practically t

Re: TableviewSelectionDidChange(_:) not called

2015-12-01 Thread Luc Van Bogaert
> On 30 Nov 2015, at 22:57, Quincey Morris > wrote: > > On Nov 30, 2015, at 12:18 , Luc Van Bogaert wrote: >> >> I can see this is being called when I make any selection change; except when >> I delete the (last) selected row. Deleting the second last row does trigger >> a call, but only wh

Re: TableviewSelectionDidChange(_:) not called

2015-11-30 Thread Quincey Morris
On Nov 30, 2015, at 12:18 , Luc Van Bogaert wrote: > > I can see this is being called when I make any selection change; except when > I delete the (last) selected row. Deleting the second last row does trigger a > call, but only when I set the arraycontroller to 'avoid empty selection'. It so

Re: TableviewSelectionDidChange(_:) not called

2015-11-30 Thread Luc Van Bogaert
> On 30 Nov 2015, at 20:28, Quincey Morris > wrote: > > On Nov 30, 2015, at 11:07 , Luc Van Bogaert > wrote: >> >> I have noticed that TableviewSelectionDidChange(_:) is not called in my >> tableview delegate when after I select a row and then delete it, even w

Re: TableviewSelectionDidChange(_:) not called

2015-11-30 Thread Quincey Morris
On Nov 30, 2015, at 11:07 , Luc Van Bogaert wrote: > > I have noticed that TableviewSelectionDidChange(_:) is not called in my > tableview delegate when after I select a row and then delete it, even when it > is the only row in the table. I would have assumed that this method would be > called

TableviewSelectionDidChange(_:) not called

2015-11-30 Thread Luc Van Bogaert
Hello, I have noticed that TableviewSelectionDidChange(_:) is not called in my tableview delegate when after I select a row and then delete it, even when it is the only row in the table. I would have assumed that this method would be called because deleting the row does in fact change the slect