title: Adding a Shadow to a NSImageView
body: <p>I have a <code>NSImageView</code> and want to add a shadow. I've tried doing it programmatically with:</p>
  
  <pre><code>NSShadow *shadow = [[[NSShadow alloc] init] autorelease];
  [shadow setShadowBlurRadius:4.0f];
  [shadow setShadowOffset:CGSizeMake(4.0f, 4.0f)];
  [shadow setShadowColor:[NSColor blackColor]];
  
  [view setShadow:shadow];
  </code></pre>
  
  <p>But it won't appear. Any ideas? Thanks.</p>