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

Temporary object created at runtime with Core Data


  • Subject: Temporary object created at runtime with Core Data
  • From: Eric Morand <email@hidden>
  • Date: Tue, 25 Apr 2006 00:59:27 +0200

Hi guys !


I'm developping an application that uses a sidebar which will contains some smart groups (an entity named "SmartGroup"). I'd like some of theses smart groups to be fixed, just like the first iTunes sources (Podcasts, Party Shuffle...) : they can't be deleted, modified or moved by the user.
I believe there is no need to save them in the database. I'd rather create them at run-time.


Since I don't want them to be stored in my SQLite database, I have a problem : how can I insert temporary objects in my managed context ?

I'm nearly certain I need to use a memory store for that kind a thing, but I can't put my finger on the best way to implement it. Is this possible to have some objects inserted in an in memory store and some others in the SQLite database - while using the same context ?



Eric.
_______________________________________________
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


  • Follow-Ups:
    • Re: Temporary object created at runtime with Core Data
      • From: Greg Herlihy <email@hidden>
    • Re: Temporary object created at runtime with Core Data
      • From: Ondra Cada <email@hidden>
  • Prev by Date: Re: can't archive NSValue
  • Next by Date: Re: Temporary object created at runtime with Core Data
  • Previous by thread: NSComboBox in a draggable view
  • Next by thread: Re: Temporary object created at runtime with Core Data
  • Index(es):
    • Date
    • Thread