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
navigationController
property.- Some developers name their view controllers with something like
someVC
instead 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