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.
    • Constructor Detail

      • UIFocusDebugger

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

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

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

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

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

        public static UIFocusDebuggerOutput checkFocusabilityForItem​(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

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

        public static 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

        public static 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

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • 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

        public static UIFocusDebuggerOutput simulateFocusUpdateRequestFromEnvironment​(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

        public static 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()