This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//: A UIKit based Playground for presenting user interface | |
import UIKit | |
import PlaygroundSupport | |
class CustomButton: UIButton { | |
var key: String? | |
convenience init(key: String, point: CGPoint) { | |
self.init(type: .custom) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// UIColor+Extensions.swift | |
// Roadmap | |
// | |
// Created by Paul van Roosendaal on 19/06/2018. | |
// Copyright © 2018 Roadmap. All rights reserved. | |
// | |
// Origin: https://gist.github.com/yannickl/16f0ed38f0698d9a8ae7 |