Using of NSTableView tableViewSelectionDidChange Notification
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