• 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: CD: Creating a managed object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: CD: Creating a managed object
      • From: mmalc Crawford <email@hidden>
References: 
 >CD: Creating a managed object (From: Ian Joyner <email@hidden>)
 >Re: CD: Creating a managed object (From: mmalc Crawford <email@hidden>)

  • Prev by Date: Re: Question about the info.plist
  • Next by Date: How can I delete class at Classes pane?
  • Previous by thread: Re: CD: Creating a managed object
  • Next by thread: Re: CD: Creating a managed object
  • Index(es):
    • Date
    • Thread