trouble closing windows
trouble closing windows
- Subject: trouble closing windows
- From: Development <email@hidden>
- Date: Sat, 23 Feb 2008 18:45:59 -0700
This is probably a noob question but I cannot seem to find the answer.
I have an application which works with projects similar to golive or
xcode or what have you. When documents are edited a flag is set. When
the window is closed or the application is about to quit I get e
generic you have unsaved changes message, but that is not what I want.
At the time the application quits or the window closes I want to run a
method that lists the edited items in a window and lists them for the
user very much like xcode does. I have tried trapping with the
windowWillClose notification but that does not work. The unsaved
chages dialog comes up first, then it runs the notification. Can some
one point me the right way to trap this so it only runs my method?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden