• 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
NSDocument/PBuilder default behavior
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSDocument/PBuilder default behavior


  • Subject: NSDocument/PBuilder default behavior
  • From: "Brian Helinski" <email@hidden>
  • Date: Thu, 14 Feb 2002 14:40:03 -0500

Hello:

I would like to be able to have my NSDocument based application NOT hide
extensions by default via NSSavePanel. I have noticed that ProjectBuilder
seems to have the ability to do this, however, my attempts at creating a new
Cocoa Document-based Application and overriding the
documented -(BOOL)prepareSavePanel:(NSSavePanel*)savePanel with the
following have not meet with the expected success, as the value of the
extension hiding checkbox remains checked regardless:

- (BOOL)prepareSavePanel:(NSSavePanel*)savePanel
{
[savePanel setExtensionHidden:NO];
return YES;
}

Anyone have any suggestions?

TIA,
Brian Helinski
_______________________________________________
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:
    • Documents and "Created with:"
      • From: Darrin Filer <email@hidden>
References: 
 >Sockets documentation? (From: Daniel Byer <email@hidden>)
 >prepareSavePanel and Hide extension (From: "Brian Helinski" <email@hidden>)

  • Prev by Date: NSOutlineView Help
  • Next by Date: Re: Contact Server? [long]
  • Previous by thread: prepareSavePanel and Hide extension
  • Next by thread: Documents and "Created with:"
  • Index(es):
    • Date
    • Thread