Package apple.uikit

Class UISearchController

    • Constructor Detail

      • UISearchController

        protected UISearchController​(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)
      • attemptRotationToDeviceOrientation

        public static void attemptRotationToDeviceOrientation()
      • 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)
      • classFallbacksForKeyedArchiver

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

        public static org.moe.natj.objc.Class classForKeyedUnarchiver()
      • clearTextInputContextIdentifier

        public static void clearTextInputContextIdentifier​(java.lang.String identifier)
      • 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()
      • 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()
      • prepareInterstitialAds

        public static void prepareInterstitialAds()
      • 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)
      • superclass_static

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

        public static long version_static()
      • dimsBackgroundDuringPresentation

        public boolean dimsBackgroundDuringPresentation()
        default is YES, and has the same behavior as obscuresBackgroundDuringPresentation.
      • hidesNavigationBarDuringPresentation

        public boolean hidesNavigationBarDuringPresentation()
        default is YES
      • initWithSearchResultsController

        public UISearchController initWithSearchResultsController​(UIViewController searchResultsController)
        Pass nil if you wish to display search results in the same view that you are searching. This is not supported on tvOS; please provide a results controller on tvOS.
      • isActive

        public boolean isActive()
        Setting this property to YES is a convenience method that performs a default presentation of the search controller appropriate for how the controller is configured. Implement -presentSearchController: if the default presentation is not adequate.
      • setActive

        public void setActive​(boolean value)
        Setting this property to YES is a convenience method that performs a default presentation of the search controller appropriate for how the controller is configured. Implement -presentSearchController: if the default presentation is not adequate.
      • obscuresBackgroundDuringPresentation

        public boolean obscuresBackgroundDuringPresentation()
        default is YES. On tvOS, defaults to NO when contained in UISearchContainerViewController.
      • searchBar

        public UISearchBar searchBar()
        You are free to become the search bar's delegate to monitor for text changes and button presses.
      • searchResultsUpdater

        public UISearchResultsUpdating searchResultsUpdater()
        The object responsible for updating the content of the searchResultsController.
      • setDimsBackgroundDuringPresentation

        public void setDimsBackgroundDuringPresentation​(boolean value)
        default is YES, and has the same behavior as obscuresBackgroundDuringPresentation.
      • setHidesNavigationBarDuringPresentation

        public void setHidesNavigationBarDuringPresentation​(boolean value)
        default is YES
      • setObscuresBackgroundDuringPresentation

        public void setObscuresBackgroundDuringPresentation​(boolean value)
        default is YES. On tvOS, defaults to NO when contained in UISearchContainerViewController.
      • setSearchResultsUpdater_unsafe

        public void setSearchResultsUpdater_unsafe​(UISearchResultsUpdating value)
        The object responsible for updating the content of the searchResultsController.
      • setSearchResultsUpdater

        public void setSearchResultsUpdater​(UISearchResultsUpdating value)
        The object responsible for updating the content of the searchResultsController.
      • automaticallyShowsCancelButton

        public boolean automaticallyShowsCancelButton()
        Default YES
      • automaticallyShowsScopeBar

        public boolean automaticallyShowsScopeBar()
        Defaults to YES
      • automaticallyShowsSearchResultsController

        public boolean automaticallyShowsSearchResultsController()
        When true, UISearchController will automatically show its results controller based on the contents of its text property. Defaults to true. Setting the showsSearchResultsController property will change this property to false.
      • setAutomaticallyShowsCancelButton

        public void setAutomaticallyShowsCancelButton​(boolean value)
        Default YES
      • setAutomaticallyShowsScopeBar

        public void setAutomaticallyShowsScopeBar​(boolean value)
        Defaults to YES
      • setAutomaticallyShowsSearchResultsController

        public void setAutomaticallyShowsSearchResultsController​(boolean value)
        When true, UISearchController will automatically show its results controller based on the contents of its text property. Defaults to true. Setting the showsSearchResultsController property will change this property to false.
      • setShowsSearchResultsController

        public void setShowsSearchResultsController​(boolean value)
        Set this property to directly control the visibility of the search results controller. Setting this property changes the automaticallyShowsSearchResultsController property to false.
      • showsSearchResultsController

        public boolean showsSearchResultsController()
        Set this property to directly control the visibility of the search results controller. Setting this property changes the automaticallyShowsSearchResultsController property to false.