CALayer:
*
Shadows
*
Rounded corners
layer.masksToBounds = true;
layer.cornerRadius = 8;