Re: [Q] NSOpenPanel / NSSavePanel customization
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