• 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
Re: NSTableRowView which row ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >NSTableRowView which row ? (From: email@hidden)

  • Prev by Date: Re: View-based NSTableView strange scrolling behavior.
  • Next by Date: Problem creating or opening a Core Data database
  • Previous by thread: NSTableRowView which row ?
  • Next by thread: Problem creating or opening a Core Data database
  • Index(es):
    • Date
    • Thread