Re: Two questions about CoreData migration

2008-08-23 Thread Quincey Morris
On Aug 23, 2008, at 08:00, Timothy Larkin wrote: I went so far as to subclass NSDocumentController, overriding openDocumentWithContentsOfURL:absoluteURL display:error:. I tried many ideas, including closing the document and having NSRunLoop send a message to reopen the document after openDo

Re: Two questions about CoreData migration

2008-08-23 Thread Timothy Larkin
On Aug 22, 2008, at 12:14, Timothy Larkin wrote: The first question is a simple one. After migration, the old persistent store is renamed sourceURL~.xml, and the document is supposed to open with a new persistent store with the old url, sourceURL.xml,. However, the document window that appe

Re: Two questions about CoreData migration

2008-08-22 Thread Quincey Morris
On Aug 22, 2008, at 12:14, Timothy Larkin wrote: The first question is a simple one. After migration, the old persistent store is renamed sourceURL~.xml, and the document is supposed to open with a new persistent store with the old url, sourceURL.xml,. However, the document window that appe

Two questions about CoreData migration

2008-08-22 Thread Timothy Larkin
The first question is a simple one. After migration, the old persistent store is renamed sourceURL~.xml, and the document is supposed to open with a new persistent store with the old url, sourceURL.xml,. However, the document window that appears after migration has the title sourceURL~.xml,