I'd like to get rid of this code:
self.layer.cornerRadius = cornerRadius;
As it won't work for different corner sizes (see #2 )
Therefore, the view should be filled using the drawn path, thus removing the need for setting this property.
I'd like to get rid of this code:
As it won't work for different corner sizes (see #2 )
Therefore, the view should be filled using the drawn path, thus removing the need for setting this property.