UIView extension for drawing borders
let view = UIView(frame: CGRect(x: 200, y: 225, width: 100, height: 50))
view.addBorderViews(positions: [.top, .left], color: .red, width: 3)
Cartfile
github "morishin/UIViewBorders"
Podfile
pod 'UIViewBorders'
MIT