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 UIButton object when this function is called. The theme enforces the cornerRadius, backgroundColor, titleColor, and titleLabelFont to be consistent among all GeneralUIButton objects.

    Declaration

    Swift

    override func awakeFromNib()