I found out that there were two things needed to skip past NSTextView
's interception of the drag and drop event.
In the NSViewController
containing your NSTextView
:
- (void)awakeFromNib
{
[self noDragInView:self.view];
}
- (void)noDragInView:(NSView *)view
{
for (NSView *subview in view.subviews)
{
[subview unregisterDraggedTypes];
if (subview.subviews.count) [self noDragInView:subview];
}
}
Now subclass your NSTextView
and add this method:
- (NSArray *)acceptableDragTypes
{
return nil;
}
The NSTextView
should now properly ignore the drag and drop event and leave it to be handled by the NSWindow.