• 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
Core Data bound to NSPopUpButton
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Core Data bound to NSPopUpButton


  • Subject: Core Data bound to NSPopUpButton
  • From: Allan Rentcome <email@hidden>
  • Date: Thu, 22 Feb 2007 19:45:01 -0600

Hi everyone,

I have a core data application. Within the interface I have two NSPopupButtons. These are bound to two NSArrayControllers which in turn are connected to my core data through the ManagedObjectContext. One controller populates the content of one of the pop-up buttons with entities and the other button is populated by the other controller which has a contentSet based on the current selection in the first controller ( there is a relationship between these two entities). My problem is as follows:

1. When I change the selection in the first pop-up button I want to change the content of the second pop-up button with the entities that have a relationship with the selection in the first pop-up. However, when I do not see any updates or changes in the second pop-up when I change the selection in the first. I have successfully done this with two NSTableViews but cannot get it to work with the two NSPopupButtons. Besides the binding of the content parameters what else do I need to bind?

I hope this explanation is clear!

Thanks in advance for any help.

Cheers

Allan

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: Core Data bound to NSPopUpButton
      • From: mmalc crawford <email@hidden>
  • Prev by Date: Re: Must remove submenu when dealloccing NSMenuItem?
  • Next by Date: windowDidLoad doesn't run
  • Previous by thread: Accessing getPixel of NSBitmapImageRep Class from applescript or javascript
  • Next by thread: Re: Core Data bound to NSPopUpButton
  • Index(es):
    • Date
    • Thread