objective-ccocoadrag-and-dropikimagebrowserview

draggingEntered: called but performDragOperation: not on IKImageBrowserView


I'am using the IKImageBrowserView with setting a drop deleagte

[self.imageBrowserView setDraggingDestinationDelegate:self];

No matter what i return in draggingEntered: the performDragOperation: gets never called

- (NSDragOperation)draggingEntered:(id <NSDraggingInfo>)sender {
    // GETS CALLED 
    return NSDragOperationEvery;
}

- (BOOL)prepareForDragOperation:(id <NSDraggingInfo>)sender {
    // NOT CALLED
    return YES;
}

- (BOOL)performDragOperation:(id <NSDraggingInfo>)sender {
    // NOT CALLED
    return YES;
}

Solution

  • Apparently draggingUpdated: must be implemented.