jimmieclark
Registered
I have a view that is set up for Drag and Drop, when I drop a file on the view it registers the drop and call the performDragOperation method, but I cannot set the value of the text field that is on the view. Can someone tell me what I am doing wrong?
Code:
- (BOOL)performDragOperation:(id <NSDraggingInfo>)sender
{
[pathName setStringValue:@"test"];
return YES;
}