How to have users select a directory
How to have users select a directory
- Subject: How to have users select a directory
- From: Gabriel Zachmann via Cocoa-dev <email@hidden>
- Date: Wed, 25 Sep 2019 17:49:59 +0200
I am looking for a nice, intuitive way to let users select a directory.
Right now, I have a simple TextField in my GUI that shows the current path,
and a simple Button next to it that says "Change".
When users click on it, it opens an NSOpenPanel that is runModal.
This works fine, but I am wondering if there are more elegant methods.
For instance, whether it might be possible to dispense with the button,
make it obvious that users can click on the text field, and then open the
NSOpenPanel.
Or are there any other neat ideas?
(I was stumbling across NSPathControl, but it is not clear to me whether that
would be a good alternative,
and how difficult it might be.)
Thanks a lot in advance for all kinds of insights and hints.
Best regards, Gabriel
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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