I forgot to set the delegate. Now it is working well.
Thanks a lot.
Mahaboob.
On 12/23/08 12:29 PM, "Mahaboob" wrote:
>
> Thanks for the help,
> Now it is working well with the menu item's action. I also need to perform
> the same thing when I'm clicking the close button of the window. I gone
Thanks for the help,
Now it is working well with the menu item's action. I also need to perform
the same thing when I'm clicking the close button of the window. I gone
through the NSWindow documentation but, I'm unable to figure it out to
perform close event of the window. How can I fire close eve
Either NSWindow or NSWindowController have a -setDocumentEdited:
method that will do what you want.
On 22 Dec 2008, at 11:39, Mahaboob wrote:
In my app I used NSTextView as editor and saves my project along
with the
contents of editor by using archiving and also I can open the saved
projec