Re: NSTableRowView which row ?
Re: NSTableRowView which row ?
- Subject: Re: NSTableRowView which row ?
- From: Kyle Sluder <email@hidden>
- Date: Fri, 02 Nov 2012 09:41:03 -0700
On Nov 2, 2012, at 8:19 AM, email@hidden wrote:
> How can I find the row of an NSTableRowView?
>
> When I print the object in the debugger it tells me which row, but I can't see how it finds this...
>
> po thisRowView
> (NSTableRowView *) $1 = 0x0000000101d53fb0 <NSTableRowView: 0x101d53fb0> - row: 1
Ask the tableview for -rowForView:. And file a bug asking for a public -rowIndex method on NSTableRowView. That sure would be handy.
--Kyle Sluder
_______________________________________________
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