• 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: Customization of NSSavePanel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Customization of NSSavePanel


  • Subject: Re: Customization of NSSavePanel
  • From: Benjamin Dobson <email@hidden>
  • Date: Fri, 20 Mar 2009 23:05:03 +0000


On 20 Mar 2009, at 13:39:42, Sourabh Sahu wrote:

Hi Everyone,
I am trying to customize NSSavePanel using method prepareSavePanel,but I want NSSavePanel browsing feature to be disabled that is user cannot change the directory ,apart from it I also want NSSavePanel to show file of any particular type,suppose I want to show only text files.all other files should get hide.
Thanks in advance,
-Sourabh

NSSavePanel does not and should not hide files. The file system in NSSavePanel/NSOpenPanel looks the same as in the Finder – that's how it's meant to be. It also allows users to place files where they like. That's pretty much the point.


Given that you don't seem to want *any* of the features of NSSavePanel, why not just bring up a dialog box with a text field for the filename and a "Save" and "Cancel" button? That's all you seem to want of the built-in functions, so just do that._______________________________________________

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


References: 
 >Customization of NSSavePanel (From: Sourabh Sahu <email@hidden>)

  • Prev by Date: Re: NSData confusion
  • Next by Date: Re: NSDate isEqual to...
  • Previous by thread: Customization of NSSavePanel
  • Next by thread: Is there an iPhone mailing list?
  • Index(es):
    • Date
    • Thread