UIViewController
extension UIViewController: ServiceProvider
-
Report screen name
Declaration
Swift
func report(screen name: String)
Parameters
name
Name of screen
-
Opt out of Dark Mode
Declaration
Swift
func setLightMode()
-
Locate the main tab bar controller
Declaration
Swift
var mainTBC: MainTBC? { get }
-
Dismiss all currently presented controllers
Declaration
Swift
func dismiss(presentations from: UIViewController)
Parameters
from
View controller to unwind to
-
Hide navigation bar
Declaration
Swift
func hide(navBar animated: Bool)
Parameters
animated
Whether to animate
-
Hide tool bar
Declaration
Swift
func hide(toolBar animated: Bool)
Parameters
animated
Whether to animate
-
Show navigation bar
Declaration
Swift
func show(navBar animated: Bool, style: Styler? = nil)
Parameters
animated
Whether to animate
-
Show tool bar
Declaration
Swift
func show(toolBar animated: Bool)
Parameters
animated
Whether to animate
-
Call when ready to listen, like
viewDidLoad
Declaration
Swift
func startKeyboardListening()
-
Call when finished listening, like
deinit
Declaration
Swift
func stopKeyboardListening()