UIWindow class
UIWindow
- Inheritance
-
- Object
- UIResponder
- UIView
- UIWindow
- Available extensions
- ActivityContinuation
- DeprecatedAnimations
- Interactions
- UICaptureTextFromCameraSupporting
- UIConstraintBasedCompatibility
- UIConstraintBasedLayoutCoreMethods$1
- UIConstraintBasedLayoutDebugging
- UIConstraintBasedLayoutFittingSize
- UIConstraintBasedLayoutInstallingConstraints
- UIConstraintBasedLayoutLayering
- UIContentSizeCategoryLimit
- UILayoutGuideSupport
- UIResponder$Methods
- UIResponderInputViewAdditions
- UIResponderKeyCommands
- UISnapshotting
- UIStateRestoration$1
- UITextField
- UIView$Methods
- UIViewAnimation
- UIViewAnimationWithBlocks
- UIViewGeometry
- UIViewGestureRecognizers
- UIViewHierarchy
- UIViewKeyframeAnimations
- UIViewLayoutConstraintCreation
- UIViewMotionEffects
- UIViewRendering
- UIWindow$Methods
- UserInterfaceStyle
Constructors
- UIWindow.castFrom(ObjCObjectBase other)
-
Constructs a UIWindow that points to the same underlying object as
other
. -
UIWindow.castFromPointer(Pointer<
ObjCObject> other, {bool retain = false, bool release = false}) - Constructs a UIWindow that wraps the given raw object pointer.
Properties
- alignmentRectInsets → UIEdgeInsets
-
Available on UIView, provided by the UIConstraintBasedLayoutLayering extension
alignmentRectInsetsno setter - alpha ↔ double
-
Available on UIView, provided by the UIViewRendering extension
alphagetter/setter pair - appliedContentSizeCategoryLimitsDescription → NSString
-
Available on UIView, provided by the UIContentSizeCategoryLimit extension
Will return a string with a log of all the superviews of this view, alongside with what content size category each view has and if that view has limits applied. This is for debugging purposes only.no setter - autoresizesSubviews ↔ bool
-
Available on UIView, provided by the UIViewGeometry extension
autoresizesSubviewsgetter/setter pair - autoresizingMask ↔ UIViewAutoresizing
-
Available on UIView, provided by the UIViewGeometry extension
autoresizingMaskgetter/setter pair - backgroundColor ↔ UIColor?
-
Available on UIView, provided by the UIViewRendering extension
backgroundColorgetter/setter pair - bottomAnchor → NSLayoutYAxisAnchor
-
Available on UIView, provided by the UIViewLayoutConstraintCreation extension
bottomAnchorno setter - bounds ↔ CGRect
-
Available on UIView, provided by the UIViewGeometry extension
boundsgetter/setter pair - bounds → CGRect
-
Available on UIView, provided by the UIView$Methods extension
boundsno setter - canBecomeFirstResponder → bool
-
Available on UIResponder, provided by the UIResponder$Methods extension
canBecomeFirstResponderno setter - canBecomeFocused → bool
-
Available on UIView, provided by the UIView$Methods extension
Indicates whether or not this item is currently allowed to become focused. Returning NO restricts the item from being focusable, even if it is visible in the user interface. For example, UIControls return NO if they are disabled.no setter - canBecomeKeyWindow → bool
-
Available on UIWindow, provided by the UIWindow$Methods extension
canBecomeKeyWindowno setter - canResignFirstResponder → bool
-
Available on UIResponder, provided by the UIResponder$Methods extension
canResignFirstResponderno setter - canResizeToFitContent ↔ bool
-
Available on UIWindow, provided by the UIWindow$Methods extension
canResizeToFitContentgetter/setter pair - center ↔ CGPoint
-
Available on UIView, provided by the UIViewGeometry extension
centergetter/setter pair - center ↔ CGPoint
-
Available on UIView, provided by the UIView$Methods extension
centergetter/setter pair - centerXAnchor → NSLayoutXAxisAnchor
-
Available on UIView, provided by the UIViewLayoutConstraintCreation extension
centerXAnchorno setter - centerYAnchor → NSLayoutYAxisAnchor
-
Available on UIView, provided by the UIViewLayoutConstraintCreation extension
centerYAnchorno setter - clearsContextBeforeDrawing ↔ bool
-
Available on UIView, provided by the UIViewRendering extension
clearsContextBeforeDrawinggetter/setter pair - clipsToBounds ↔ bool
-
Available on UIView, provided by the UIViewRendering extension
clipsToBoundsgetter/setter pair - collisionBoundingPath → UIBezierPath
-
Available on UIView, provided by the UIView$Methods extension
The path must represent a convex polygon with counter clockwise winding and no self intersection. The point (0,0) in the path corresponds to the dynamic item's center.no setter - collisionBoundsType → UIDynamicItemCollisionBoundsType
-
Available on UIView, provided by the UIView$Methods extension
The collision type represents how the dynamics system will evaluate collisions with respect to the dynamic item. defaults to UIDynamicItemCollisionBoundsTypeRectangleno setter - constraints → NSArray
-
Available on UIView, provided by the UIConstraintBasedLayoutInstallingConstraints extension
constraintsno setter - contentMode ↔ UIViewContentMode
-
Available on UIView, provided by the UIViewRendering extension
contentModegetter/setter pair - contentScaleFactor ↔ double
-
Available on UIView, provided by the UIViewGeometry extension
contentScaleFactorgetter/setter pair - contentStretch ↔ CGRect
-
Available on UIView, provided by the UIViewRendering extension
contentStretchgetter/setter pair - coordinateSpace → UICoordinateSpace
-
Available on UIView, provided by the UIView$Methods extension
The coordinate space of the focus items contained in this container. The focus items returned by focusItemsInRect: should report their frames in this coordinate space. If you are implementing this protocol, you may find it convenient to return the UIScreen as your coordinate space, and ensure that your contained items report their frames in screen space. Similarly, you might find that your focus items' containing UIView or UIWindow is the most convenient coordinate space to use. You may also choose to implement your own object that conforms to UICoordinateSpace, if that is the most natural solution for your architecture.no setter - directionalLayoutMargins ↔ NSDirectionalEdgeInsets
-
Available on UIView, provided by the UIViewHierarchy extension
directionalLayoutMarginsgetter/setter pair - editingInteractionConfiguration → UIEditingInteractionConfiguration
-
Available on UIResponder, provided by the UIResponder$Methods extension
editingInteractionConfigurationno setter - effectiveUserInterfaceLayoutDirection → UIUserInterfaceLayoutDirection
-
Available on UIView, provided by the UIView$Methods extension
effectiveUserInterfaceLayoutDirectionno setter - exclusiveTouch ↔ bool
-
Available on UIView, provided by the UIViewGeometry extension
isExclusiveTouchgetter/setter pair - firstBaselineAnchor → NSLayoutYAxisAnchor
-
Available on UIView, provided by the UIViewLayoutConstraintCreation extension
firstBaselineAnchorno setter - focused → bool
-
Available on UIView, provided by the UIView$Methods extension
isFocusedno setter - focusEffect ↔ UIFocusEffect?
-
Available on UIView, provided by the UIView$Methods extension
Describes a visual effect to apply when this item is focused. If this property is nil no effect will be applied when this view becomes focused.getter/setter pair - focusGroupIdentifier ↔ NSString?
-
Available on UIView, provided by the UIView$Methods extension
The identifier of the focus group that this view belongs to. If this is nil, subviews inherit their superview's focus group.getter/setter pair - focusGroupPriority ↔ int
-
Available on UIView, provided by the UIView$Methods extension
The priority this item has in its focus group. The higher the priority, the more likely it is to get picked when focus moves into this group. Note: this method can only be used to increase an item's priority, not decrease it. For example if an item is currently selected, the actual priority of this item will be determined by MAX(focusGroupPriority, UIFocusGroupPrioritySelected).getter/setter pair - focusItemContainer → UIFocusItemContainer?
-
Available on UIView, provided by the UIView$Methods extension
The container of any child focus items in this focus environment, or nil if no container exists.no setter - frame → CGRect
-
Available on UIView, provided by the UIView$Methods extension
The geometric frame of this item, represented in thecoordinateSpace
of the UIFocusItemContainer in which it is contained.no setter - frame ↔ CGRect
-
Available on UIView, provided by the UIViewGeometry extension
framegetter/setter pair - gestureRecognizers ↔ NSArray?
-
Available on UIView, provided by the UIViewGestureRecognizers extension
gestureRecognizersgetter/setter pair - hasAmbiguousLayout → bool
-
Available on UIView, provided by the UIConstraintBasedLayoutDebugging extension
hasAmbiguousLayoutno setter - hashCode → int
-
The hash code for this object.
no setterinherited
- heightAnchor → NSLayoutDimension
-
Available on UIView, provided by the UIViewLayoutConstraintCreation extension
heightAnchorno setter -
Available on UIView, provided by the UIViewRendering extension
isHiddengetter/setter pair - inputAccessoryView → UIView?
-
Available on UIResponder, provided by the UIResponderInputViewAdditions extension
inputAccessoryViewno setter - inputAccessoryViewController → UIInputViewController?
-
Available on UIResponder, provided by the UIResponderInputViewAdditions extension
inputAccessoryViewControllerno setter - inputAssistantItem → UITextInputAssistantItem
-
Available on UIResponder, provided by the UIResponderInputViewAdditions extension
This method is for clients that wish to put buttons on the Shortcuts Bar, shown on top of the keyboard. You may modify the returned inputAssistantItem to add to or replace the existing items on the bar. Modifications made to the returned UITextInputAssistantItem are reflected automatically. This method should not be overridden. Goes up the responder chain.no setter - inputView → UIView?
-
Available on UIResponder, provided by the UIResponderInputViewAdditions extension
inputViewno setter - inputViewController → UIInputViewController?
-
Available on UIResponder, provided by the UIResponderInputViewAdditions extension
inputViewControllerno setter - insetsLayoutMarginsFromSafeArea ↔ bool
-
Available on UIView, provided by the UIViewHierarchy extension
insetsLayoutMarginsFromSafeAreagetter/setter pair - interactions ↔ NSArray
-
Available on UIView, provided by the Interactions extension
interactionsgetter/setter pair - intrinsicContentSize → CGSize
-
Available on UIView, provided by the UIConstraintBasedLayoutLayering extension
intrinsicContentSizeno setter - isFirstResponder → bool
-
Available on UIResponder, provided by the UIResponder$Methods extension
isFirstResponderno setter - isTransparentFocusItem → bool
-
Available on UIView, provided by the UIView$Methods extension
If this returns YES, the focus item is considered transparent in terms of occlusion. Items that are behind it are focusable. This value is ignored when the item is focusable, in which case the item is never considered transparent.no setter - keyboardLayoutGuide → UIKeyboardLayoutGuide
-
Available on UIView, provided by the UIViewHierarchy extension
Follows the keyboard when on screen and docked. When the keyboard is offscreen or undocked, keyboardLayoutGuide.topAnchor matches the view's safeAreaLayoutGuide.bottomAnchor.no setter - keyCommands → NSArray?
-
Available on UIResponder, provided by the UIResponderKeyCommands extension
keyCommandsno setter - keyWindow → bool
-
Available on UIWindow, provided by the UIWindow$Methods extension
isKeyWindowno setter - lastBaselineAnchor → NSLayoutYAxisAnchor
-
Available on UIView, provided by the UIViewLayoutConstraintCreation extension
lastBaselineAnchorno setter - layer → CALayer
-
Available on UIView, provided by the UIView$Methods extension
layerno setter - layoutGuides → NSArray
-
Available on UIView, provided by the UILayoutGuideSupport extension
layoutGuidesno setter - layoutMargins ↔ UIEdgeInsets
-
Available on UIView, provided by the UIViewHierarchy extension
layoutMarginsgetter/setter pair - layoutMarginsGuide → UILayoutGuide
-
Available on UIView, provided by the UIViewHierarchy extension
layoutMarginsGuideno setter - leadingAnchor → NSLayoutXAxisAnchor
-
Available on UIView, provided by the UIViewLayoutConstraintCreation extension
leadingAnchorno setter - leftAnchor → NSLayoutXAxisAnchor
-
Available on UIView, provided by the UIViewLayoutConstraintCreation extension
leftAnchorno setter - maskView ↔ UIView?
-
Available on UIView, provided by the UIViewRendering extension
maskViewgetter/setter pair - maximumContentSizeCategory ↔ NSString?
-
Available on UIView, provided by the UIContentSizeCategoryLimit extension
maximumContentSizeCategorygetter/setter pair - minimumContentSizeCategory ↔ NSString?
-
Available on UIView, provided by the UIContentSizeCategoryLimit extension
Specify content size category limits. Setting one or both of these properties will limit the content size category for this view (and its subviews) to a minimum or a maximum value. You can use this to limit the support content size categories on part of your view hierarchy. Setting this to nil removes the limit on the minimum or maximum. Limits will be applied immediately and when future content size category updates occur.getter/setter pair - motionEffects ↔ NSArray
-
Available on UIView, provided by the UIViewMotionEffects extension
motionEffectsgetter/setter pair - multipleTouchEnabled ↔ bool
-
Available on UIView, provided by the UIViewGeometry extension
isMultipleTouchEnabledgetter/setter pair - nextResponder → UIResponder?
-
Available on UIResponder, provided by the UIResponder$Methods extension
nextResponderno setter - opaque ↔ bool
-
Available on UIView, provided by the UIViewRendering extension
isOpaquegetter/setter pair - overrideUserInterfaceStyle ↔ UIUserInterfaceStyle
-
Available on UIView, provided by the UserInterfaceStyle extension
overrideUserInterfaceStylegetter/setter pair - parentFocusEnvironment → UIFocusEnvironment?
-
Available on UIView, provided by the UIView$Methods extension
The parent focus environment of this environment, or nil if no parent exists. NOTE: If you implement this method, you must return a non-nil value for parent focus environment, otherwise your focus environment will not participate in focus interactions.no setter - preferredFocusedView → UIView?
-
Available on UIView, provided by the UIView$Methods extension
preferredFocusedViewno setter - preferredFocusEnvironments → NSArray
-
Available on UIView, provided by the UIView$Methods extension
The preferred focus environments define where to search for the default focused item in an environment, such as when focus updates programmatically. Starting from the target environment, each preferred focus environment is recursively searched in the order of the array until an eligible, focusable item is found. Preferred focus environments can include focusable and non-focusable items, in addition to non-item environments. Returning an empty array is equivalent to returning an array containing only 'self'.no setter - preservesSuperviewLayoutMargins ↔ bool
-
Available on UIView, provided by the UIViewHierarchy extension
preservesSuperviewLayoutMarginsgetter/setter pair - readableContentGuide → UILayoutGuide
-
Available on UIView, provided by the UIViewHierarchy extension
This content guide provides a layout area that you can use to place text and related content whose width should generally be constrained to a size that is easy for the user to read. This guide provides a centered region that you can place content within to get this behavior for this view.no setter - ref → ObjCObjectRef
-
finalinherited
- restorationIdentifier ↔ NSString?
-
Available on UIView, provided by the UIStateRestoration$1 extension
restorationIdentifiergetter/setter pair - rightAnchor → NSLayoutXAxisAnchor
-
Available on UIView, provided by the UIViewLayoutConstraintCreation extension
rightAnchorno setter - rootViewController ↔ UIViewController?
-
Available on UIWindow, provided by the UIWindow$Methods extension
rootViewControllergetter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- safeAreaInsets → UIEdgeInsets
-
Available on UIView, provided by the UIViewHierarchy extension
safeAreaInsetsno setter - safeAreaLayoutGuide → UILayoutGuide
-
Available on UIView, provided by the UIViewHierarchy extension
safeAreaLayoutGuideno setter - screen ↔ UIScreen
-
Available on UIWindow, provided by the UIWindow$Methods extension
screengetter/setter pair - semanticContentAttribute ↔ UISemanticContentAttribute
-
Available on UIView, provided by the UIView$Methods extension
semanticContentAttributegetter/setter pair - subviews → NSArray
-
Available on UIView, provided by the UIViewHierarchy extension
subviewsno setter - superview → UIView?
-
Available on UIView, provided by the UIViewHierarchy extension
superviewno setter - tag ↔ int
-
Available on UIView, provided by the UIView$Methods extension
taggetter/setter pair - textInputContextIdentifier → NSString?
-
Available on UIResponder, provided by the UIResponderInputViewAdditions extension
textInputContextIdentifierno setter - textInputMode → UITextInputMode?
-
Available on UIResponder, provided by the UIResponderInputViewAdditions extension
textInputModeno setter - tintAdjustmentMode ↔ UIViewTintAdjustmentMode
-
Available on UIView, provided by the UIViewRendering extension
tintAdjustmentModegetter/setter pair - tintColor ↔ UIColor
-
Available on UIView, provided by the UIViewRendering extension
tintColorgetter/setter pair - topAnchor → NSLayoutYAxisAnchor
-
Available on UIView, provided by the UIViewLayoutConstraintCreation extension
topAnchorno setter - trailingAnchor → NSLayoutXAxisAnchor
-
Available on UIView, provided by the UIViewLayoutConstraintCreation extension
trailingAnchorno setter - traitCollection → UITraitCollection
-
Available on UIView, provided by the UIView$Methods extension
traitCollectionno setter - transform ↔ CGAffineTransform
-
Available on UIView, provided by the UIViewGeometry extension
transformgetter/setter pair - transform ↔ CGAffineTransform
-
Available on UIView, provided by the UIView$Methods extension
transformgetter/setter pair - transform3D ↔ CATransform3D
-
Available on UIView, provided by the UIViewGeometry extension
transform3Dgetter/setter pair - translatesAutoresizingMaskIntoConstraints ↔ bool
-
Available on UIView, provided by the UIConstraintBasedCompatibility extension
translatesAutoresizingMaskIntoConstraintsgetter/setter pair - undoManager → NSUndoManager?
-
Available on UIResponder, provided by the UIResponder$Methods extension
undoManagerno setter - userActivity ↔ NSUserActivity?
-
Available on UIResponder, provided by the ActivityContinuation extension
userActivitygetter/setter pair - userInteractionEnabled ↔ bool
-
Available on UIView, provided by the UIView$Methods extension
isUserInteractionEnabledgetter/setter pair - viewForFirstBaselineLayout → UIView
-
Available on UIView, provided by the UIConstraintBasedLayoutLayering extension
viewForFirstBaselineLayoutno setter - viewForLastBaselineLayout → UIView
-
Available on UIView, provided by the UIConstraintBasedLayoutLayering extension
viewForLastBaselineLayoutno setter - widthAnchor → NSLayoutDimension
-
Available on UIView, provided by the UIViewLayoutConstraintCreation extension
widthAnchorno setter - window → UIWindow?
-
Available on UIView, provided by the UIViewHierarchy extension
windowno setter - windowLevel ↔ double
-
Available on UIWindow, provided by the UIWindow$Methods extension
windowLevelgetter/setter pair - windowScene ↔ UIWindowScene?
-
Available on UIWindow, provided by the UIWindow$Methods extension
windowScenegetter/setter pair
Methods
-
actionForLayer(
CALayer layer$1, {required NSString forKey}) → CAAction? -
Available on UIView, provided by the UIView$Methods extension
actionForLayer:forKey: -
addConstraint(
NSLayoutConstraint constraint) → void -
Available on UIView, provided by the UIConstraintBasedLayoutInstallingConstraints extension
addConstraint: -
addConstraints(
NSArray constraints$1) → void -
Available on UIView, provided by the UIConstraintBasedLayoutInstallingConstraints extension
addConstraints: -
addGestureRecognizer(
UIGestureRecognizer gestureRecognizer) → void -
Available on UIView, provided by the UIViewGestureRecognizers extension
addGestureRecognizer: -
addInteraction(
UIInteraction interaction) → void -
Available on UIView, provided by the Interactions extension
addInteraction: -
addLayoutGuide(
UILayoutGuide layoutGuide) → void -
Available on UIView, provided by the UILayoutGuideSupport extension
addLayoutGuide: -
addMotionEffect(
UIMotionEffect effect) → void -
Available on UIView, provided by the UIViewMotionEffects extension
! Begins applyingeffect
to the receiver. The effect's emitted keyPath/value pairs will be applied to the view's presentation layer. -
addSubview(
UIView view) → void -
Available on UIView, provided by the UIViewHierarchy extension
addSubview: -
alignmentRectForFrame(
CGRect frame) → CGRect -
Available on UIView, provided by the UIConstraintBasedLayoutLayering extension
alignmentRectForFrame: -
becomeFirstResponder(
) → bool -
Available on UIResponder, provided by the UIResponder$Methods extension
becomeFirstResponder -
becomeKeyWindow(
) → void -
Available on UIWindow, provided by the UIWindow$Methods extension
becomeKeyWindow -
bringSubviewToFront(
UIView view) → void -
Available on UIView, provided by the UIViewHierarchy extension
bringSubviewToFront: -
buildMenuWithBuilder(
UIMenuBuilder builder) → void -
Available on UIResponder, provided by the UIResponder$Methods extension
buildMenuWithBuilder: -
canPerformAction(
Pointer< ObjCSelector> action, {ObjCObjectBase? withSender}) → bool -
Available on UIResponder, provided by the UIResponder$Methods extension
canPerformAction:withSender: -
captureTextFromCamera(
ObjCObjectBase? sender) → void -
Available on UIResponder, provided by the UICaptureTextFromCameraSupporting extension
captureTextFromCamera: -
constraintsAffectingLayoutForAxis(
UILayoutConstraintAxis axis) → NSArray -
Available on UIView, provided by the UIConstraintBasedLayoutDebugging extension
constraintsAffectingLayoutForAxis: -
contentCompressionResistancePriorityForAxis(
UILayoutConstraintAxis axis) → double -
Available on UIView, provided by the UIConstraintBasedLayoutLayering extension
contentCompressionResistancePriorityForAxis: -
contentHuggingPriorityForAxis(
UILayoutConstraintAxis axis) → double -
Available on UIView, provided by the UIConstraintBasedLayoutLayering extension
contentHuggingPriorityForAxis: -
convertPoint(
CGPoint point, {UIWindow? toWindow}) → CGPoint -
Available on UIWindow, provided by the UIWindow$Methods extension
convertPoint:toWindow: -
convertPoint(
CGPoint point, {required UICoordinateSpace toCoordinateSpace}) → CGPoint -
Available on UIView, provided by the UIView$Methods extension
convertPoint:toCoordinateSpace: -
convertPoint(
CGPoint point, {UIView? toView}) → CGPoint -
Available on UIView, provided by the UIViewGeometry extension
convertPoint:toView: -
convertPoint$1(
CGPoint point, {UIView? fromView}) → CGPoint -
Available on UIView, provided by the UIViewGeometry extension
convertPoint:fromView: -
convertPoint$1(
CGPoint point, {required UICoordinateSpace fromCoordinateSpace}) → CGPoint -
Available on UIView, provided by the UIView$Methods extension
convertPoint:fromCoordinateSpace: -
convertPoint$1(
CGPoint point, {UIWindow? fromWindow}) → CGPoint -
Available on UIWindow, provided by the UIWindow$Methods extension
convertPoint:fromWindow: -
convertRect(
CGRect rect, {UIWindow? toWindow}) → CGRect -
Available on UIWindow, provided by the UIWindow$Methods extension
convertRect:toWindow: -
convertRect(
CGRect rect, {UIView? toView}) → CGRect -
Available on UIView, provided by the UIViewGeometry extension
convertRect:toView: -
convertRect(
CGRect rect, {required UICoordinateSpace toCoordinateSpace}) → CGRect -
Available on UIView, provided by the UIView$Methods extension
convertRect:toCoordinateSpace: -
convertRect$1(
CGRect rect, {UIWindow? fromWindow}) → CGRect -
Available on UIWindow, provided by the UIWindow$Methods extension
convertRect:fromWindow: -
convertRect$1(
CGRect rect, {UIView? fromView}) → CGRect -
Available on UIView, provided by the UIViewGeometry extension
convertRect:fromView: -
convertRect$1(
CGRect rect, {required UICoordinateSpace fromCoordinateSpace}) → CGRect -
Available on UIView, provided by the UIView$Methods extension
convertRect:fromCoordinateSpace: -
copy(
ObjCObjectBase? sender) → void -
Available on UIResponder, provided by the UIResponder$Methods extension
copy: -
cut(
ObjCObjectBase? sender) → void -
Available on UIResponder, provided by the UIResponder$Methods extension
cut: -
decodeRestorableStateWithCoder(
NSCoder coder) → void -
Available on UIView, provided by the UIStateRestoration$1 extension
decodeRestorableStateWithCoder: -
decreaseSize(
ObjCObjectBase? sender) → void -
Available on UIResponder, provided by the UIResponder$Methods extension
decreaseSize: -
delete(
ObjCObjectBase? sender) → void -
Available on UIResponder, provided by the UIResponder$Methods extension
delete: -
didAddSubview(
UIView subview) → void -
Available on UIView, provided by the UIViewHierarchy extension
didAddSubview: -
didHintFocusMovement(
UIFocusMovementHint hint) → void -
Available on UIView, provided by the UIView$Methods extension
Called whenever this focus item is hinting to the user a focus movement might occur. The provided object is mutated by the focus engine whenever the user's finger moves. -
didMoveToSuperview(
) → void -
Available on UIView, provided by the UIViewHierarchy extension
didMoveToSuperview -
didMoveToWindow(
) → void -
Available on UIView, provided by the UIViewHierarchy extension
didMoveToWindow -
didUpdateFocusInContext(
UIFocusUpdateContext context, {required UIFocusAnimationCoordinator withAnimationCoordinator}) → void -
Available on UIView, provided by the UIView$Methods extension
Called when the screen’s focused item has been updated to a new item. Use the animation coordinator to schedule focus-related animations in response to the update. -
displayLayer(
CALayer layer$1) → void -
Available on UIView, provided by the UIView$Methods extension
displayLayer: -
drawLayer(
CALayer layer$1, {required Pointer< CGContext> inContext}) → void -
Available on UIView, provided by the UIView$Methods extension
drawLayer:inContext: -
drawRect(
CGRect rect) → void -
Available on UIView, provided by the UIViewRendering extension
drawRect: -
drawViewHierarchyInRect(
CGRect rect, {required bool afterScreenUpdates}) → bool -
Available on UIView, provided by the UISnapshotting extension
drawViewHierarchyInRect:afterScreenUpdates: -
encodeRestorableStateWithCoder(
NSCoder coder) → void -
Available on UIView, provided by the UIStateRestoration$1 extension
encodeRestorableStateWithCoder: -
encodeWithCoder(
NSCoder coder) → void -
Available on UIView, provided by the UIView$Methods extension
encodeWithCoder: -
endEditing(
bool force) → bool -
Available on UIView, provided by the UITextField extension
endEditing: -
exchangeSubviewAtIndex(
int index1, {required int withSubviewAtIndex}) → void -
Available on UIView, provided by the UIViewHierarchy extension
exchangeSubviewAtIndex:withSubviewAtIndex: -
exerciseAmbiguityInLayout(
) → void -
Available on UIView, provided by the UIConstraintBasedLayoutDebugging extension
exerciseAmbiguityInLayout -
focusItemsInRect(
CGRect rect) → NSArray -
Available on UIView, provided by the UIView$Methods extension
Returns an array of all focus items within this container that intersect with the provided rect.rect
is expressed incoordinateSpace
. -
frameForAlignmentRect(
CGRect alignmentRect) → CGRect -
Available on UIView, provided by the UIConstraintBasedLayoutLayering extension
frameForAlignmentRect: -
gestureRecognizerShouldBegin(
UIGestureRecognizer gestureRecognizer) → bool -
Available on UIView, provided by the UIViewGestureRecognizers extension
gestureRecognizerShouldBegin: -
hitTest(
CGPoint point, {UIEvent? withEvent}) → UIView? -
Available on UIView, provided by the UIViewGeometry extension
hitTest:withEvent: -
increaseSize(
ObjCObjectBase? sender) → void -
Available on UIResponder, provided by the UIResponder$Methods extension
increaseSize: -
init(
) → UIResponder -
Available on UIResponder, provided by the UIResponder$Methods extension
init -
init(
) → UIView -
Available on UIView, provided by the UIView$Methods extension
init -
initWithCoder(
NSCoder coder) → UIWindow? -
Available on UIWindow, provided by the UIWindow$Methods extension
initWithCoder: -
initWithCoder(
NSCoder coder) → UIView? -
Available on UIView, provided by the UIView$Methods extension
initWithCoder: -
initWithFrame(
CGRect frame) → UIWindow -
Available on UIWindow, provided by the UIWindow$Methods extension
initWithFrame: -
initWithFrame(
CGRect frame) → UIView -
Available on UIView, provided by the UIView$Methods extension
initWithFrame: -
initWithWindowScene(
UIWindowScene windowScene) → UIWindow -
Available on UIWindow, provided by the UIWindow$Methods extension
initWithWindowScene: -
insertSubview(
UIView view, {required int atIndex}) → void -
Available on UIView, provided by the UIViewHierarchy extension
insertSubview:atIndex: -
insertSubview$1(
UIView view, {required UIView belowSubview}) → void -
Available on UIView, provided by the UIViewHierarchy extension
insertSubview:belowSubview: -
insertSubview$2(
UIView view, {required UIView aboveSubview}) → void -
Available on UIView, provided by the UIViewHierarchy extension
insertSubview:aboveSubview: -
invalidateIntrinsicContentSize(
) → void -
Available on UIView, provided by the UIConstraintBasedLayoutLayering extension
invalidateIntrinsicContentSize -
isDescendantOfView(
UIView view) → bool -
Available on UIView, provided by the UIViewHierarchy extension
isDescendantOfView: -
layerWillDraw(
CALayer layer$1) → void -
Available on UIView, provided by the UIView$Methods extension
layerWillDraw: -
layoutIfNeeded(
) → void -
Available on UIView, provided by the UIViewHierarchy extension
layoutIfNeeded -
layoutMarginsDidChange(
) → void -
Available on UIView, provided by the UIViewHierarchy extension
layoutMarginsDidChange -
layoutSublayersOfLayer(
CALayer layer$1) → void -
Available on UIView, provided by the UIView$Methods extension
layoutSublayersOfLayer: -
layoutSubviews(
) → void -
Available on UIView, provided by the UIViewHierarchy extension
layoutSubviews -
makeKeyAndVisible(
) → void -
Available on UIWindow, provided by the UIWindow$Methods extension
makeKeyAndVisible -
makeKeyWindow(
) → void -
Available on UIWindow, provided by the UIWindow$Methods extension
makeKeyWindow -
makeTextWritingDirectionLeftToRight(
ObjCObjectBase? sender) → void -
Available on UIResponder, provided by the UIResponder$Methods extension
makeTextWritingDirectionLeftToRight: -
makeTextWritingDirectionRightToLeft(
ObjCObjectBase? sender) → void -
Available on UIResponder, provided by the UIResponder$Methods extension
makeTextWritingDirectionRightToLeft: -
motionBegan(
UIEventSubtype motion, {UIEvent? withEvent}) → void -
Available on UIResponder, provided by the UIResponder$Methods extension
motionBegan:withEvent: -
motionCancelled(
UIEventSubtype motion, {UIEvent? withEvent}) → void -
Available on UIResponder, provided by the UIResponder$Methods extension
motionCancelled:withEvent: -
motionEnded(
UIEventSubtype motion, {UIEvent? withEvent}) → void -
Available on UIResponder, provided by the UIResponder$Methods extension
motionEnded:withEvent: -
needsUpdateConstraints(
) → bool -
Available on UIView, provided by the UIConstraintBasedLayoutCoreMethods$1 extension
needsUpdateConstraints -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
paste(
ObjCObjectBase? sender) → void -
Available on UIResponder, provided by the UIResponder$Methods extension
paste: -
pasteAndGo(
ObjCObjectBase? sender) → void -
Available on UIResponder, provided by the UIResponder$Methods extension
pasteAndGo: -
pasteAndMatchStyle(
ObjCObjectBase? sender) → void -
Available on UIResponder, provided by the UIResponder$Methods extension
pasteAndMatchStyle: -
pasteAndSearch(
ObjCObjectBase? sender) → void -
Available on UIResponder, provided by the UIResponder$Methods extension
pasteAndSearch: -
pointInside(
CGPoint point, {UIEvent? withEvent}) → bool -
Available on UIView, provided by the UIViewGeometry extension
pointInside:withEvent: -
pressesBegan(
NSSet presses, {UIPressesEvent? withEvent}) → void -
Available on UIResponder, provided by the UIResponder$Methods extension
pressesBegan:withEvent: -
pressesCancelled(
NSSet presses, {UIPressesEvent? withEvent}) → void -
Available on UIResponder, provided by the UIResponder$Methods extension
pressesCancelled:withEvent: -
pressesChanged(
NSSet presses, {UIPressesEvent? withEvent}) → void -
Available on UIResponder, provided by the UIResponder$Methods extension
pressesChanged:withEvent: -
pressesEnded(
NSSet presses, {UIPressesEvent? withEvent}) → void -
Available on UIResponder, provided by the UIResponder$Methods extension
pressesEnded:withEvent: -
print(
ObjCObjectBase? sender) → void -
Available on UIResponder, provided by the UIResponder$Methods extension
print: -
reloadInputViews(
) → void -
Available on UIResponder, provided by the UIResponderInputViewAdditions extension
reloadInputViews -
remoteControlReceivedWithEvent(
UIEvent? event) → void -
Available on UIResponder, provided by the UIResponder$Methods extension
remoteControlReceivedWithEvent: -
removeConstraint(
NSLayoutConstraint constraint) → void -
Available on UIView, provided by the UIConstraintBasedLayoutInstallingConstraints extension
removeConstraint: -
removeConstraints(
NSArray constraints$1) → void -
Available on UIView, provided by the UIConstraintBasedLayoutInstallingConstraints extension
removeConstraints: -
removeFromSuperview(
) → void -
Available on UIView, provided by the UIViewHierarchy extension
removeFromSuperview -
removeGestureRecognizer(
UIGestureRecognizer gestureRecognizer) → void -
Available on UIView, provided by the UIViewGestureRecognizers extension
removeGestureRecognizer: -
removeInteraction(
UIInteraction interaction) → void -
Available on UIView, provided by the Interactions extension
removeInteraction: -
removeLayoutGuide(
UILayoutGuide layoutGuide) → void -
Available on UIView, provided by the UILayoutGuideSupport extension
removeLayoutGuide: -
removeMotionEffect(
UIMotionEffect effect) → void -
Available on UIView, provided by the UIViewMotionEffects extension
! Stops applyingeffect
to the receiver. Any affected presentation values will animate to their post-removal values using the present UIView animation context. -
resignFirstResponder(
) → bool -
Available on UIResponder, provided by the UIResponder$Methods extension
resignFirstResponder -
resignKeyWindow(
) → void -
Available on UIWindow, provided by the UIWindow$Methods extension
resignKeyWindow -
resizableSnapshotViewFromRect(
CGRect rect, {required bool afterScreenUpdates, required UIEdgeInsets withCapInsets}) → UIView? -
Available on UIView, provided by the UISnapshotting extension
resizableSnapshotViewFromRect:afterScreenUpdates:withCapInsets: -
restoreUserActivityState(
NSUserActivity userActivity$1) → void -
Available on UIResponder, provided by the ActivityContinuation extension
restoreUserActivityState: -
safeAreaInsetsDidChange(
) → void -
Available on UIView, provided by the UIViewHierarchy extension
safeAreaInsetsDidChange -
select(
ObjCObjectBase? sender) → void -
Available on UIResponder, provided by the UIResponder$Methods extension
select: -
selectAll(
ObjCObjectBase? sender) → void -
Available on UIResponder, provided by the UIResponder$Methods extension
selectAll: -
sendEvent(
UIEvent event) → void -
Available on UIWindow, provided by the UIWindow$Methods extension
sendEvent: -
sendSubviewToBack(
UIView view) → void -
Available on UIView, provided by the UIViewHierarchy extension
sendSubviewToBack: -
setContentCompressionResistancePriority(
double priority, {required UILayoutConstraintAxis forAxis}) → void -
Available on UIView, provided by the UIConstraintBasedLayoutLayering extension
setContentCompressionResistancePriority:forAxis: -
setContentHuggingPriority(
double priority, {required UILayoutConstraintAxis forAxis}) → void -
Available on UIView, provided by the UIConstraintBasedLayoutLayering extension
setContentHuggingPriority:forAxis: -
setNeedsDisplay(
) → void -
Available on UIView, provided by the UIViewRendering extension
setNeedsDisplay -
setNeedsDisplayInRect(
CGRect rect) → void -
Available on UIView, provided by the UIViewRendering extension
setNeedsDisplayInRect: -
setNeedsFocusUpdate(
) → void -
Available on UIView, provided by the UIView$Methods extension
Marks this environment as needing a focus update, which if accepted will attempt to reset focus to this environment, or one of its preferred focus environments, on the next update cycle. If this environment does not currently contain the focused item, then calling this method has no effect. If a parent of this environment is also requesting focus, then this environment's request is rejected in favor of the parent's. NOTE: If you provide your own implementation, it must call[[UIFocusSystem focusSystemForEnvironment:self] requestFocusUpdateToEnvironment:self]
; -
setNeedsLayout(
) → void -
Available on UIView, provided by the UIViewHierarchy extension
setNeedsLayout -
setNeedsUpdateConstraints(
) → void -
Available on UIView, provided by the UIConstraintBasedLayoutCoreMethods$1 extension
setNeedsUpdateConstraints -
shouldUpdateFocusInContext(
UIFocusUpdateContext context) → bool -
Available on UIView, provided by the UIView$Methods extension
Asks whether the system should allow a focus update to occur. -
sizeThatFits(
CGSize size) → CGSize -
Available on UIView, provided by the UIViewGeometry extension
sizeThatFits: -
sizeToFit(
) → void -
Available on UIView, provided by the UIViewGeometry extension
sizeToFit -
snapshotViewAfterScreenUpdates(
bool afterUpdates) → UIView? -
Available on UIView, provided by the UISnapshotting extension
snapshotViewAfterScreenUpdates: -
soundIdentifierForFocusUpdateInContext(
UIFocusUpdateContext context) → NSString? -
Available on UIView, provided by the UIView$Methods extension
Specifies an identifier corresponding to a sound that should be played for a focus update. Return UIFocusSoundIdentifierNone to opt out of sounds, UIFocusSoundIdentifierDefault for the system default sounds, a previously registered identifier for a custom sound, or nil to defer the decision to the parent. -
systemLayoutSizeFittingSize(
CGSize targetSize) → CGSize -
Available on UIView, provided by the UIConstraintBasedLayoutFittingSize extension
systemLayoutSizeFittingSize: -
systemLayoutSizeFittingSize$1(
CGSize targetSize, {required double withHorizontalFittingPriority, required double verticalFittingPriority}) → CGSize -
Available on UIView, provided by the UIConstraintBasedLayoutFittingSize extension
systemLayoutSizeFittingSize:withHorizontalFittingPriority:verticalFittingPriority: -
targetForAction(
Pointer< ObjCSelector> action, {ObjCObjectBase? withSender}) → ObjCObjectBase? -
Available on UIResponder, provided by the UIResponder$Methods extension
targetForAction:withSender: -
tintColorDidChange(
) → void -
Available on UIView, provided by the UIViewRendering extension
tintColorDidChange -
toggleBoldface(
ObjCObjectBase? sender) → void -
Available on UIResponder, provided by the UIResponder$Methods extension
toggleBoldface: -
toggleItalics(
ObjCObjectBase? sender) → void -
Available on UIResponder, provided by the UIResponder$Methods extension
toggleItalics: -
toggleUnderline(
ObjCObjectBase? sender) → void -
Available on UIResponder, provided by the UIResponder$Methods extension
toggleUnderline: -
toString(
) → String -
A string representation of this object.
inherited
-
touchesBegan(
NSSet touches, {UIEvent? withEvent}) → void -
Available on UIResponder, provided by the UIResponder$Methods extension
touchesBegan:withEvent: -
touchesCancelled(
NSSet touches, {UIEvent? withEvent}) → void -
Available on UIResponder, provided by the UIResponder$Methods extension
touchesCancelled:withEvent: -
touchesEnded(
NSSet touches, {UIEvent? withEvent}) → void -
Available on UIResponder, provided by the UIResponder$Methods extension
touchesEnded:withEvent: -
touchesEstimatedPropertiesUpdated(
NSSet touches) → void -
Available on UIResponder, provided by the UIResponder$Methods extension
touchesEstimatedPropertiesUpdated: -
touchesMoved(
NSSet touches, {UIEvent? withEvent}) → void -
Available on UIResponder, provided by the UIResponder$Methods extension
touchesMoved:withEvent: -
traitCollectionDidChange(
UITraitCollection? previousTraitCollection) → void -
Available on UIView, provided by the UIView$Methods extension
! To be overridden as needed to provide custom behavior when the environment's traits change. -
updateConstraints(
) → void -
Available on UIView, provided by the UIConstraintBasedLayoutCoreMethods$1 extension
updateConstraints -
updateConstraintsIfNeeded(
) → void -
Available on UIView, provided by the UIConstraintBasedLayoutCoreMethods$1 extension
updateConstraintsIfNeeded -
updateFocusIfNeeded(
) → void -
Available on UIView, provided by the UIView$Methods extension
Forces focus to be updated immediately. If there is an environment that has requested a focus update via -setNeedsFocusUpdate, and the request was accepted, then focus will be updated to that environment or one of its preferred focus environments. NOTE: If you provide your own implementation, it must call[[UIFocusSystem focusSystemForEnvironment:self] updateFocusIfNeeded];
. -
updateTextAttributesWithConversionHandler(
ObjCBlock< NSDictionary Function(NSDictionary)> conversionHandler) → void -
Available on UIResponder, provided by the UIResponder$Methods extension
updateTextAttributesWithConversionHandler: -
updateUserActivityState(
NSUserActivity activity) → void -
Available on UIResponder, provided by the ActivityContinuation extension
updateUserActivityState: -
validateCommand(
UICommand command) → void -
Available on UIResponder, provided by the UIResponder$Methods extension
validateCommand: -
viewForBaselineLayout(
) → UIView -
Available on UIView, provided by the UIConstraintBasedLayoutLayering extension
viewForBaselineLayout -
viewWithTag(
int tag) → UIView? -
Available on UIView, provided by the UIViewHierarchy extension
viewWithTag: -
willMoveToSuperview(
UIView? newSuperview) → void -
Available on UIView, provided by the UIViewHierarchy extension
willMoveToSuperview: -
willMoveToWindow(
UIWindow? newWindow) → void -
Available on UIView, provided by the UIViewHierarchy extension
willMoveToWindow: -
willRemoveSubview(
UIView subview) → void -
Available on UIView, provided by the UIViewHierarchy extension
willRemoveSubview:
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getLayerClass(
) → ObjCObjectBase -
layerClass
override
-
isInstance(
ObjCObjectBase obj) → bool -
Returns whether
obj
is an instance of UIWindow.override -
userInterfaceLayoutDirectionForSemanticContentAttribute(
UISemanticContentAttribute attribute) → UIUserInterfaceLayoutDirection -
userInterfaceLayoutDirectionForSemanticContentAttribute:
override
-
userInterfaceLayoutDirectionForSemanticContentAttribute$1(
UISemanticContentAttribute semanticContentAttribute, {required UIUserInterfaceLayoutDirection relativeToLayoutDirection}) → UIUserInterfaceLayoutDirection -
userInterfaceLayoutDirectionForSemanticContentAttribute:relativeToLayoutDirection:
override