Re: NSDocument without Save

2011-02-08 Thread Jerry Krinock
On Tue, Feb 8, 2011 at 9:29 PM, Graham Cox wrote: > What's the proper way to do this? I searched the archives but surprisingly I > couldn't find any previous discussion of this, even though I would have > thought it's quite a common thing. Probably it's more common to present a sheet saying "

Re: NSDocument without Save

2011-02-08 Thread Marc Respass
> I'm trying to prevent NSDocument from doing any saving at all, for a demo > version of my app. I need to suppress the menu commands (done) and all the > automated UI such as the 'save changes' dialog and 'Save As' dialog even > though the doc is marked dirty. I've also removed the actual save

Re: NSDocument without Save

2011-02-08 Thread Graham Cox
On 09/02/2011, at 1:46 PM, Sherm Pendley wrote: > On Tue, Feb 8, 2011 at 9:29 PM, Graham Cox wrote: >> I'm trying to prevent NSDocument from doing any saving at all, for a demo >> version of my app. I need to suppress the menu commands (done) and all the >> automated UI such as the 'save chang

Re: NSDocument without Save

2011-02-08 Thread Sherm Pendley
On Tue, Feb 8, 2011 at 9:29 PM, Graham Cox wrote: > I'm trying to prevent NSDocument from doing any saving at all, for a demo > version of my app. I need to suppress the menu commands (done) and all the > automated UI such as the 'save changes' dialog and 'Save As' dialog even > though the doc

NSDocument without Save

2011-02-08 Thread Graham Cox
I'm trying to prevent NSDocument from doing any saving at all, for a demo version of my app. I need to suppress the menu commands (done) and all the automated UI such as the 'save changes' dialog and 'Save As' dialog even though the doc is marked dirty. I've also removed the actual save code. A