HHCustomCorner

Awesome library to customize corners of UIView and UIButton. Now you can customize each corner differently

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

HHCustomCorner is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'HHCustomCorner'

Preview

687474703a2f2f617070666f7273686172652e696f2f6769746875622d6173736574732f6868637573746f6d636f726e65722e676966

How to use

UIView

  • Drop a UIView in UIViewController

  • Assign HHCustomCornerView as Class to that view

  • Assign properties in HHCustomCornerView inspector

  • Customize corners as per your need

687474703a2f2f617070666f7273686172652e696f2f6769746875622d6173736574732f6868637573746f6d636f726e65725f696e73706563746f722e706e67

687474703a2f2f617070666f7273686172652e696f2f6769746875622d6173736574732f6868637573746f6d636f726e65725f6578616d706c652e706e67

UIButton

  • Drop a UIView in UIViewController

  • Assign HHCustomCornerButton as Class to that view

  • Assign properties in HHCustomCornerButton inspector

  • Customize corners as per your need

687474703a2f2f617070666f7273686172652e696f2f6769746875622d6173736574732f6868637573746f6d636f726e6572627574746f6e5f6578616d706c652e706e67

687474703a2f2f617070666f7273686172652e696f2f6769746875622d6173736574732f6868637573746f6d636f726e6572627574746f6e5f696e73706563746f722e706e67

Author

shamzahasan88, [email protected]

GitHub