title: Update NSView Background color in fullscreen
body: <p>I want to set a background color to a view and as of now I have subclassed that view in Xib and in <code>drawRect</code> method I am setting the color.</p>
  
  <pre><code>- (void)drawRect:(NSRect)dirtyRect {
      [[NSColor blackColor] setFill];
      NSRectFill(dirtyRect);
      [super drawRect:dirtyRect];
  }
  </code></pre>
  
  <p>Am using <code>[self.view enterFullScreenMode:screen withOptions:nil];</code> to show the view(which contains an image) in fullscreen. But when view is in fullscreen it shows a default gray background instead of black color. How can I set the background to black ?</p>