Re: Converting to NSPersistentDocument
Re: Converting to NSPersistentDocument
- Subject: Re: Converting to NSPersistentDocument
- From: "Hamish Allan" <email@hidden>
- Date: Sun, 15 Jun 2008 20:42:37 +0100
On Sun, Jun 15, 2008 at 11:42 AM, Steven Hamilton <email@hidden> wrote:
> I've been a busy bee learning Cocoa and core data (as my frequent postings
> may reveal) and now I wish to add NSPersistentDocument functionality. I
> started my project using the normal Core Data template so how do I change my
> program to use the NSPersistentDocument model instead of the standard bare
> Core Data template?
That would depend on what you mean by "add NSPersistentDocument
functionality". Usually, the VC of the MVC will be different enough in
a document-based app as opposed to a non document-based app that it
will be easier and cleaner to just create a new document-based project
and copy the files for those parts of the model (and maybe controller)
you wish to remain the same.
Hamish
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden