• 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
Is it feasible to nest NSTableViews inside a view-based NStableView ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is it feasible to nest NSTableViews inside a view-based NStableView ?


  • Subject: Is it feasible to nest NSTableViews inside a view-based NStableView ?
  • From: Erik Stainsby <email@hidden>
  • Date: Fri, 24 Aug 2012 14:16:29 -0700

I have a situation where my data contains arrays of values: a list of phone numbers belonging to a person object. I'd like to be able to display the numbers in a single cell contained in a nested table of editable fields. Am I insane?

I've been circling trough the hierarchies trying to accomplish the connection of the person's array of phone numbers with a subclass of NSTableCellView acting as the subtable's delegate/datasource. I gotten tantalizingly close, but I just can't seem to bridge the gap. Corbin's TableViewPlayground doesn't quite get to this: all of the TableCellViews in his examples are first-generation children of the top-level table.

Does anyone know if it is (im)possible to do this? Should I be looking at a different view strategy?  Does anyone know of a clean clear example of how to accomplish this that I could study?

~ Erik

OSX 10.8,  XC4.4


_______________________________________________

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

  • Prev by Date: Re: Finder Info
  • Next by Date: Setting NSTableColumnIdentifier in Xcode 4.4.1?
  • Previous by thread: Re: Finder Info
  • Next by thread: Setting NSTableColumnIdentifier in Xcode 4.4.1?
  • Index(es):
    • Date
    • Thread