• 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 temporary NSManagedObjects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating temporary NSManagedObjects


  • Subject: Re: Creating temporary NSManagedObjects
  • From: Joanna Carter <email@hidden>
  • Date: Mon, 26 Apr 2010 20:17:45 +0100

Hi Quincey

> Yes, I remember the discussion about this scenario: when the managed object represents a *future* permanent resident of the Core Data object graph. Outside of a discussion of that scenario, I wouldn't necessarily call this a "temporary" object.
>
> In the OP's scenario, there is no suggestion he was trying to keep his temporary object out of the user interface. (In fact, his later clarification suggests the opposite.) That's why I was asking if the simple create it/delete it pattern wouldn't work.

I would agree, in that case, it could be equally valid. The only other benefit I have found in using a dictionary, with the category, is the simplicity of copying the state to and from the original object.

But, I wouldn't make a doctrine out of it :-)

Joanna

--
Joanna Carter
Carter Consulting

_______________________________________________

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

References: 
 >Creating temporary NSManagedObjects (From: vincent habchi <email@hidden>)
 >Re: Creating temporary NSManagedObjects (From: Quincey Morris <email@hidden>)
 >Re: Creating temporary NSManagedObjects (From: Joanna Carter <email@hidden>)
 >Re: Creating temporary NSManagedObjects (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: Capturing frames in 64-bits arch
  • Next by Date: Re: [iPhone] File coping application
  • Previous by thread: Re: Creating temporary NSManagedObjects
  • Next by thread: Re: Creating temporary NSManagedObjects
  • Index(es):
    • Date
    • Thread