Skip to content

Instantly share code, notes, and snippets.

Created May 18, 2017 06:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/2ae9c4270adaec42e4d2ec1f123e8c69 to your computer and use it in GitHub Desktop.
Save anonymous/2ae9c4270adaec42e4d2ec1f123e8c69 to your computer and use it in GitHub Desktop.
the description for this gist
import UIKit
@IBDesignable
class ActionButton: UIButton {
override func setupUI() {
self.backgroundColor = CustomColors.Active
self.setTitleColor(CustomColors.Text, for: .normal)
self.layer.cornerRadius = 5
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment