Skip to main content

UISplitViewControllerDelegate

Trait UISplitViewControllerDelegate 

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

Provided Methods§

Source

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

Available on crate features UIResponder and UIViewController only.
Source

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.
§Safety

sender should be of the correct type.

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.
§Safety

sender should be of the correct type.

Source

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

Available on crate features UIResponder and UIViewController only.
Source

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

Available on crate features UIResponder and UIViewController only.
Source

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

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

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

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

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

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

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

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

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

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

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

Available on crate features UIResponder and UIViewController only.
Source

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

Available on crate features UIResponder and UIViewController only.
Source

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

Available on crate features UIResponder and UIViewController only.
Source

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

Available on crate features UIResponder and UIViewController only.
Source

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

Available on crate features UIResponder and UIViewController only.
Source

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

Available on crate features UIResponder and UIViewController only.
Source

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

Available on crate features UIResponder and UIViewController only.
Source

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

Available on crate features UIResponder and UIViewController only.
Source

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

Available on crate features UIResponder and UIViewController only.
Source

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

Available on crate features UIResponder and UIViewController only.

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn UISplitViewControllerDelegate

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> UISplitViewControllerDelegate for ProtocolObject<T>

Implementors§