Trait UISplitViewControllerDelegate

Source
pub unsafe trait UISplitViewControllerDelegate: MainThreadOnly {
Show 22 methods // Provided methods unsafe fn splitViewController_willChangeToDisplayMode( &self, svc: &UISplitViewController, display_mode: UISplitViewControllerDisplayMode, ) where Self: Sized + Message { ... } unsafe fn targetDisplayModeForActionInSplitViewController( &self, svc: &UISplitViewController, ) -> UISplitViewControllerDisplayMode where Self: Sized + Message { ... } unsafe fn splitViewController_showViewController_sender( &self, split_view_controller: &UISplitViewController, vc: &UIViewController, sender: Option<&AnyObject>, ) -> bool where Self: Sized + Message { ... } unsafe fn splitViewController_showDetailViewController_sender( &self, split_view_controller: &UISplitViewController, vc: &UIViewController, sender: Option<&AnyObject>, ) -> bool where Self: Sized + Message { ... } unsafe fn primaryViewControllerForCollapsingSplitViewController( &self, split_view_controller: &UISplitViewController, ) -> Option<Retained<UIViewController>> where Self: Sized + Message { ... } unsafe fn primaryViewControllerForExpandingSplitViewController( &self, split_view_controller: &UISplitViewController, ) -> Option<Retained<UIViewController>> where Self: Sized + Message { ... } unsafe fn splitViewController_collapseSecondaryViewController_ontoPrimaryViewController( &self, split_view_controller: &UISplitViewController, secondary_view_controller: &UIViewController, primary_view_controller: &UIViewController, ) -> bool where Self: Sized + Message { ... } unsafe fn splitViewController_separateSecondaryViewControllerFromPrimaryViewController( &self, split_view_controller: &UISplitViewController, primary_view_controller: &UIViewController, ) -> Option<Retained<UIViewController>> where Self: Sized + Message { ... } unsafe fn splitViewControllerSupportedInterfaceOrientations( &self, split_view_controller: &UISplitViewController, ) -> UIInterfaceOrientationMask where Self: Sized + Message { ... } unsafe fn splitViewControllerPreferredInterfaceOrientationForPresentation( &self, split_view_controller: &UISplitViewController, ) -> UIInterfaceOrientation where Self: Sized + Message { ... } unsafe fn splitViewController_willHideViewController_withBarButtonItem_forPopoverController( &self, svc: &UISplitViewController, a_view_controller: &UIViewController, bar_button_item: &UIBarButtonItem, pc: &UIPopoverController, ) where Self: Sized + Message { ... } unsafe fn splitViewController_willShowViewController_invalidatingBarButtonItem( &self, svc: &UISplitViewController, a_view_controller: &UIViewController, bar_button_item: &UIBarButtonItem, ) where Self: Sized + Message { ... } unsafe fn splitViewController_popoverController_willPresentViewController( &self, svc: &UISplitViewController, pc: &UIPopoverController, a_view_controller: &UIViewController, ) where Self: Sized + Message { ... } unsafe fn splitViewController_shouldHideViewController_inOrientation( &self, svc: &UISplitViewController, vc: &UIViewController, orientation: UIInterfaceOrientation, ) -> bool where Self: Sized + Message { ... } unsafe fn splitViewController_topColumnForCollapsingToProposedTopColumn( &self, svc: &UISplitViewController, proposed_top_column: UISplitViewControllerColumn, ) -> UISplitViewControllerColumn where Self: Sized + Message { ... } unsafe fn splitViewController_displayModeForExpandingToProposedDisplayMode( &self, svc: &UISplitViewController, proposed_display_mode: UISplitViewControllerDisplayMode, ) -> UISplitViewControllerDisplayMode where Self: Sized + Message { ... } unsafe fn splitViewControllerDidCollapse(&self, svc: &UISplitViewController) where Self: Sized + Message { ... } unsafe fn splitViewControllerDidExpand(&self, svc: &UISplitViewController) where Self: Sized + Message { ... } unsafe fn splitViewController_willShowColumn( &self, svc: &UISplitViewController, column: UISplitViewControllerColumn, ) where Self: Sized + Message { ... } unsafe fn splitViewController_willHideColumn( &self, svc: &UISplitViewController, column: UISplitViewControllerColumn, ) where Self: Sized + Message { ... } unsafe fn splitViewControllerInteractivePresentationGestureWillBegin( &self, svc: &UISplitViewController, ) where Self: Sized + Message { ... } unsafe fn splitViewControllerInteractivePresentationGestureDidEnd( &self, svc: &UISplitViewController, ) where Self: Sized + Message { ... }
}
Available on crate feature UISplitViewController only.
Expand description

Provided Methods§

Source

unsafe fn splitViewController_willChangeToDisplayMode( &self, svc: &UISplitViewController, display_mode: UISplitViewControllerDisplayMode, )
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController only.
Source

unsafe fn targetDisplayModeForActionInSplitViewController( &self, svc: &UISplitViewController, ) -> UISplitViewControllerDisplayMode
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController only.
Source

unsafe fn splitViewController_showViewController_sender( &self, split_view_controller: &UISplitViewController, vc: &UIViewController, sender: Option<&AnyObject>, ) -> bool
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController only.
Source

unsafe fn splitViewController_showDetailViewController_sender( &self, split_view_controller: &UISplitViewController, vc: &UIViewController, sender: Option<&AnyObject>, ) -> bool
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController only.
Source

unsafe fn primaryViewControllerForCollapsingSplitViewController( &self, split_view_controller: &UISplitViewController, ) -> Option<Retained<UIViewController>>
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController only.
Source

unsafe fn primaryViewControllerForExpandingSplitViewController( &self, split_view_controller: &UISplitViewController, ) -> Option<Retained<UIViewController>>
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController only.
Source

unsafe fn splitViewController_collapseSecondaryViewController_ontoPrimaryViewController( &self, split_view_controller: &UISplitViewController, secondary_view_controller: &UIViewController, primary_view_controller: &UIViewController, ) -> bool
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController only.
Source

unsafe fn splitViewController_separateSecondaryViewControllerFromPrimaryViewController( &self, split_view_controller: &UISplitViewController, primary_view_controller: &UIViewController, ) -> Option<Retained<UIViewController>>
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController only.
Source

unsafe fn splitViewControllerSupportedInterfaceOrientations( &self, split_view_controller: &UISplitViewController, ) -> UIInterfaceOrientationMask
where Self: Sized + Message,

Available on crate features UIOrientation and UIResponder and UIViewController only.
Source

unsafe fn splitViewControllerPreferredInterfaceOrientationForPresentation( &self, split_view_controller: &UISplitViewController, ) -> UIInterfaceOrientation
where Self: Sized + Message,

Available on crate features UIOrientation and UIResponder and UIViewController only.
Source

unsafe fn splitViewController_willHideViewController_withBarButtonItem_forPopoverController( &self, svc: &UISplitViewController, a_view_controller: &UIViewController, bar_button_item: &UIBarButtonItem, pc: &UIPopoverController, )
where Self: Sized + Message,

👎Deprecated: Use splitViewController:willChangeToDisplayMode: and displayModeButtonItem instead
Available on crate features UIBarButtonItem and UIBarItem and UIPopoverController and UIResponder and UIViewController only.
Source

unsafe fn splitViewController_willShowViewController_invalidatingBarButtonItem( &self, svc: &UISplitViewController, a_view_controller: &UIViewController, bar_button_item: &UIBarButtonItem, )
where Self: Sized + Message,

👎Deprecated: Use splitViewController:willChangeToDisplayMode: and displayModeButtonItem instead
Available on crate features UIBarButtonItem and UIBarItem and UIResponder and UIViewController only.
Source

unsafe fn splitViewController_popoverController_willPresentViewController( &self, svc: &UISplitViewController, pc: &UIPopoverController, a_view_controller: &UIViewController, )
where Self: Sized + Message,

👎Deprecated
Available on crate features UIPopoverController and UIResponder and UIViewController only.
Source

unsafe fn splitViewController_shouldHideViewController_inOrientation( &self, svc: &UISplitViewController, vc: &UIViewController, orientation: UIInterfaceOrientation, ) -> bool
where Self: Sized + Message,

👎Deprecated
Available on crate features UIOrientation and UIResponder and UIViewController only.
Source

unsafe fn splitViewController_topColumnForCollapsingToProposedTopColumn( &self, svc: &UISplitViewController, proposed_top_column: UISplitViewControllerColumn, ) -> UISplitViewControllerColumn
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController only.
Source

unsafe fn splitViewController_displayModeForExpandingToProposedDisplayMode( &self, svc: &UISplitViewController, proposed_display_mode: UISplitViewControllerDisplayMode, ) -> UISplitViewControllerDisplayMode
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController only.
Source

unsafe fn splitViewControllerDidCollapse(&self, svc: &UISplitViewController)
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController only.
Source

unsafe fn splitViewControllerDidExpand(&self, svc: &UISplitViewController)
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController only.
Source

unsafe fn splitViewController_willShowColumn( &self, svc: &UISplitViewController, column: UISplitViewControllerColumn, )
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController only.
Source

unsafe fn splitViewController_willHideColumn( &self, svc: &UISplitViewController, column: UISplitViewControllerColumn, )
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController only.
Source

unsafe fn splitViewControllerInteractivePresentationGestureWillBegin( &self, svc: &UISplitViewController, )
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController only.
Source

unsafe fn splitViewControllerInteractivePresentationGestureDidEnd( &self, svc: &UISplitViewController, )
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController only.

Trait Implementations§

Source§

impl ProtocolType for dyn UISplitViewControllerDelegate

Source§

const NAME: &'static str = "UISplitViewControllerDelegate"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn UISplitViewControllerDelegate

Implementations on Foreign Types§

Source§

impl<T> UISplitViewControllerDelegate for ProtocolObject<T>

Implementors§