Re: dealing with NSURLPasteboardType
Re: dealing with NSURLPasteboardType
- Subject: Re: dealing with NSURLPasteboardType
- From: Matt Neuburg <email@hidden>
- Date: Tue, 14 May 2002 08:16:08 -0700
At 8:48 PM -0700 5/13/02, thus spake Hsu:
>
http://developer.apple.com/techpubs/macosx/Cocoa/Reference/ApplicationKit/
>
ObjC_classic/Classes/NSURLAdditions.html
>
>
On Monday, May 13, 2002, at 06:49 PM, Matt Neuburg wrote:
>
>
> What do I do when I'm handed an NSURLPasteboardType? I don't see how to
>
> get
>
> the NSURL off the pasteboard. No NSPasteboard method returns an NSURL. I
>
> can get a property list by asking for an NSString, but that's not an
>
> NSURL
>
> and I don't see how to convert it to one. I can get an NSData but that's
>
> not an NSURL either and I don't see how to convert it to one. Thx - m.
Right you are - thank you. Just what I was after. (Thinks: And the Apple
folks wonder why people swear at the documentation?! I spent four hours
looking for this and never found it - and never would have, without having
it shown to me by another human being.) m.
--
matt neuburg, phd = email@hidden,
http://www.tidbits.com/matt
pantes gar anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart.
http://www.tidbits.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.