• 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: [Q] NSOpenPanel / NSSavePanel customization
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Q] NSOpenPanel / NSSavePanel customization


  • Subject: Re: [Q] NSOpenPanel / NSSavePanel customization
  • From: glenn andreas <email@hidden>
  • Date: Wed, 21 Jun 2006 08:45:38 -0500


On Jun 21, 2006, at 8:28 AM, JongAm Park wrote:

Hello.

After reading the Apple's document, I found out that an accessory view could be attached to NSOpenPanel/SavePanel to customize it.

So, I would like to implement NSOpenPanel like this.

1. It should have a pop-up list which contains ".txt", ".c", "cpp", "h", and so on.
- By choosing one among them, only files with the chosen extension is shown.


2. Hide other files which don't have the chosen extension.


What are you trying to accomplish that can't just be done by letting all of the possible valid extensions be selectable?

i.e., from the user point of view, if they want to open a ".c" file, they should be able to just select it without having to say "I want a .c file" in the popup - after all, your program will know what they wanted by what they've chosen. It would be extremely frustrating to them if they wanted to open a "source file" and have to switch between ".c" and ".cpp" (or ".cp", etc...).

It would make the UI cleaner and easier to use (as well as easier to implement).


Glenn Andreas email@hidden
<http://www.gandreas.com/> wicked fun!
quadrium2 | build, mutate, evolve, animate | images, textures, fractals, art



_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >[Q] NSOpenPanel / NSSavePanel customization (From: JongAm Park <email@hidden>)

  • Prev by Date: [Q] NSOpenPanel / NSSavePanel customization
  • Next by Date: Re: File system activity reporter
  • Previous by thread: [Q] NSOpenPanel / NSSavePanel customization
  • Next by thread: Re: [Q] NSOpenPanel / NSSavePanel customization
  • Index(es):
    • Date
    • Thread