UIViewController
-
Gets the
UINibnamedself.IdentifierDeclaration
Swift
public static var Nib: UINib -
The string representation of
selfDeclaration
Swift
public static var Identifier: String
-
If presented by navigation controller, pops self, otherwise dismisses self.
Declaration
Swift
@objc public func dismissSelf() -
Animates a constraint based on
Notification.Name.UIKeyboardWillChangeFramenotification.Declaration
Swift
func adaptKeyboard(to notification: Notification, constraint: NSLayoutConstraint)Parameters
notificationMust be a notification from
Notification.Name.UIKeyboardWillChangeFrame.constraintConstraint that will animate alongside the keyboard top. Normal use is a constraint to the bottom of the screen.
UIViewController Extension Reference