Skip to content

Instantly share code, notes, and snippets.

Oliver Foggin oliverfoggin

View GitHub Profile
View gist:9ce9008ddf22974f963a3cfbd565b629
import UIKit
class BuyButton: UIView {
required init?(coder aDecoder: NSCoder) {
super.init(coder: aDecoder)
//MARK: - View
backgroundColor = UIColor(red: 180/255, green: 35/255, blue: 115/255, alpha: 1)
layer.cornerRadius = 3
You can’t perform that action at this time.