Subject: Re: [Q] Strange Drag & Drop from my app to FCP
project window



On Thu, Mar 26, 2009 at 2:35 PM, JongAm Park
<joshua_park2006-applelist@xxxxxxxxx> 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@xxxxxxxxxxxxxxx)

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/maillists%40codeha.us

This email sent to maillists@xxxxxxxxx

...



Privacy