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

Re: Even More Bindings!


  • Subject: Re: Even More Bindings!
  • From: Mont Rothstein <email@hidden>
  • Date: Fri, 16 Jul 2004 17:16:03 -0700

On 7/16/04 4:55 PM, "J Nozzi" <email@hidden> wrote:
> Any asset can be in any container (though only once per container).
> I'm not sure how this advice applies. ;-) It very probably does, I just
> don't see it. Any more suggestions?
>
> - J

OK, so it is a many-to-many relationship (multiple containers each with
multiple assets).

What you need looks like this:

ContainerArray<->>containerToAssetArray<<->assetArray

The containers won't directly store asset IDs and he assets won't directly
store any container IDs.

I'll be honest that I'm not certain how to automatically populate the
containerToAssetArray via bindings, you may have to do it manually.

However, once you have it created, you can get to any attribute in the
assets by following selection.containerToAssetsArray.assetAttribute. The
opposite, asset to container path will also work.

If that isn't clear yet, let me know.

-Mont
_______________________________________________
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: J Nozzi <email@hidden>
References: 
 >Re: Even More Bindings! (From: J Nozzi <email@hidden>)

  • Prev by Date: Re: Even More Bindings!
  • Next by Date: Sketch app with HTML export.
  • Previous by thread: Re: Even More Bindings!
  • Next by thread: Re: Even More Bindings!
  • Index(es):
    • Date
    • Thread