On Jan 29, 2012, at 6:27 PM, Fritz Anderson wrote:
my next experiment would be to override the <NSDraggingDestination> methods
Indeed, that way I can easily do what I need (limit image drags to files and register dropped files):
- (BOOL)performDragOperation:(id <NSDraggingInfo>)sender { BOOL accepted; if ( /*no acceptable file in drag*/ ) accepted = NO; else { accepted = [super accepted]; if ( accepted ) // register file } return accepted; } _______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com