UIViewController
-
Gets the
UINib
namedself.Identifier
Declaration
Swift
public static var Nib: UINib
-
The string representation of
self
Declaration
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.UIKeyboardWillChangeFrame
notification.Declaration
Swift
func adaptKeyboard(to notification: Notification, constraint: NSLayoutConstraint)
Parameters
notification
Must be a notification from
Notification.Name.UIKeyboardWillChangeFrame
.constraint
Constraint that will animate alongside the keyboard top. Normal use is a constraint to the bottom of the screen.