• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
prepareSavePanel woes...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: prepareSavePanel woes...
      • From: Wolfgang Ante <email@hidden>
  • Prev by Date: Re: Syntax Highlighting Prob - Adding Other Colors.
  • Next by Date: NSTextStorage: efficient way to find a specific attribute?
  • Previous by thread: Printing windows
  • Next by thread: Re: prepareSavePanel woes...
  • Index(es):
    • Date
    • Thread