Re: tableViewSelectionDidChange does not fire on deselect
Re: tableViewSelectionDidChange does not fire on deselect
- Subject: Re: tableViewSelectionDidChange does not fire on deselect
- From: Keary Suska <email@hidden>
- Date: Tue, 01 Apr 2014 07:11:38 -0600
On Mar 31, 2014, at 11:51 PM, Ronald Hofmann wrote:
> I´m using tableViewSelectionDidChange to find out which row of myTableView was clicked.
> Works fine so far. I´m taking some action than.
>
> - (void)tableViewSelectionDidChange:(NSNotification *)notification
> {
> NSInteger row = [_tableView selectedRow];
> NSLog(@„Row: %il", row);
>
> }
>
> The problem is that this method is not called when I deselect a row using cmd-click on a row.
This should not be the case. The notification should be posted any time the selection changes for any reason. Can you replicate this behavior in a test project that you can post?
Best,
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
_______________________________________________
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