pub unsafe trait CPInterfaceControllerDelegate: NSObjectProtocol + MainThreadOnly {
// Provided methods
unsafe fn templateWillAppear_animated(
&self,
a_template: &CPTemplate,
animated: bool,
)
where Self: Sized + Message { ... }
unsafe fn templateDidAppear_animated(
&self,
a_template: &CPTemplate,
animated: bool,
)
where Self: Sized + Message { ... }
unsafe fn templateWillDisappear_animated(
&self,
a_template: &CPTemplate,
animated: bool,
)
where Self: Sized + Message { ... }
unsafe fn templateDidDisappear_animated(
&self,
a_template: &CPTemplate,
animated: bool,
)
where Self: Sized + Message { ... }
}Available on crate feature
CPInterfaceController only.Expand description
CPInterfaceControllerDelegate allows your app to observe template visibility lifecycles for the templates presented by your app.
See also Apple’s documentation
Provided Methods§
unsafe fn templateWillAppear_animated( &self, a_template: &CPTemplate, animated: bool, )
Available on crate feature
CPTemplate only.unsafe fn templateDidAppear_animated( &self, a_template: &CPTemplate, animated: bool, )
Available on crate feature
CPTemplate only.unsafe fn templateWillDisappear_animated( &self, a_template: &CPTemplate, animated: bool, )
Available on crate feature
CPTemplate only.unsafe fn templateDidDisappear_animated( &self, a_template: &CPTemplate, animated: bool, )
Available on crate feature
CPTemplate only.