Skip to content

morishin/UIViewBorders

Repository files navigation

UIViewBorders

Swift version CocoaPods compatible Carthage compatible

UIView extension for drawing borders

Usage

Example

let view = UIView(frame: CGRect(x: 200, y: 225, width: 100, height: 50))
view.addBorderViews(positions: [.top, .left], color: .red, width: 3)

2017-12-03 1 13 44

Installation

Carthage

Cartfile

github "morishin/UIViewBorders"

CocoaPods

Podfile

pod 'UIViewBorders'

LICENSE

MIT