• 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: Sandboxing die.die.die
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sandboxing die.die.die


  • Subject: Re: Sandboxing die.die.die
  • From: Mike Abdullah <email@hidden>
  • Date: Sat, 25 Aug 2012 11:14:34 +0100

On 25 Aug 2012, at 09:09, Graham Cox <email@hidden> wrote:

>
> On 24/08/2012, at 10:35 PM, Mike Abdullah <email@hidden> wrote:
>
>> I’m surprised by this. The path-based APIs were seriously handling a path beginning with file:// in the way that you expect?
>
> Apparently so. This code was originally derived from Karelia's iMedia browser and I never had reason to look at it in detail until just now.

I had a funny feeling you were going to point the finger at us ;-)
Checked out the code, and I can assure you, iMedia is doing this:

NSURL* url = [NSURL URLWithString:library];
NSString* path = [url path];

Where library is a string retrieved from the prefs to note where a media library lives. I continue to be pretty sure no path-based APIs accept URL strings.
_______________________________________________

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: Sandboxing die.die.die
      • From: Graham Cox <email@hidden>
References: 
 >Sandboxing die.die.die (From: Graham Cox <email@hidden>)
 >Re: Sandboxing die.die.die (From: Jens Alfke <email@hidden>)
 >Re: Sandboxing die.die.die (From: Kyle Sluder <email@hidden>)
 >Re: Sandboxing die.die.die (From: Alex Zavatone <email@hidden>)
 >Re: Sandboxing die.die.die (From: Graham Cox <email@hidden>)
 >Re: Sandboxing die.die.die (From: Graham Cox <email@hidden>)
 >Re: Sandboxing die.die.die (From: Greg Parker <email@hidden>)
 >Re: Sandboxing die.die.die (From: Graham Cox <email@hidden>)
 >Re: Sandboxing die.die.die (From: Mike Abdullah <email@hidden>)
 >Re: Sandboxing die.die.die (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: text highlighting with CALayer and NSTextVew
  • Next by Date: Re: Finder Info
  • Previous by thread: Re: Sandboxing die.die.die
  • Next by thread: Re: Sandboxing die.die.die
  • Index(es):
    • Date
    • Thread