• 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: tableViewSelectionDidChange does not fire on deselect
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: tableViewSelectionDidChange does not fire on deselect
      • From: Michael Starke <email@hidden>
  • Next by Date: Re: tableViewSelectionDidChange does not fire on deselect
  • Next by thread: Re: tableViewSelectionDidChange does not fire on deselect
  • Index(es):
    • Date
    • Thread