NSView's shadow


Hello Everybody,

How to draw shadow outside of documnetView in NSScrollView?
the effect look likes following:

Subclass contentView or documentView in NSScrollView?
Subclass a NSView and then enable Layer?

Thanks for help.


You want to have a look at NSShadow (yes, yes, there is a such a class).

For a more detailed post on the subject: kickingbear.com/blog/archives/248