Even More Bindings!
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.