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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to