Extensions

The following extensions are available globally.

  • GeneralUIFont.swift is an extension on the UIFont class that defines different fonts to use in specific scenarios. This ensures consistency among GeneralUILabel objects, GeneralUITextField objects, and UIButton objects.

    See more

    Declaration

    Swift

    extension UIFont
  • Extension created to allow the developer to modify the 'bottom border' of the UINavigationBar. This allows for the white highlight under the UINavigationBar

    See more

    Declaration

    Swift

    extension UINavigationBar
  • GeneralUIColor.swift is an extension on the UIColor class that defines the colors shown in the color palette generated for this application. It also includes colors for "Facebook Blue" and "Google+ Red". These are used for social media buttons with GeneralUIButton on the Login and Create Account view controllers. - Note: Many of the colors in storyboard are not accurate since the colors are later set using these definitions. - SeeAlso: GeneralUIButton, GeneralUILabel, GeneralUITextField, GeneralUIViewController for UI components using this palette

    See more

    Declaration

    Swift

    public extension UIColor
  • GeneralArray.swift is an extension on the Array class that defines a function that allows an array to split into two pieces. This functionality is used when retrieving user data from the database and assigning it to the equalizer bands when the user opens the EqualizerViewController.

    See more

    Declaration

    Swift

    struct Array<Element> : RandomAccessCollection, MutableCollection