Viewtilities 0.2.0

Viewtilities 0.2.0

Maintained by Gary Tokman.



Viewtilities

Viewtilities is a collection of UIView utilities. It provides useful extensions that will speed up your workflow when building your UI.

Version License Platform

Examples

Round Corners

myView.round(corners: [.all], to: 10)
round

Shadow

myView.shadow(offset: .init(width: 0, height: 2), radius: 5, opacity: 0.5)
round shadow

Border

myView.border(color: .black, width: 1)
border

Installation

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

pod 'Viewtilities'

Then run pod install.

Don't forget to import Viewtilities in every file you'd like to use Viewtilities.

Author

gtokman, [email protected]

License

Viewtilities is available under the MIT license. See the LICENSE file for more info.