Re: [Q] Strange Drag & Drop from my app to FCP project window
Re: [Q] Strange Drag & Drop from my app to FCP project window
- Subject: Re: [Q] Strange Drag & Drop from my app to FCP project window
- From: Michael Ash <email@hidden>
- Date: Thu, 26 Mar 2009 18:48:13 -0400
On Thu, Mar 26, 2009 at 2:35 PM, JongAm Park
<email@hidden> 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 (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