Re: Sandboxing die.die.die
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