title: Simply embedding a custom NSView in an NSScrollView kills it
body: <p>As soon as I embed my custom NSView in a scroll view, nothing is drawn in my custom view.</p>
  
  <p>To replicate the issue, I created a vanilla Cocoa app.  I subclassed NSView, and its <code>drawRect</code> handler, I do something simple like a red <code>fillRect</code>.  I verify this works as expected:</p>
  
  <pre><code>- (void)drawRect:(NSRect)dirtyRect
  {
      [super drawRect:dirtyRect];
  
      [[NSColor redColor] set];
      [NSBezierPath fillRect:dirtyRect];
      // Drawing code here.
  }
  </code></pre>
  
  <p>Back to IB, I click on my custom view, then go menu <strong>Editor > Embed In > Scroll View</strong>.</p>
  
  <p>There is no longer a red rectangle in my view.  I've verified that my <code>drawRect</code> is no longer being called.</p>
  
  <p>What gives?</p>
  
  <p>I thought I'd come across a solution <a href="https://stackoverflow.com/questions/16754875/interface-builder-nsscrollview-not-working-with-ib-defined-view">here</a>, but it was of no help.</p>
  
  <p>Seems so simple.</p>
  
  <p>Running Xcode 5.0.2 &amp; OS10.9.1.</p>