Interface UIFocusItem

    • Method Detail

      • canBecomeFocused

        boolean canBecomeFocused()
        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.
      • didHintFocusMovement

        default void didHintFocusMovement​(UIFocusMovementHint hint)
        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.
      • frame

        CGRect frame()
        The geometric frame of this item, represented in the `coordinateSpace` of the UIFocusItemContainer in which it is contained.