• 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: Handling of paths through sandbox
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Handling of paths through sandbox


  • Subject: Re: Handling of paths through sandbox
  • From: Jens Alfke via Cocoa-dev <email@hidden>
  • Date: Wed, 12 Feb 2020 09:56:01 -0800


> On Feb 12, 2020, at 8:56 AM, Gabriel Zachmann via Cocoa-dev
> <email@hidden> wrote:
>
> The problem is that the path names can get very long.
> And I am going to show them to the user.

There is support in AppKit for displaying file paths to the user. Unfortunately
it's been long enough since I used it that I can't remember what it's called
:-p Hopefully someone else remembers?

> So rather than having the last part being chopped off (which is the important
> part),
> I would like to remove the beginning of the path, since that is unimportant.


Generally you'd truncate the middle of the path, since the beginning of the
path can be very important.

—Jens
_______________________________________________

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: Handling of paths through sandbox
      • From: Gabriel Zachmann via Cocoa-dev <email@hidden>
References: 
 >Handling of paths through sandbox (From: Gabriel Zachmann via Cocoa-dev <email@hidden>)
 >Re: Handling of paths through sandbox (From: Quincey Morris via Cocoa-dev <email@hidden>)
 >Re: Handling of paths through sandbox (From: Gabriel Zachmann via Cocoa-dev <email@hidden>)

  • Prev by Date: Re: Handling of paths through sandbox
  • Next by Date: Re: Handling of paths through sandbox
  • Previous by thread: Re: Handling of paths through sandbox
  • Next by thread: Re: Handling of paths through sandbox
  • Index(es):
    • Date
    • Thread