• 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: Core Data - Initializing with standard data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data - Initializing with standard data


  • Subject: Re: Core Data - Initializing with standard data
  • From: Gian Marc Cadosch <email@hidden>
  • Date: Sat, 22 Oct 2005 19:10:13 +0200

This would be a nice solution, but it would only work with document- based applications...




http://developer.apple.com/documentation/Cocoa/Conceptual/ NSPersistentDocumentTutorial/04_Department/ chapter_5_section_2.html#//apple_ref/doc/uid/TP40001799-CH223- DontLinkElementID_25

I hope this is what you were looking for.

Il giorno 22/ott/05, alle ore 18:29, Gian Marc Cadosch ha scritto:


I've written a core data non-document-architecutre-based application. If the
data store doesn't exist at startup (first launch), some standard data should
be imported (i.e. like the categories in iPhoto).


I created the initial project with XCode 2.2 with the "Core Data Application"
setting. Now I'm asking me where to place the import call (importing is already
implemented but has to be started through the menu yet). How can I determine if
the store was just created (and so it needs to import the data) or just opened?


Marc

 _______________________________________________
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








___________________________________Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MBhttp://mail.yahoo.it
_______________________________________________
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


_______________________________________________ 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: 
 >Core Data - Initializing with standard data (From: Gian Marc Cadosch <email@hidden>)
 >Re: Core Data - Initializing with standard data (From: Dario Mèndez Musicò <email@hidden>)

  • Prev by Date: Name of current function/selector
  • Next by Date: Re: Name of current function/selector
  • Previous by thread: Re: Core Data - Initializing with standard data
  • Next by thread: Re: Core Data - Initializing with standard data
  • Index(es):
    • Date
    • Thread