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 01:34:24 +0200
Have you read the document tutorial on how to create a
NSManagedDocument based app?
My app is not a document based app. Or is it ?
I don't know really : last time I've created a document based app in
Xcode, it automatically created a class named MyDocument that made me
think that this kind of project was useful only to design apps which
deal with...a document (like MSWord or Photoshop).
But my app doesn't deal with a document : it is an accounting app, it
deals with a lot of datas (accounts, payees, banks...) but it is not
what I call a document. Or maybe I am wrong and I misinterpret the
term "document". What a document is is not clear to me and what I
have to do with this MyDocument class is even more unclear if possible.
So, to make it clear : can someone explain what a NOT document based
app is ?
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 using bindings a lot in my apps, and I understand how Core Data
and bindings work together. Very powerful ! :o)
Have you looked at the example software in your XCode install?
Take a look at the coredata stickies example.
Thanks, I forgot to check the examples.
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