Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

zmagi

macrumors newbie
Original poster
Nov 29, 2018
9
0
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;

}
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.