[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Need help with new app
From: |
Larry Coleman |
Subject: |
Re: Need help with new app |
Date: |
Mon, 29 Jul 2002 20:15:17 -0400 |
On Sunday 28 July 2002 23:57, Adam Fedor wrote:
> Larry Coleman wrote:
> > Hello, all.
> >
> > I'm working on an application to keep recipes. The basic functionality is
> > there, but the "Save" item on the Document menu stays disabled even when
> > I open or change a document. I copied most of the controller logic from
> > Ink.App, which seems to work fine for me. Can anyone tell me what I'm
> > doing wrong?
>
> I'm not that familier with the NSDocument classes, but it appears that
> you have to set the document as the window's delegate, perhaps in
> -makeWindowControllers:
>
> [win setDelegate: self];
>
> I'm still a little confused by the documentation, so I may be wrong
> about whether you have to do it in your custom subclass or if it should
> be done automatically in NSDocument.
That did the trick. Thanks for your help!
Larry Coleman
larry@studio1620.com