• 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
Nested binding question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Nested binding question


  • Subject: Nested binding question
  • From: "Kevin Hoffman" <email@hidden>
  • Date: Tue, 4 Sep 2007 13:35:20 -0400
  • Thread-topic: Nested binding question

Ok, so I have a class that I've written (not Core Data...) called Order,
which has a property called orderItems which is an NSMutableArray of
OrderItem instances.



What I've done is I've created an NSCollectionView and dropped the a
custom view into it. In this view I have a label that I want bound to
the description of the order.



Within this view, I also have a Table View, which I want bound to the
orderItems NSMutableArray that is on the parent Order object.



Can someone walk me through the steps to rig up this binding in
Interface Builder and/or code? Every attempt I've made has come _close_,
but the end results are always as though someone on drugs rigged up my
bindings.



Any help is much appreciated!! Thanks!



p.s. I have an  array controller (Orders Controller) that I am/was using
for the root bindings.



_______________________________________________

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

  • Follow-Ups:
    • RE: Nested binding question
      • From: "Kevin Hoffman" <email@hidden>
    • Re: Nested binding question
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Re: Text Animation
  • Next by Date: Re: Nested binding question
  • Previous by thread: OCBlock
  • Next by thread: Re: Nested binding question
  • Index(es):
    • Date
    • Thread