• 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: Bindings of NSMutableArray of NSMutableArray
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bindings of NSMutableArray of NSMutableArray


  • Subject: Re: Bindings of NSMutableArray of NSMutableArray
  • From: Jonathon Mah <email@hidden>
  • Date: Thu, 19 Apr 2007 00:34:28 +0930

Hi Micha,

On 2007-04-19, at 00:12, Micha Fuhrmann wrote:

I've got an NSArrayController in my Nib which is bonded to an Nib Instantiated Class ObjectHandler.

ObjectHandler contains the following ramification:

ObjectHandler -> NSMutableArray(Parent) -> items -> NSMutableArray (Child) -> items -> NSString(name)
-> NSString(name)


I would like to display the NSString(name of the items in NSMutableArray(Child) in a table using my NSArrayController. I can display the NSString(name) of the items in NSMutableArray(Parent) just fine using the NSArrayController -> contentArray, Model Key Path -> NSString (name)".

I'm not entirely sure what you're meaning, but I think you're needing another array controller. Bind this to "selection.children" (or whatever the path is) of the parent array controller, then bind the child table view to the children array controller, "arrangedObjects", "name".




Jonathon Mah
email@hidden


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: 
 >Bindings of NSMutableArray of NSMutableArray (From: Micha Fuhrmann <email@hidden>)

  • Prev by Date: Bindings of NSMutableArray of NSMutableArray
  • Next by Date: Re: Global variable for whole application.
  • Previous by thread: Bindings of NSMutableArray of NSMutableArray
  • Next by thread: CoreData, NSPredicate, searching for object with a specific number objects of relationships
  • Index(es):
    • Date
    • Thread