prepareSavePanel woes...
prepareSavePanel woes...
- Subject: prepareSavePanel woes...
- From: Oliver Cameron <email@hidden>
- Date: Sun, 11 May 2003 21:03:45 +0100
Hey guys,
I have this code to customize my NSSavePanel:
- (BOOL)prepareSavePanel:(NSSavePanel*)savePanel
{
[savePanel setExtensionHidden:NO];
[savePanel setDirectory: [@"~/Sites" stringByExpandingTildeInPath]];
[savePanel isExpanded:YES];
return YES;
}
Now, setDirectory works, but it seems NSSavePanel does not respond to
setExtensionHidden and isExpanded. Those are the instance methods in
the docs and I just can't figure it out.
Any help?
Thanks!
Oliver
_______________________________________________
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.