Re: Two Core Data Questions
Re: Two Core Data Questions
- Subject: Re: Two Core Data Questions
- From: mmalcolm crawford <email@hidden>
- Date: Sat, 18 Jun 2005 16:50:08 -0700
On Jun 18, 2005, at 10:35 AM, Herbert wrote:
[1] I know you can pick between XML, SQLite, and in memory store.
But how do you do that? I can't find a setting anywhere.
For a document-based application:
<http://developer.apple.com/documentation/Cocoa/Conceptual/
NSPersistentDocumentTutorial/02_CreatingProj/chapter_3_section_5.html>
For a non-document application, you set the store type using
NSPersistentStoreCoordinator's addPersistentStoreWithType:
configuration: URL: options: error: -- see, for example, <http://
developer.apple.com/documentation/Cocoa/Conceptual/
CoreDataUtilityTutorial/05_CreateStack/chapter_6_section_2.html#//
apple_ref/doc/uid/TP40001800-CH237-DontLinkElementID_18> or the
template for a non-document based application.
[2] When I option-drag an Entity into a window in IB, and select
"create interface for one object", and then build and run, I can't
enter anything in it. Everything says "no selection".
Have you created and/or fetched the object the object controller
represents? See <http://developer.apple.com/documentation/Cocoa/
Conceptual/NSPersistentDocumentTutorial/04_Department/
chapter_5_section_1.html#//apple_ref/doc/uid/TP40001799-CH223>
mmalc
_______________________________________________
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