saveDocument newbie question
saveDocument newbie question
- Subject: saveDocument newbie question
- From: Neto <email@hidden>
- Date: Sun, 18 Jun 2006 18:29:06 -0300
Hi all,
Sorry for the newbie question.
I'm trying to implement saveDocument when the user closes the active
window.
So I'm using:
- (BOOL)windowShouldClose:(id)sender
{
[self saveDocument:self];
return YES ;
}
It works fine with an already saved file, but it doesn't work with a
never saved file, because the window close before the user imput.
Any tips on what I'm doing wrong?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden