> On Dec 19, 2015, at 12:57 AM, Graham Cox <[email protected]> wrote:
> 
> Actually - heh, -displayNameAtPath: really strips it back to just the folder 
> name, with no path at all. That doesn’t tell the user *where* the folder is. 
> Unless they’re already familiar with the location it’s likely less helpful 
> than ~/path/to/folder

Use -componentsToDisplayForPath: instead, then join the strings with a 
separator like “ ‣ ”. Apple does this in a few places, i.e. in the El Capitan 
Spotlights result window when you hold down the Cmd key to see the path to the 
selected hit.

—Jens
_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to