• 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: Graham Cox <email@hidden>
  • Date: Fri, 24 Aug 2012 10:52:03 +1000

On 24/08/2012, at 10:47 AM, Kyle Sluder <email@hidden> wrote:

> You're using it correctly, but I'm suggesting that the better approach would not use it at all. Rather than constructing a URL string and creating an NSURL out of it, it's better to create a file path and create an NSURL with +fileURLWithPath::. It seems to be causing you issues, but it is the more correct approach.


OK, gotcha.

Well, I don't have a lot of choice, that's how the URL is stored in the iApps preferences by iPhoto. Since there's no media access APIs, we are at the mercy of these implementation details that Apple have used.

I expect that once Apple sandbox these apps (assuming they ever do) our code will break again and have to be revved.

--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

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: Kyle Sluder <email@hidden>)
 >Re: Sandboxing die.die.die (From: Graham Cox <email@hidden>)
 >Re: Sandboxing die.die.die (From: Kyle Sluder <email@hidden>)

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