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

RE: Creating a managed object without adding it to the context?


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

> You indicated in your first sentence that you know which managed
> object context the new object is destined for.  I don't see the
> problem.  Just insert it when you create it.

My problem is that when I add directly to the managed object context, the item is not getting selected automatically in the array controller (by the way, I see the selection visually by means of the table view bound to the array controller) even if I have checked the "select on insert" checkbox on the array controller in Interface Builder.
That's why I asked about this. But yes, when I come to think about it now as you say it, it kind of makes little sense to be creating a managed object that is not in the context.
_________________________________________________________________
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: Andreas Mayer <email@hidden>
    • Re: Creating a managed object without adding it to the context?
      • From: Jerry Krinock <email@hidden>
References: 
 >Creating a managed object without adding it to the context? (From: Ulai Beekam <email@hidden>)
 >Re: Creating a managed object without adding it to the context? (From: Jerry Krinock <email@hidden>)

  • Prev by Date: iPhone Vibrate
  • Next by Date: Re: iPhone Vibrate
  • Previous by thread: Re: Creating a managed object without adding it to the context?
  • Next by thread: Re: Creating a managed object without adding it to the context?
  • Index(es):
    • Date
    • Thread