Re: Versions, -windowWillClose:

2012-01-22 Thread Martin Hewitson
On 22, Jan, 2012, at 04:56 PM, Dave Fernandes wrote: > You can set a breakpoint in the normal document opening methods such as > -[NSDocument initWithContentsOfURL:ofType:error:] to see what URL the > versioned documents are being loaded from. Somebody else told me the documents are stored in

Re: Versions, -windowWillClose:

2012-01-22 Thread Dave Fernandes
You can set a breakpoint in the normal document opening methods such as -[NSDocument initWithContentsOfURL:ofType:error:] to see what URL the versioned documents are being loaded from. On 2012-01-22, at 10:06 AM, Martin Hewitson wrote: > > On 21, Jan, 2012, at 07:31 PM, Mike Abdullah wrote: >

Re: Versions, -windowWillClose:

2012-01-22 Thread Martin Hewitson
On 21, Jan, 2012, at 07:31 PM, Mike Abdullah wrote: > > On 3 Jan 2012, at 15:25, Martin Hewitson wrote: > >> Dear list, >> >> I'm investigating getting the new 10.7 Versions stuff working on my >> NSPersistentDocument app. In doing that, I've seen a couple of strange >> things which I wanted

Re: Versions, -windowWillClose:

2012-01-21 Thread Mike Abdullah
On 3 Jan 2012, at 15:25, Martin Hewitson wrote: > Dear list, > > I'm investigating getting the new 10.7 Versions stuff working on my > NSPersistentDocument app. In doing that, I've seen a couple of strange things > which I wanted to check on. > > Firstly, all I've done to make it work is to

Versions, -windowWillClose:

2012-01-03 Thread Martin Hewitson
Dear list, I'm investigating getting the new 10.7 Versions stuff working on my NSPersistentDocument app. In doing that, I've seen a couple of strange things which I wanted to check on. Firstly, all I've done to make it work is to return YES from +autosavesInPlace. Now, what I notice is the fo