I have some generic code for when data is dragged into my application. I wanted to do something like this
id data = [[sender draggingPasteboard] propertyListForType:type]; if ( [NSArray isSubclassOfClass:[data class]] or [NSDictionary isSubclassOfClass:[data class]]) { //do a list thing } else { //do a single thing } What I'm finding is that when the data type is NSCFArray it is not being identified by [NSArray isSubclassOfClass:. Why is that? Is there something I can do it identify what the Data type is? thanks for the help -dave _______________________________________________ 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