• 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: NSPopupButton and bindings to NSArrayController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPopupButton and bindings to NSArrayController


  • Subject: Re: NSPopupButton and bindings to NSArrayController
  • From: "I. Savant" <email@hidden>
  • Date: Sun, 27 Jul 2008 20:05:50 -0400

On Jul 27, 2008, at 7:55 PM, John Joyce wrote:

When attempting to use NSPopupButton and bindings to NSArrayController, as a means to navigate an array of objects, is there any tutorial or example out there?

I don't believe specifically for your case (ie, an NSPopUpButton), but this list's archives contain various (attempts at) textual explanations.


I keep getting "cannot perform operation without a managed object context"
This would seem to imply that I should be using CoreData.

In Interface Builder, inspect the Attributes of your array controller. You'll see a mode control that lets you specify whether to use a Class or an Entity. You most likely have Entity selected (which requires a MOC, as the error says). Select "Class" instead.


Is CoreData really the way to go when trying to do much more with bindings ?

No. The two interoperate very well by design but are not mutually inclusive.


--
I.S.




_______________________________________________

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: 
 >NSPopupButton and bindings to NSArrayController (From: John Joyce <email@hidden>)

  • Prev by Date: IB not recognizing class hierarchy
  • Next by Date: Handle errors within NSURLConnection
  • Previous by thread: NSPopupButton and bindings to NSArrayController
  • Next by thread: Re: NSPopupButton and bindings to NSArrayController
  • Index(es):
    • Date
    • Thread