title: Drag and drop in an NSView
body: <p>I'm testing drag and drop in an NSView, but <code>draggingEntered:</code> is never called.</p>
  <p>Code:</p>
  <pre><code>#import &lt;Cocoa/Cocoa.h&gt;
  @interface testViewDrag : NSView &lt;NSDraggingDestination&gt;
  @end
  
  @implementation testViewDrag
  - (id)initWithFrame:(NSRect)frame
  {
     self = [super initWithFrame:frame];
     if (self)
  {
      [self registerForDraggedTypes:[NSImage imagePasteboardTypes]];
      NSLog(@&quot;initWithFrame&quot;);
  }
  return self;
  }
  
  -(NSDragOperation)draggingEntered:(id&lt;NSDraggingInfo&gt;)sender
  {
  NSLog(@&quot;draggingEntered&quot;);
  return NSDragOperationEvery;
  }
  
  -(NSDragOperation) draggingUpdated:(id&lt;NSDraggingInfo&gt;)sender
  {
    NSLog(@&quot;draggingUpdated&quot;);
    return NSDragOperationEvery;
  }
  @end
  </code></pre>
  <p>In interface builder I add a <code>subView</code> (class is set to <code>testViewDrag</code>) to the main window. In log I can see the <code>initWithFrame</code> log but when I drag nothing is shown in the log.</p>
  <p>What am I missing ?</p>