On Nov 2, 2012, at 8:19 AM, devl...@mac.com 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 (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com