• 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: Best way to get a file path for presentation to the user
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best way to get a file path for presentation to the user


  • Subject: Re: Best way to get a file path for presentation to the user
  • From: Graham Cox <email@hidden>
  • Date: Sat, 19 Dec 2015 19:57:45 +1100

> On 19 Dec 2015, at 7:51 PM, Graham Cox <email@hidden> wrote:
>
> 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.


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

Ideally I wouldn’t expose users to paths of any kind, but since the whole point of this feature is export of a series of files, they pretty much have to deal with where they end up, since once out of the app they are presumably needed in some other context.

—Graham



_______________________________________________

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


  • Follow-Ups:
    • Re: Best way to get a file path for presentation to the user
      • From: Jens Alfke <email@hidden>
References: 
 >Best way to get a file path for presentation to the user (From: Graham Cox <email@hidden>)
 >Re: Best way to get a file path for presentation to the user (From: Jens Alfke <email@hidden>)
 >Re: Best way to get a file path for presentation to the user (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Best way to get a file path for presentation to the user
  • Next by Date: Translating offset from crash dump
  • Previous by thread: Re: Best way to get a file path for presentation to the user
  • Next by thread: Re: Best way to get a file path for presentation to the user
  • Index(es):
    • Date
    • Thread