CocoaDev

Edit AllPages

I couldn’t find any examples of using a mask on a CALayer, so I’m posting one.
Just create a custom view and put this code in it to see how they work.

Or download the sample project I created and posted on my blog.

http://allusions.sourceforge.net/cocoamondo/?p=3

– MatthieuCormier

}