• 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: Should I be trying to use bindings for this?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Should I be trying to use bindings for this?


  • Subject: Re: Should I be trying to use bindings for this?
  • From: Paul Bruneau <email@hidden>
  • Date: Wed, 3 Oct 2007 16:04:32 -0400

On Oct 3, 2007, at 4:01 PM, Scott Andrew wrote:

You could create a 2nd array controller and have its arranged objects attached to your 1st array controller's selected item at a key path of "weapons". This allows you too dynamically associate a 2nd controller for a another list box based on the selection of another. This should work well really well. Then its all dynamic and you have very little code except for basic accessors. Doing an addObject on the 2nd controller will add your new weapons to the backing NSMutableArray.

Yes in fact that is what mmalc taught me to do earlier and it does work well. I think my problem was that I was trying to do it with an NSPopupButton imbedded into my table's column. So I think my interface idea was my main fault.


Thank you!
_______________________________________________

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


References: 
 >Should I be trying to use bindings for this? (From: Paul Bruneau <email@hidden>)
 >Re: Should I be trying to use bindings for this? (From: "I. Savant" <email@hidden>)
 >Re: Should I be trying to use bindings for this? (From: Paul Bruneau <email@hidden>)
 >Re: Should I be trying to use bindings for this? (From: "I. Savant" <email@hidden>)
 >Re: Should I be trying to use bindings for this? (From: Paul Bruneau <email@hidden>)
 >Re: Should I be trying to use bindings for this? (From: Scott Andrew <email@hidden>)

  • Prev by Date: Re: SCNetworkConnection - Dictionary/Subdictionary
  • Next by Date: Cocoa based "volume format panel" like the DRBurnSetupPanel class
  • Previous by thread: Re: Should I be trying to use bindings for this?
  • Next by thread: Re: Should I be trying to use bindings for this?
  • Index(es):
    • Date
    • Thread