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.Expand description
Provided Methods§
Sourceunsafe fn objectWithRestorationIdentifierPath_coder(
identifier_components: &NSArray<NSString>,
coder: &NSCoder,
mtm: MainThreadMarker,
) -> Option<Retained<ProtocolObject<dyn UIStateRestoring>>>
unsafe fn objectWithRestorationIdentifierPath_coder( identifier_components: &NSArray<NSString>, coder: &NSCoder, mtm: MainThreadMarker, ) -> Option<Retained<ProtocolObject<dyn UIStateRestoring>>>
§Safety
coder possibly has further requirements.