• 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
Re: prepareSavePanel woes...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: prepareSavePanel woes...


  • Subject: Re: prepareSavePanel woes...
  • From: Wolfgang Ante <email@hidden>
  • Date: Wed, 14 May 2003 01:14:34 +0200

- (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.

At least for the first one, have you tried this:

[savePanel setCanSelectHiddenExtension:YES];

Just an idea...

Bye, Wolfgang :-)
_______________________________________________
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.

References: 
 >prepareSavePanel woes... (From: Oliver Cameron <email@hidden>)

  • Prev by Date: Re: A nice Cocoa success story..
  • Next by Date: Re: Subviews in IB
  • Previous by thread: prepareSavePanel woes...
  • Next by thread: NSTextStorage: efficient way to find a specific attribute?
  • Index(es):
    • Date
    • Thread