SPXMasking is category on CALayer that allows you to specify different a corner radius for each corner of a CALayer.