2016-05-19 9 views
1

Ich bin die IKImageBrowserView mit der Einstellung eines Tropfens deleagtedraggingEntered: genannt, aber performDragOperation: nicht auf IKImageBrowserView

[self.imageBrowserView setDraggingDestinationDelegate:self]; 

Egal mit was ich in draggingEntered zurück: die performDragOperation: wird nie

- (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; 
} 

Antwort

1
genannt

Offenbar muss draggingUpdated: implementiert werden.

Verwandte Themen