UIView
-
Returns the first responder or nil if nothing is currently first responder.
-
Returns a list of all the receiver’s subviews, computed recursively.
-
Returns the receiver’s owning view controller or if it cannot be found.
-
Adds the provided
subviewsto the receiver. -
Removes all the receiver’s subviews.
-
Starts a shake animation that will last
durationseconds.See also
UIView.stopShakeAnimation() -
Stops any in progress shake animation.
-
Returns the first view of
classwalking up the view hierarchy or nil if one cannot be found.
View on GitHub
Install in Dash
UIView Extension Reference