pub unsafe trait UIViewControllerRestoration: IsMainThreadOnly {
// Provided method
unsafe fn viewControllerWithRestorationIdentifierPath_coder(
identifier_components: &NSArray<NSString>,
coder: &NSCoder,
mtm: MainThreadMarker
) -> Option<Retained<UIViewController>>
where Self: Sized + ClassType { ... }
}
Available on crate feature
UIStateRestoration
only.Provided Methods§
unsafe fn viewControllerWithRestorationIdentifierPath_coder( identifier_components: &NSArray<NSString>, coder: &NSCoder, mtm: MainThreadMarker ) -> Option<Retained<UIViewController>>
Available on crate features
UIResponder
and UIViewController
only.