• 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
Creating a managed object without adding it to the context?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Creating a managed object without adding it to the context?


  • Subject: Creating a managed object without adding it to the context?
  • From: Ulai Beekam <email@hidden>
  • Date: Sat, 24 Jan 2009 22:13:31 +0000
  • Importance: Normal

Hi,


How do I programmatically create a managed object (with respect to some entity in a particular context of course) but WITHOUT adding it to the context?


The reason I want this is to be able to take that new managed object and add it via an NSArrayController (one that is connected to said context of course) instead. That way I will get all the benefits of the array controller, such as the newly inserted object getting selected in a table view that is bound to the array controller.


Regards,
U

_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx_______________________________________________

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

  • Follow-Ups:
    • Re: Creating a managed object without adding it to the context?
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: Re: Switching NSDocument based application to tabbed views interface
  • Next by Date: Re: Forcing allocation of a subclass
  • Previous by thread: Re: NSRunloop performSelector needs CFRunLoopWakeUp ?
  • Next by thread: Re: Creating a managed object without adding it to the context?
  • Index(es):
    • Date
    • Thread