On May 11, 2012, at 17:10 , Quincey Morris wrote:

> On May 11, 2012, at 16:58 , Rick Mann wrote:
> 
>>                                      NSString* path = [item stringForType: 
>> @"public.file-url"];
>>                                      NSURL* url = [NSURL fileURLWithPath: 
>> path];
> 
> You absolutely can't do this. A URL is not a path, not even when accessed as 
> a string.

Oh, of course. Thanks!

-- 
Rick


_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to