Re: Core Data : where are the docs ?
Re: Core Data : where are the docs ?
- Subject: Re: Core Data : where are the docs ?
- From: Eric Morand <email@hidden>
- Date: Sun, 4 Sep 2005 02:02:19 +0200
I've take a look at the Stickies example and I still don't get when
the .xcdatamodel file is loaded !
And it is not a document based app...though that is exactly the kind
of app I woulf have fit into this category.
More and more confused about what a document is. If stickies are not
documents, what is a document ?
Eric.
Le 4 sept. 05 à 01:13, Andre a écrit :
Have you read the document tutorial on how to create a
NSManagedDocument based app?
There are a lot of coredata info and tutorials on the web
not just from apple... try google.
Here is a good place to start
http://cocoadevcentral.com/articles/000085.php
Have you also read the bindings documentation?
If you don't get bindings, then coredata is not very useful for a
GUI app.
I'm pretty sure I've missed a critical documentation that explains
what to do with this file, how to associate it with a
NSManagedObjectModel instance of my app.
Have you looked at the example software in your XCode install?
Take a look at the coredata stickies example.
Good luck
On 平成 17/09/03, at 15:02, Eric Morand wrote:
Hi to all !
With a lot of late, I'm beginning to explore the fantastic world
of Core Data. And, to say the least, I'm totaly lost !
The docs look very weak to me : I've read entirely the Core Data
programming guide (very clear) and the Data Modeling Guide but
still I can't find how to make evrything work.
I have created a Managed Object Model, using Xcode. I have a
nice .xcdatamodel file, populated with me entities, relationships,
and so on...and I don't know what to do with it !
I'm pretty sure I've missed a critical documentation that explains
what to do with this file, how to associate it with a
NSManagedObjectModel instance of my app.
Worse, I don't know how to fetch from the NSManagedObjectContext
since it is only accessible from my app delegate and not from my
other window controllers (I have a lot of them) ! Should I add a
reference to it on every controller I had to my app ? I sure hope
no...
Well, as you see, I'm missing one or two critical informations to
fully understand Core Data...and I don't know where to find them.
If someone could link me to the docs I've missed and that explain
all of this, that would be great !
Ih, and last question (once more, I've not found anything about it
in the docs I've read) : what are the differences between the
persistent storage types (SQL, XML...) and which one should I use
in which case ?
Thanks by advance,
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
_______________________________________________
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