Adding a Shadow to a NSImageView

Posted by Kevin Sylvestre on Stack Overflow See other posts from Stack Overflow or by Kevin Sylvestre
Published on 2011-01-16T05:46:56Z Indexed on 2011/01/16 5:54 UTC
Read the original article Hit count: 282

Filed under:
|
|

Sorry for the seemingly simple question. I have a NSImageView (added in interface builder) and want to add a shadow outline. I tried using the 'Image View Effects' section of the 'Inspector' but this required enabling a core animation layer. If I set it for the 'Content View' I have very strange appearance side effects. If I set it for the 'Image View' the shadow is cropped (sorry, can't resize the image view). Any ideas?

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about cocoa