Package apple.uikit

Class UISplitViewController

    • Constructor Detail

      • UISplitViewController

        protected UISplitViewController​(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()
      • displayMode

        public long displayMode()
        The actual current displayMode of the split view controller. This will never return `UISplitViewControllerDisplayModeAutomatic`.
      • displayModeButtonItem

        public UIBarButtonItem displayModeButtonItem()
        A system bar button item whose action will change the displayMode property depending on the result of targetDisplayModeForActionInSplitViewController:. When inserted into the navigation bar of the secondary view controller it will change its appearance to match its target display mode. When the target displayMode is PrimaryHidden, this will appear as a fullscreen button, for AllVisible or PrimaryOverlay it will appear as a Back button, and when it won't cause any action it will become hidden.
      • initWithNibNameBundle

        public UISplitViewController initWithNibNameBundle​(java.lang.String nibNameOrNil,
                                                           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
      • isCollapsed

        public boolean isCollapsed()
        Specifies whether the split view controller has collapsed its primary and secondary view controllers together
      • maximumPrimaryColumnWidth

        public double maximumPrimaryColumnWidth()
        default: UISplitViewControllerAutomaticDimension
      • minimumPrimaryColumnWidth

        public double minimumPrimaryColumnWidth()
        default: UISplitViewControllerAutomaticDimension
      • preferredDisplayMode

        public long preferredDisplayMode()
        An animatable property that controls how the primary view controller is hidden and displayed. A value of `UISplitViewControllerDisplayModeAutomatic` specifies the default behavior split view controller, which on an iPad, corresponds to an overlay mode in portrait and a side-by-side mode in landscape.
      • preferredPrimaryColumnWidthFraction

        public double preferredPrimaryColumnWidthFraction()
        default: UISplitViewControllerAutomaticDimension
      • presentsWithGesture

        public boolean presentsWithGesture()
        If 'YES', hidden view can be presented and dismissed via a swipe gesture. Defaults to 'YES'.
      • primaryColumnWidth

        public double primaryColumnWidth()
        The current primary view controller's column width.
      • setMaximumPrimaryColumnWidth

        public void setMaximumPrimaryColumnWidth​(double value)
        default: UISplitViewControllerAutomaticDimension
      • setMinimumPrimaryColumnWidth

        public void setMinimumPrimaryColumnWidth​(double value)
        default: UISplitViewControllerAutomaticDimension
      • setPreferredDisplayMode

        public void setPreferredDisplayMode​(long value)
        An animatable property that controls how the primary view controller is hidden and displayed. A value of `UISplitViewControllerDisplayModeAutomatic` specifies the default behavior split view controller, which on an iPad, corresponds to an overlay mode in portrait and a side-by-side mode in landscape.
      • setPreferredPrimaryColumnWidthFraction

        public void setPreferredPrimaryColumnWidthFraction​(double value)
        default: UISplitViewControllerAutomaticDimension
      • setPresentsWithGesture

        public void setPresentsWithGesture​(boolean value)
        If 'YES', hidden view can be presented and dismissed via a swipe gesture. Defaults to 'YES'.
      • setViewControllers

        public void setViewControllers​(NSArray<? extends UIViewController> value)
        -setViewController:forColumn:/-viewControllerForColumn: recommended for column-style UISplitViewController
      • showDetailViewControllerSender

        public void showDetailViewControllerSender​(UIViewController vc,
                                                   java.lang.Object sender)
        In a horizontally-regular environment this will set the detail view controller unless it provided an implementation for showViewController:sender: in which case it will be called. In a horizontally-compact environment the master view controller or detail view controller is sent the showViewController:sender: message. If neither one of them provide an implementation for this method then it will fall back to a full screen presentation.
        Overrides:
        showDetailViewControllerSender in class UIViewController
      • showViewControllerSender

        public void showViewControllerSender​(UIViewController vc,
                                             java.lang.Object sender)
        In a horizontally-regular environment this will set either the master or detail view controller depending on the original target. In a compact environment this defaults to a full screen presentation. In general the master or detail view controller will have implemented showViewController:sender: so this method would not be invoked.
        Overrides:
        showViewControllerSender in class UIViewController
      • viewControllers

        public NSArray<? extends UIViewController> viewControllers()
        -setViewController:forColumn:/-viewControllerForColumn: recommended for column-style UISplitViewController
      • primaryEdge

        public long primaryEdge()
        default: UISplitViewControllerPrimaryEdgeLeading
      • setPrimaryEdge

        public void setPrimaryEdge​(long value)
        default: UISplitViewControllerPrimaryEdgeLeading
      • primaryBackgroundStyle

        public long primaryBackgroundStyle()
        The background style of the primary view controller.
      • setPrimaryBackgroundStyle

        public void setPrimaryBackgroundStyle​(long value)
        The background style of the primary view controller.
      • hideColumn

        public void hideColumn​(long column)
        -hideColumn: and -showColumn: do not accept the Compact column Collapsed: -hideColumn: always ignored for the Primary column, or if the requested column is not on top; otherwise the column is popped -showColumn: pushes the column (and any intervening columns) if the column is not in the stack; does nothing if the column is on top; pops any covering columns if the column is in the stack but not on top Expanded: -hideColumn: ignored for the Secondary column; ignored when the column is not visible in the current displayMode; otherwise animates to the nearest displayMode where the column is not visible -showColumn: ignored for the Secondary column; ignored when the column is already visible in the current displayMode; otherwise animates to the nearest displayMode where the column is visible If an animation is started due to -show/hideColumn:, the transitionCoordinator for the UISplitViewController is available following the -show/hideColumn: message.
      • maximumSupplementaryColumnWidth

        public double maximumSupplementaryColumnWidth()
      • minimumSupplementaryColumnWidth

        public double minimumSupplementaryColumnWidth()
      • preferredPrimaryColumnWidth

        public double preferredPrimaryColumnWidth()
        default: UISplitViewControllerAutomaticDimension
      • preferredSplitBehavior

        public long preferredSplitBehavior()
        default Automatic, actual behavior will be determined by width buckets and view aspect ration
      • preferredSupplementaryColumnWidth

        public double preferredSupplementaryColumnWidth()
      • preferredSupplementaryColumnWidthFraction

        public double preferredSupplementaryColumnWidthFraction()
        Same as the "Primary" versions but applying to the Supplementary column for the triple-column style UISplitViewController
      • setMaximumSupplementaryColumnWidth

        public void setMaximumSupplementaryColumnWidth​(double value)
      • setMinimumSupplementaryColumnWidth

        public void setMinimumSupplementaryColumnWidth​(double value)
      • setPreferredPrimaryColumnWidth

        public void setPreferredPrimaryColumnWidth​(double value)
        default: UISplitViewControllerAutomaticDimension
      • setPreferredSplitBehavior

        public void setPreferredSplitBehavior​(long value)
        default Automatic, actual behavior will be determined by width buckets and view aspect ration
      • setPreferredSupplementaryColumnWidth

        public void setPreferredSupplementaryColumnWidth​(double value)
      • setPreferredSupplementaryColumnWidthFraction

        public void setPreferredSupplementaryColumnWidthFraction​(double value)
        Same as the "Primary" versions but applying to the Supplementary column for the triple-column style UISplitViewController
      • setShowsSecondaryOnlyButton

        public void setShowsSecondaryOnlyButton​(boolean value)
        Default NO. The secondary-only shortcut button is applicable only for UISplitViewControllerStyleTripleColumn
      • setViewControllerForColumn

        public void setViewControllerForColumn​(UIViewController vc,
                                               long column)
        If the vc is not a UINavigationController, one will be created, except for UISplitViewControllerColumnCompact.
      • showColumn

        public void showColumn​(long column)
      • showsSecondaryOnlyButton

        public boolean showsSecondaryOnlyButton()
        Default NO. The secondary-only shortcut button is applicable only for UISplitViewControllerStyleTripleColumn
      • splitBehavior

        public long splitBehavior()
      • style

        public long style()
        For information only, will not be called from UIKit code
      • supplementaryColumnWidth

        public double supplementaryColumnWidth()
      • viewControllerForColumn

        public UIViewController viewControllerForColumn​(long column)