Re: NSTableView not setting -clickedRow, -clickedColumn as it should
Re: NSTableView not setting -clickedRow, -clickedColumn as it should
- Subject: Re: NSTableView not setting -clickedRow, -clickedColumn as it should
- From: Corbin Dunn <email@hidden>
- Date: Wed, 08 Aug 2012 14:48:55 -0700
On Aug 8, 2012, at 2:05 PM, Kyle Sluder <email@hidden> wrote:
> On Wed, Aug 8, 2012, at 01:21 PM, Corbin Dunn wrote:
>>
>> On Aug 8, 2012, at 11:38 AM, Kyle Sluder <email@hidden> wrote:
>>> Is there a reason that I shouldn't file a bug asking for clickedRow to
>>> be set as soon as the row is clicked?
>>
>> I just hadn't thought that people would have needed the clicked row
>> earlier; that's about it. Yeah, log a bug; there isn't any reason I can't
>> change it.
>
> Alright, done: <rdar://problem/12059014> (NSTableView waits until after
> calling -menuForEvent: before setting -clickedRow)
>
> With a bonus: <rdar://problem/12059058> (NSTableView should have a
> -tableView:menu:forEvent: delegate method).
Cool; note that with View Based TableViews these types of things are easier to do, since one can just do normal "view stuff", and easily query for what row they are in (via rowForView:)
corbin
_______________________________________________
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