Package apple.uikit

Class UIAlertController

    • Constructor Detail

      • UIAlertController

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • alertControllerWithTitleMessagePreferredStyle

        public static UIAlertController alertControllerWithTitleMessagePreferredStyle​(@Nullable
                                                                                      @Nullable java.lang.String title,
                                                                                      @Nullable
                                                                                      @Nullable java.lang.String message,
                                                                                      long preferredStyle)
      • allocWithZone

        public static UIAlertController allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • attemptRotationToDeviceOrientation

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

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

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

        public static void clearTextInputContextIdentifier​(@NotNull
                                                           @NotNull 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

        @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)
      • superclass_static

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

        public static long version_static()
      • addAction

        public void addAction​(@NotNull
                              @NotNull UIAlertAction action)
      • initWithNibNameBundle

        public UIAlertController initWithNibNameBundle​(@Nullable
                                                       @Nullable java.lang.String nibNameOrNil,
                                                       @Nullable
                                                       @Nullable NSBundle nibBundleOrNil)
        Description copied from class: UIViewController
        The designated initializer. If you subclass UIViewController, you must call the super implementation of this method, even if you aren't using a NIB. (As a convenience, the default init method will do this for you, and specify nil for both of this methods arguments.) In the specified NIB, the File's Owner proxy should have its class set to your view controller subclass, with the view outlet connected to the main view. If you invoke this method with a nil nib name, then this class' -loadView method will attempt to load a NIB whose name is the same as your view controller's class. If no such NIB in fact exists then you must either call -setView: before -view is invoked, or override the -loadView method to set up your views programatically.
        Overrides:
        initWithNibNameBundle in class UIViewController
      • message

        @Nullable
        public @Nullable java.lang.String message()
      • preferredAction

        @Nullable
        public @Nullable UIAlertAction preferredAction()
        API-Since: 9.0
      • preferredStyle

        public long preferredStyle()
      • setMessage

        public void setMessage​(@Nullable
                               @Nullable java.lang.String value)
      • setPreferredAction

        public void setPreferredAction​(@Nullable
                                       @Nullable UIAlertAction value)
        API-Since: 9.0
      • setTitle

        public void setTitle​(@Nullable
                             @Nullable java.lang.String value)
        Description copied from class: UIViewController
        Localized title for use by a parent controller.
        Overrides:
        setTitle in class UIViewController
      • title

        @Nullable
        public @Nullable java.lang.String title()
        Description copied from class: UIViewController
        Localized title for use by a parent controller.
        Overrides:
        title in class UIViewController
      • setSeverity

        public void setSeverity​(long value)
        API-Since: 16.0
      • severity

        public long severity()
        API-Since: 16.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.