Extensions
The following extensions are available globally.
-
See moreGeneralUIFont.swiftis an extension on the UIFont class that defines different fonts to use in specific scenarios. This ensures consistency amongGeneralUILabelobjects,GeneralUITextFieldobjects, andUIButtonobjects.Declaration
Swift
extension UIFont
-
Extension created to allow the developer to modify the 'bottom border' of the
See moreUINavigationBar. This allows for the white highlight under theUINavigationBarDeclaration
Swift
extension UINavigationBar
-
See moreGeneralUIColor.swiftis 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 withGeneralUIButtonon 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,GeneralUIViewControllerfor UI components using this paletteDeclaration
Swift
public extension UIColor
-
See moreGeneralArray.swiftis 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 theEqualizerViewController.Declaration
Swift
struct Array<Element> : RandomAccessCollection, MutableCollection
View on GitHub
Extensions Reference