Re: NSSavePanel's required/allowed types
Re: NSSavePanel's required/allowed types
- Subject: Re: NSSavePanel's required/allowed types
- From: "Jonas S" <email@hidden>
- Date: Thu, 4 Oct 2007 09:54:05 +0300
On 10/4/07, Apparao <email@hidden> wrote:
>
> How about - (BOOL)panel:(id)sender isValidFilename:(NSString *)filename
> Panel delegate method?
>
> - Apparao.
>
Nope. This is called after "- (NSString *)panel:(id)sender
userEnteredFilename:(NSString *)filename confirmed:(BOOL)okFlag". And, of
course, only when user clicks on Save. It is to late to change something,
because I want, that user would not able to see "MyImage.jpg.jpg" after type
popup change.
Jonas S.
_______________________________________________
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