Re: Converting to NSPersistentDocument

2008-06-19 Thread Steven Hamilton
You do rock sir! Thanks a lot. On 19/06/2008, at 7:45 PM, mmalc Crawford wrote: On Jun 19, 2008, at 2:38 AM, Steven Hamilton wrote: What I don't understand is how to bind to the managedObjectContext. As far as I can tell in each windows .nib file I set File's Owner to be my subclassed W

Re: Converting to NSPersistentDocument

2008-06-19 Thread mmalc Crawford
On Jun 19, 2008, at 2:38 AM, Steven Hamilton wrote: What I don't understand is how to bind to the managedObjectContext. As far as I can tell in each windows .nib file I set File's Owner to be my subclassed WindowController. This doesn't contain the MOC so therefore I can't bind to it. NSDo

Re: Converting to NSPersistentDocument

2008-06-19 Thread Steven Hamilton
On 16/06/2008, at 5:42 AM, Hamish Allan wrote: On Sun, Jun 15, 2008 at 11:42 AM, Steven Hamilton <[EMAIL PROTECTED]> 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 projec

Re: Converting to NSPersistentDocument

2008-06-15 Thread Hamish Allan
On Sun, Jun 15, 2008 at 11:42 AM, Steven Hamilton <[EMAIL PROTECTED]> 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 c

Converting to NSPersistentDocument

2008-06-15 Thread Steven Hamilton
G'day!, 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