FROM : Hamish Allan
DATE : Sun Jun 15 21:42:37 2008
On Sun, Jun 15, 2008 at 11:42 AM, Steven Hamilton <<email_removed>> 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
DATE : Sun Jun 15 21:42:37 2008
On Sun, Jun 15, 2008 at 11:42 AM, Steven Hamilton <<email_removed>> 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
| Related mails | Author | Date |
|---|---|---|
| Steven Hamilton | Jun 15, 12:42 | |
| Hamish Allan | Jun 15, 21:42 | |
| Steven Hamilton | Jun 19, 11:38 | |
| mmalc Crawford | Jun 19, 11:45 | |
| Steven Hamilton | Jun 19, 11:54 |






Cocoa mail archive

