Re: Proper UTI for accepting files dropped on my table view?
Re: Proper UTI for accepting files dropped on my table view?
- Subject: Re: Proper UTI for accepting files dropped on my table view?
- From: Rick Mann <email@hidden>
- Date: Mon, 9 Aug 2010 23:42:19 -0700
On Aug 7, 2010, at 11:21:22, Joar Wingfors wrote:
>
> On 7 aug 2010, at 02.34, Rick Mann wrote:
>
>> I think you misunderstand (or I do). I don't want to specify a file of a particular type(s). I want to specify that a *file* is what I accept (as opposed to the contents of that file).
>
>
> Sounds like you're looking for NSFilenamesPboardType or NSURLPboardType. Or if you want to use UTIs, perhaps kUTTypeFileURL is what you're after. Not absolutely sure.
>
> <http://developer.apple.com/iphone/library/documentation/Miscellaneous/Reference/UTIRef/Articles/System-DeclaredUniformTypeIdentifiers.html>
Well, that seemed to do the trick. In the validate drop method, the pasteboard claims to have that type. But when I call propertyListForType: with that type, I get back null.
This is lame.
--
Rick
_______________________________________________
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