Skip to content

Instantly share code, notes, and snippets.

Oliver Foggin oliverfoggin

Block or report user

Report or block oliverfoggin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
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.