• 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: Temporary object created at runtime with Core Data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Temporary object created at runtime with Core Data


  • Subject: Re: Temporary object created at runtime with Core Data
  • From: Eric Morand <email@hidden>
  • Date: Tue, 25 Apr 2006 15:13:41 +0200


Eric,

On Apr 25, 2006, at 2:15 PM, Eric Morand wrote:

Why do you want them to be stored there?

Because I don't know where to store them elsewhere. Where could I insert them if not in a managed context ?

Perhaps I just fundamentally do not understand your design, but it seems to me the objects being intentionally transient, they do not need to be stored anywhere--I'd just keep a pointer to them in some ivar, or in an array kept in an ivar, or something like that and that would be all.

But I want these transient objects to be instances of a managed object Class. Do you suggest that I could initialize themm with another method than the designated init... method of NSManagedObject ? Because if I use the designated method, it insert the object in a context :


- (id)initWithEntity:(NSEntityDescription*)entity insertIntoManagedObjectContext:(NSManagedObjectContext*)context
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
References: 
 >Temporary object created at runtime with Core Data (From: Eric Morand <email@hidden>)
 >Re: Temporary object created at runtime with Core Data (From: Ondra Cada <email@hidden>)
 >Re: Temporary object created at runtime with Core Data (From: Eric Morand <email@hidden>)
 >Re: Temporary object created at runtime with Core Data (From: Ondra Cada <email@hidden>)

  • Prev by Date: NSView's -frame
  • Next by Date: Re: Temporary object created at runtime with Core Data
  • Previous by thread: Re: Temporary object created at runtime with Core Data
  • Next by thread: Re: Temporary object created at runtime with Core Data
  • Index(es):
    • Date
    • Thread