CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.

TCRoundedCorner 1.0.6

TCRoundedCorner 1.0.6

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Jun 2016

Maintained by Travel Chu.




This is a category of UIView which provided the ability of add specified corner(s) to a view with a optional border.

Change Log

1.0.1

  1. Fix wrong frame when set border in viewDidLoad.

Installation

Cocoapod Method:-

pod 'TCRoundedCorner', '~> 1.0.0'

Source Code Method:-

Add files in folder TCRoundedCorner to your project.

How To Get Started

1.Only round myView's corners:

[self.myView roundedCorner:type radius:20.0];

2.Round corners and add a border together:

[self.myView roundedCorner:type radius:20.0 borderColor:borderColor borderWidth:5.0];

3.Add border only:

[self.myView addBorderWithColor:borderColor borderWidth:5.0];

4.Remove border:

[self removeBorder];

LICENSE

Distributed under the MIT License.

Author

If you wish to contact me, email at: [email protected]

Blog

http://travelchu.com