On 25 Aug 2012, at 09:09, Graham Cox <graham....@bigpond.com> wrote:

> 
> On 24/08/2012, at 10:35 PM, Mike Abdullah <cocoa...@mikeabdullah.net> 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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to