Package apple.uikit

Class UIFocusDebugger

  • All Implemented Interfaces:
    NSObject

    public class UIFocusDebugger
    extends NSObject
    UIFocusDebugger provides a collection of runtime utilities for debugging issues related to focus interaction. API-Since: 11.0
    • Constructor Detail

      • UIFocusDebugger

        protected UIFocusDebugger​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static UIFocusDebugger allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(@NotNull
                                                                                 @NotNull java.lang.Object aTarget,
                                                                                 @NotNull
                                                                                 @NotNull org.moe.natj.objc.SEL aSelector,
                                                                                 @Nullable
                                                                                 @Nullable java.lang.Object anArgument)
      • checkFocusabilityForItem

        @NotNull
        public static @NotNull UIFocusDebuggerOutput checkFocusabilityForItem​(@NotNull
                                                                              @NotNull UIFocusItem item)
        Outputs a diagnosis of the specified item's focusability, including any known issues that may be preventing focusability. - To use in Swift, enter `po UIFocusDebugger.checkFocusability(for: )` when paused in lldb. - To use in Objective-C, enter `po [UIFocusDebugger checkFocusabilityForItem:]` when paused in lldb.
      • classFallbacksForKeyedArchiver

        @NotNull
        public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • help

        @NotNull
        public static @NotNull UIFocusDebuggerOutput help()
        Outputs an overview of all supported debugging utilities and other relevant information. - To use in Swift, enter `po UIFocusDebugger.help()` when paused in lldb. - To use in Objective-C, enter `po [UIFocusDebugger help]` when paused in lldb.
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • simulateFocusUpdateRequestFromEnvironment

        @NotNull
        public static @NotNull UIFocusDebuggerOutput simulateFocusUpdateRequestFromEnvironment​(@NotNull
                                                                                               @NotNull UIFocusEnvironment environment)
        Simulates a fake focus update requested by the specified environment (e.g. `[environment setNeedsFocusUpdate]`), outlining each step of the process for determining the next focused item. - To use in Swift, enter `po UIFocusDebugger.simulateFocusUpdateRequest(from: )` when paused in lldb. - To use in Objective-C, enter `po [UIFocusDebugger simulateFocusUpdateRequestFromEnvironment:]` when paused in lldb.
      • status

        @NotNull
        public static @NotNull UIFocusDebuggerOutput status()
        Outputs information for the currently focused item. - To use in Swift, enter `po UIFocusDebugger.status()` when paused in lldb. - To use in Objective-C, enter `po [UIFocusDebugger status]` when paused in lldb.
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()
      • focusGroupsForEnvironment

        @NotNull
        public static @NotNull UIFocusDebuggerOutput focusGroupsForEnvironment​(@NotNull
                                                                               @NotNull UIFocusEnvironment environment)
        Outputs a diagnosis of the focus groups of the specified environment and its children. Pass a focus system as the environment to get the full focus group tree for this focus system. - To use in Swift, enter `po UIFocusDebugger.focusGroups(for: )` when paused in lldb. - To use in Objective-C, enter `po [UIFocusDebugger focusGroupsForEnvironment:]` when paused in lldb.
      • preferredFocusEnvironmentsForEnvironment

        @NotNull
        public static @NotNull UIFocusDebuggerOutput preferredFocusEnvironmentsForEnvironment​(@NotNull
                                                                                              @NotNull UIFocusEnvironment environment)
        Outputs a diagnoses of the preferred focus environments tree. - To use in Swift, enter `po UIFocusDebugger.preferredFocusEnvironments(for: )` when paused in lldb. - To use in Objective-C, enter `po [UIFocusDebugger preferredFocusEnvironmentsForEnvironment:]` when paused in lldb.
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.