CoreData questions (data sources and file wrappers)
CoreData questions (data sources and file wrappers)
- Subject: CoreData questions (data sources and file wrappers)
- From: Keith Blount <email@hidden>
- Date: Sat, 22 Apr 2006 13:12:03 -0700 (PDT)
Hello,
Having put it off for nearly a year, I am about to
embark on going through the CoreData documentation
with a mind to updating my (Tiger-only) app to use it.
Before I do so, I have four questions, the answers to
which will really help me decide whether Core Data is
going to be right for my app:
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.)
2) Does CoreData play well with data source methods -
that is, is it straightforward to use with views in
which bindings is not possible? (Having played with
NSTreeController extensively, I know that it is not
yet suitable for my program, so I still need to use
NSOutlineView data source methods; I also have a
custom "index cards" view that has data source methods
much like those of NSTableView.) Can I copy and move
CoreData entities within these data source methods to
support D'n'D, whilst keeping the free undo?
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).
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?
Sorry if these questions are very basic to those
familiar with CoreData; I find the documentation very
hard-going and want to be sure that CoreData is the
right way to go before committing myself to weeks of
re-learning and holding back development.
Many thanks,
Keith
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
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