Re: Hooking NSDocument close
Re: Hooking NSDocument close
- Subject: Re: Hooking NSDocument close
- From: Donald Brown <email@hidden>
- Date: Sat, 15 Jun 2002 19:45:25 -0500
It works if the document is dirty. But if the document isn't dirty, I
wasn't having it called. My solution was to get the
NSApplicationWillTerminate notification.
Donald
on 6/15/02 7:38 PM, Matt Neuburg at email@hidden wrote:
>
On Fri, 14 Jun 2002 13:57:54 -0500, Donald Brown <email@hidden> said:
>
>
> on 6/14/02 1:39 PM, Matt Neuburg at email@hidden wrote:
>
>> Have you considered the windowWillClose: notification?
>
>
> WindowWillClose doesn't work if the app is just quitting
>
>
Interesting - it works for me, which is why I mentioned it. I don't have
>
enough experience to be able to guess why we're getting different results
>
here. Sorry - m.
>
--
Donald Brown
email@hidden
http://www.eamontales.com
We have met the enemy and he is us - Pogo
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.