Re: NSPopupButton and bindings to NSArrayController
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