On Thu, Mar 26, 2009 at 2:35 PM, JongAm Park <joshua_park2006-applel...@yahoo.com> wrote: > Oh.. Thank you for pointing that out.. > > By the way, it is not clear what path means in Apple's document. For some > part of the document they use the term "path" for URL string or vice versa. > But anyway, thank you again.
Example? A URL is not a path, and I can't think of any place where the docs refer to one as such. What's more, virtually everywhere a Cocoa API expects a URL, it is clearly indicated by having that parameter be of type NSURL *. A parameter which is of type NSString * is a file path. The only exception to this that I can think of is in NSURL itself, which of course needs to be able to translate back and forth, but it doesn't call them paths except when they really are filesystem paths. Other than that, if the API wants an NSString * path, then it means a *path*, not a URL. Mike _______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com