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 (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

Reply via email to