• 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
Even More Bindings!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Even More Bindings!


  • Subject: Even More Bindings!
  • From: J Nozzi <email@hidden>
  • Date: Fri, 16 Jul 2004 18:58:56 -0400

List:

I have an array controller called "assetsArrayController" that contains 'asset' objects. I have a second array controller called "containerArrayController" that contains 'asset container' objects. Assets have a key called 'assetID' and another called 'assetType' which determines the icon it uses, and 'assetTitle'.

I want to be able to drag 'assets' into 'containers' and add them (drag-n-drop is working fine, that's not the issue). Obviously, for efficiency's sake, I want only to add the 'assetID' to the container array.

SO ... when you view the contents of each container, you see a list of assets with the appropriate image and title. When you edit the asset's title in the asset list, the container is automatically updated.

What I'm struggling with is the fundamental question of how to use the assetID in the container array controller to fetch the title of the 'asset' object in my assets array controller by its assetID ... In other words, how can I bind the 'title' column in the container array to data in the asset array by its unique ID?

Is this clear? Do I need to be more specific anywhere?

Regards,

- J
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Even More Bindings!
      • From: mmalcolm crawford <email@hidden>
    • Re: Even More Bindings!
      • From: Mont Rothstein <email@hidden>
  • Prev by Date: Re: How to make an application non-executable?
  • Next by Date: Re: Cocoa Bindings Question(s)
  • Previous by thread: Re: SMySQL
  • Next by thread: Re: Even More Bindings!
  • Index(es):
    • Date
    • Thread