Re: Override runModalSavePanelForSaveOperation

2013-01-16 Thread Eric Gorr
Sent from my iPhone On Jan 16, 2013, at 5:05 PM, Quincey Morris wrote: > On Jan 16, 2013, at 13:36 , Eric Gorr wrote: > >> I need to override runModalSavePanelForSaveOperation in NSDocument to >> provide some custom behavior. > > I'd suggest you keep trying

Re: Override runModalSavePanelForSaveOperation

2013-01-16 Thread Quincey Morris
On Jan 16, 2013, at 14:05 , Quincey Morris wrote: > On Jan 16, 2013, at 13:36 , Eric Gorr wrote: > >> (I am also wondering how to properly handle the process to "make sure that >> any editor registered using the Cocoa Bindings NSEditorRegistration informal >> protocol has committed its chang

Re: Override runModalSavePanelForSaveOperation

2013-01-16 Thread Quincey Morris
On Jan 16, 2013, at 13:36 , Eric Gorr wrote: > I need to override runModalSavePanelForSaveOperation in NSDocument to provide > some custom behavior. I'd suggest you keep trying to find a way to avoid doing this. Even inconveniences like having to work through an extra dialog befo

Override runModalSavePanelForSaveOperation

2013-01-16 Thread Eric Gorr
I need to override runModalSavePanelForSaveOperation in NSDocument to provide some custom behavior. According to the description in the documentation, one needs to call saveToURL:ofType:forSaveOperation:delegate:didSaveSelector:contextInfo: which I am doing. However, my