Re: CD: Creating a managed object
Re: CD: Creating a managed object
- Subject: Re: CD: Creating a managed object
- From: Ian Joyner <email@hidden>
- Date: Mon, 28 May 2007 20:03:59 +1000
On 28/05/2007, at 5:50 PM, mmalc Crawford wrote:
On May 27, 2007, at 11:01 PM, Ian Joyner wrote:
Or if this is a legitimate way of doing it, how do I get the right
context to insert the managed object into?
Where does it come from here:
[nsa insert: self];
...?
(Hint: <http://developer.apple.com/documentation/Cocoa/Reference/
ApplicationKit/Classes/NSObjectController_Class/Reference/
Reference.html>)
Thanks, was getting late in the afternoon, and I went straight to
NSController, missing NSObjectController.
I'm still curious as to whether this is the best way to do this
(creating an NSManagedObject in a view) or if there is a more subtle
way to set it up with bindings? I'm sure this must be a common thing
to do, but haven't seen it in any sample code.
Ian
_______________________________________________
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