UIViewController

class UIViewController : UIResponder, NSCoding, UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment
  • Undocumented

    Declaration

    Swift

    public func hideNavigationBar()
  • Undocumented

    Declaration

    Swift

    public func showNavigationBar()
  • Function that sets given title and color to back arrow

    • title: The title that should appear
    • color: The color of back arrow. By defaults it’s purple

    Declaration

    Swift

    public func setupBackArrow(with title: String = "", color: UIColor = #colorLiteral(red: 0.4040000141, green: 0.4199999869, blue: 0.5839999914, alpha: 1))
  • Hides keyboard by calling endEditing(animated: true) on view

    Declaration

    Swift

    @objc
    public func hideKeyboard()