Re: CoreData questions (data sources and file wrappers)
Re: CoreData questions (data sources and file wrappers)
- Subject: Re: CoreData questions (data sources and file wrappers)
- From: mmalcolm crawford <email@hidden>
- Date: Sat, 22 Apr 2006 13:37:43 -0700
On Apr 22, 2006, at 1:12 PM, Keith Blount wrote:
1) Is CoreData useful for Xcode-type applications? (My
program mainly consists of an outline view and a
customised text view used for manipulating and
managing large text projects.)
It's not clear exactly what your goal is. How the data is
manipulated is largely irrelevant. Do you want to store the text
using Core Data? Do you want Core Data to store references to
external text files? Does the text have to be readable outside of
your application?
2) Does CoreData play well with data source methods -
that is, is it straightforward to use with views in
which bindings is not possible?
Why wouldn't it? (Serious question -- I really want to try to
understand what the confusion is here.)
[Note in particular: <http://developer.apple.com/documentation/Cocoa/
Conceptual/CoreData/Articles/cdBasics.html#//apple_ref/doc/uid/
TP40001650-DontLinkElementID_12>.]
3) Can I use a file wrapper as my file format when
using CoreData? I would like to save the actual
CoreData binary file inside a file wrapper along with
text files generated by and imported into my app (I do
this now by overriding NSDocument's fileWrapper
writing method).
Not with NSPersistentDocument -- <http://developer.apple.com/
documentation/Cocoa/Reference/ApplicationKit/ObjC_classic/Classes/
NSPersistentDocument_index.html>.
4) My current model has a number of utility methods to help with
D'n'D. For instance, I can ask a node whether it is a descendant of
another node. Could I move all this code over to work with a Core
Data entity class?
Again, it's not clear why you would think that you could not...
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