The functions below respond perfectly to dragging files but they do not respond to text.
- (BOOL)performDragOperation: (id<NSDraggingInfo>)sender {
NSLog(@"1");
return YES;
}
- (NSDragOperation)draggingUpdated: (id<NSDraggingInfo>)sender {
NSLog(@"2");
return NSDragOperationCopy;
}
- (NSDragOperation)draggingEntered: (id<NSDraggingInfo>)sender {
NSLog(@"3");
return NSDragOperationEvery;
}
- (BOOL)prepareForDragOperation: (id<NSDraggingInfo>)sender {
NSLog(@"4");
return YES;
}
- (BOOL)performDragOperation: (id<NSDraggingInfo>)sender {
NSLog(@"1");
return YES;
}
- (NSDragOperation)draggingUpdated: (id<NSDraggingInfo>)sender {
NSLog(@"2");
return NSDragOperationCopy;
}
- (NSDragOperation)draggingEntered: (id<NSDraggingInfo>)sender {
NSLog(@"3");
return NSDragOperationEvery;
}
- (BOOL)prepareForDragOperation: (id<NSDraggingInfo>)sender {
NSLog(@"4");
return YES;
}