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§
fn splitViewController_willChangeToDisplayMode( &self, svc: &UISplitViewController, display_mode: UISplitViewControllerDisplayMode, )
Available on crate features
UIResponder and UIViewController only.fn targetDisplayModeForActionInSplitViewController( &self, svc: &UISplitViewController, ) -> UISplitViewControllerDisplayMode
Available on crate features
UIResponder and UIViewController only.Sourceunsafe fn splitViewController_showViewController_sender(
&self,
split_view_controller: &UISplitViewController,
vc: &UIViewController,
sender: Option<&AnyObject>,
) -> bool
Available on crate features UIResponder and UIViewController only.
unsafe fn splitViewController_showViewController_sender( &self, split_view_controller: &UISplitViewController, vc: &UIViewController, sender: Option<&AnyObject>, ) -> bool
UIResponder and UIViewController only.§Safety
sender should be of the correct type.
Sourceunsafe fn splitViewController_showDetailViewController_sender(
&self,
split_view_controller: &UISplitViewController,
vc: &UIViewController,
sender: Option<&AnyObject>,
) -> bool
Available on crate features UIResponder and UIViewController only.
unsafe fn splitViewController_showDetailViewController_sender( &self, split_view_controller: &UISplitViewController, vc: &UIViewController, sender: Option<&AnyObject>, ) -> bool
UIResponder and UIViewController only.§Safety
sender should be of the correct type.
fn primaryViewControllerForCollapsingSplitViewController( &self, split_view_controller: &UISplitViewController, ) -> Option<Retained<UIViewController>>
Available on crate features
UIResponder and UIViewController only.fn primaryViewControllerForExpandingSplitViewController( &self, split_view_controller: &UISplitViewController, ) -> Option<Retained<UIViewController>>
Available on crate features
UIResponder and UIViewController only.fn splitViewController_collapseSecondaryViewController_ontoPrimaryViewController( &self, split_view_controller: &UISplitViewController, secondary_view_controller: &UIViewController, primary_view_controller: &UIViewController, ) -> bool
Available on crate features
UIResponder and UIViewController only.fn splitViewController_separateSecondaryViewControllerFromPrimaryViewController( &self, split_view_controller: &UISplitViewController, primary_view_controller: &UIViewController, ) -> Option<Retained<UIViewController>>
Available on crate features
UIResponder and UIViewController only.fn splitViewControllerSupportedInterfaceOrientations( &self, split_view_controller: &UISplitViewController, ) -> UIInterfaceOrientationMask
Available on crate features
UIOrientation and UIResponder and UIViewController only.fn splitViewControllerPreferredInterfaceOrientationForPresentation( &self, split_view_controller: &UISplitViewController, ) -> UIInterfaceOrientation
Available on crate features
UIOrientation and UIResponder and UIViewController only.fn splitViewController_willHideViewController_withBarButtonItem_forPopoverController( &self, svc: &UISplitViewController, a_view_controller: &UIViewController, bar_button_item: &UIBarButtonItem, pc: &UIPopoverController, )
👎Deprecated:
Use splitViewController:willChangeToDisplayMode: and displayModeButtonItem instead
Available on crate features
UIBarButtonItem and UIBarItem and UIPopoverController and UIResponder and UIViewController only.fn splitViewController_willShowViewController_invalidatingBarButtonItem( &self, svc: &UISplitViewController, a_view_controller: &UIViewController, bar_button_item: &UIBarButtonItem, )
👎Deprecated:
Use splitViewController:willChangeToDisplayMode: and displayModeButtonItem instead
Available on crate features
UIBarButtonItem and UIBarItem and UIResponder and UIViewController only.fn splitViewController_popoverController_willPresentViewController( &self, svc: &UISplitViewController, pc: &UIPopoverController, a_view_controller: &UIViewController, )
👎Deprecated
Available on crate features
UIPopoverController and UIResponder and UIViewController only.fn splitViewController_shouldHideViewController_inOrientation( &self, svc: &UISplitViewController, vc: &UIViewController, orientation: UIInterfaceOrientation, ) -> bool
👎Deprecated
Available on crate features
UIOrientation and UIResponder and UIViewController only.fn splitViewController_topColumnForCollapsingToProposedTopColumn( &self, svc: &UISplitViewController, proposed_top_column: UISplitViewControllerColumn, ) -> UISplitViewControllerColumn
Available on crate features
UIResponder and UIViewController only.fn splitViewController_displayModeForExpandingToProposedDisplayMode( &self, svc: &UISplitViewController, proposed_display_mode: UISplitViewControllerDisplayMode, ) -> UISplitViewControllerDisplayMode
Available on crate features
UIResponder and UIViewController only.fn splitViewControllerDidCollapse(&self, svc: &UISplitViewController)
Available on crate features
UIResponder and UIViewController only.fn splitViewControllerDidExpand(&self, svc: &UISplitViewController)
Available on crate features
UIResponder and UIViewController only.fn splitViewController_willShowColumn( &self, svc: &UISplitViewController, column: UISplitViewControllerColumn, )
Available on crate features
UIResponder and UIViewController only.fn splitViewController_willHideColumn( &self, svc: &UISplitViewController, column: UISplitViewControllerColumn, )
Available on crate features
UIResponder and UIViewController only.fn splitViewController_didShowColumn( &self, svc: &UISplitViewController, column: UISplitViewControllerColumn, )
Available on crate features
UIResponder and UIViewController only.fn splitViewController_didHideColumn( &self, svc: &UISplitViewController, column: UISplitViewControllerColumn, )
Available on crate features
UIResponder and UIViewController only.fn splitViewControllerInteractivePresentationGestureWillBegin( &self, svc: &UISplitViewController, )
Available on crate features
UIResponder and UIViewController only.fn splitViewControllerInteractivePresentationGestureDidEnd( &self, svc: &UISplitViewController, )
Available on crate features
UIResponder and UIViewController only.Trait Implementations§
impl<T> ImplementedBy<T> for dyn UISplitViewControllerDelegate
Source§impl ProtocolType for dyn UISplitViewControllerDelegate
impl ProtocolType for dyn UISplitViewControllerDelegate
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".