• 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
Using of NSTableView tableViewSelectionDidChange Notification
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using of NSTableView tableViewSelectionDidChange Notification


  • Subject: Using of NSTableView tableViewSelectionDidChange Notification
  • From: Gurkan Erdogdu <email@hidden>
  • Date: Wed, 04 Jan 2017 08:25:37 +0000 (UTC)

Hi all
I would like to get your experience of using tableViewSelectionDidChange notification of NSTableView. I have 2 table using in my application. When I click first table row, it is selected and row shown as blue. When I click second table row, first table row color becomes gray but still selected. When I select the same row (selected gray row) in first table, tableViewSelectionDidChange method is not called because it is the same row.
What is the best way to get still notification to click the same row? Is it possible to use NSTableView action property using Selector? If so, is there any side effect of using the NSTableView#action?
func onAction(sender : NSTAbleView){    //This is called irrespective of row is selected before or not
}

Thanks
Gurkan-
_______________________________________________

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


  • Prev by Date: Re: 12 hr vs 24 hr time display
  • Next by Date: Retaining non-document windows
  • Previous by thread: Re: Animating autolayout constraint changes for subviews
  • Next by thread: Retaining non-document windows
  • Index(es):
    • Date
    • Thread