UIViewController
extension UIViewController
-
PowerUpSwift: Hides the keyboard when tapped outside the text field.
Declaration
Swift
public func dismissKeyboardWhenTappedOutside() -
PowerUpSwift: A syntactic sugar to access UIViewController’s
navigationControllerproperty.- Some developers name their view controllers with something like
someVCinstead ofsomeViewController. - This comes in handy since it will make the code more streamlined.
Declaration
Swift
public var navVC: UINavigationController? { get } - Some developers name their view controllers with something like
UIViewController Extension Reference