GeneralUIButton
class GeneralUIButton: UIButton
This type was created to ensure that all of the UIButton objects are created consistently. This class allows the developer to easily apply a ‘theme’ across all of the GeneralUIButton objects
-
Customize appearance of the
UIButtonobject when this function is called. The theme enforces the cornerRadius, backgroundColor, titleColor, and titleLabelFont to be consistent among allGeneralUIButtonobjects.Declaration
Swift
override func awakeFromNib()
View on GitHub
GeneralUIButton Class Reference