pub unsafe trait UIObjectRestoration: MainThreadOnly {
// Provided method
unsafe fn objectWithRestorationIdentifierPath_coder(
identifier_components: &NSArray<NSString>,
coder: &NSCoder,
mtm: MainThreadMarker,
) -> Option<Retained<ProtocolObject<dyn UIStateRestoring>>>
where Self: Sized + ClassType { ... }
}
Available on crate feature
UIStateRestoration
only.