Re: Core Data - Initializing with standard data
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