Re: FSCatalogInfo randomness
Re: FSCatalogInfo randomness
- Subject: Re: FSCatalogInfo randomness
- From: email@hidden
- Date: Tue, 30 Oct 2007 19:04:39 +0100
On 30 Oct 2007, at 18:31, email@hidden wrote:
I replaced URLWithString with CFURLCreateWithFileSystemPath, which
eliminated the paramErr. But I don't see why URLWithString would
fail? The
strings are not malformed.
Yes they are:
/Users/You/Somefile is not a valid file URL,
file:///Users/You/Somefile is.
See
http://developer.apple.com/documentation/Cocoa/Reference/Foundation/
Classes/NSURL_Class/Reference/Reference.html#//apple_ref/occ/clm/
NSURL/URLWithString:
Matt
_______________________________________________
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