• 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: Please help. At wit's end binding NSPopupButtonCell selection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Please help. At wit's end binding NSPopupButtonCell selection


  • Subject: Re: Please help. At wit's end binding NSPopupButtonCell selection
  • From: Cathy Shive <email@hidden>
  • Date: Tue, 4 Nov 2008 13:38:41 +0100


On Nov 4, 2008, at 1:27 PM, Ken Tozier wrote:
The reason I think this might be possible through bindings, is that other bound fields in the table have values specific to their associated page. For example, pages also have a status string, indicating whether stories need trims, are missing photos etc and these are populated correctly with the following binding

[pageController bind: @"contentArray" toObject: inProject withKeyPath: @"childNodes" options: nil];
[statusColumn bind: @"value" toObject: pageController withKeyPath: @"arrangedObjects.status" options: nil];

It is possible: http://homepage.mac.com/mmalc/CocoaExamples/controllers.html

Look at the "To Dos" example project. Seems like a similar setup:

"Shows two array controllers, one to manage the contents of a table view, the other to manage a pop-up menu in a table column."

I think this can help you get it working :)

- c







_______________________________________________

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: Please help. At wit's end binding NSPopupButtonCell selection
      • From: Ken Tozier <email@hidden>
References: 
 >Please help. At wit's end binding NSPopupButtonCell selection (From: Ken Tozier <email@hidden>)
 >Re: Please help. At wit's end binding NSPopupButtonCell selection (From: Cathy Shive <email@hidden>)
 >Re: Please help. At wit's end binding NSPopupButtonCell selection (From: Ken Tozier <email@hidden>)
 >Re: Please help. At wit's end binding NSPopupButtonCell selection (From: Cathy Shive <email@hidden>)
 >Re: Please help. At wit's end binding NSPopupButtonCell selection (From: Ken Tozier <email@hidden>)

  • Prev by Date: Re: Use PPPOE to load net
  • Next by Date: pragma mark Queston
  • Previous by thread: Re: Please help. At wit's end binding NSPopupButtonCell selection
  • Next by thread: Re: Please help. At wit's end binding NSPopupButtonCell selection
  • Index(es):
    • Date
    • Thread