On 19 Dec 2015, at 09:51, Graham Cox <graham....@bigpond.com> wrote:
> My use case is an interface that sets up a batch of files for saving in a 
> particular folder. The user chooses the folder using a standard NSOpenPanel, 
> but I want to display the chosen location in the UI so that they don’t need 
> to remember it. I don’t think a NSPathControl is really appropriate for this.

 What gives you that impression? That seems to be exactly what it was made for.

> But I do want the string to be the most understandable for the user. I don’t 
> know really how many average users understand what ~/ means, but it’s 
> probably the best I can do.

 "~" is a nerd thing. If you're in any way in touch with whoever does your 
support, you don't want to add something this confusing to your GUI. What I did 
in UKFilePathView is just shorten the path at the start to a point of interest 
when displaying it, e.g. having the path display just start at the home folder 
and using the file icon to have the user recognize it is a user folder.

Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://stacksmith.org





_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to