GitHub - MingXuanHe/UIView-RoundedCorners: Rounded corners for UIView done right. · GitHub
Skip to content

MingXuanHe/UIView-RoundedCorners

 
 

Folders and files

Repository files navigation

UIView+RoundedCorners Category
by Warren Moore

Usage:
/* Round all corners */
[aView setRoundedCorners:UIViewRoundedCornerAll radius:8.0];
/* Round both left corners */
[aView setRoundedCorners:UIViewRoundedCornerUpperLeft | UIViewRoundedCornerLowerLeft radius:8.0];

Please note that using this method will create a mask layer for each UIView to which it is applied.
This may have severe performance implications. You are hereby advised to weigh the convenience of
this method against less elegant but substantially faster options.

About

Rounded corners for UIView done right.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

  • Objective-C 100.0%