pub unsafe trait UISpringLoadedInteractionBehavior: NSObjectProtocol + IsMainThreadOnly {
// Provided methods
unsafe fn shouldAllowInteraction_withContext(
&self,
interaction: &UISpringLoadedInteraction,
context: &ProtocolObject<dyn UISpringLoadedInteractionContext>
) -> bool
where Self: Sized + Message { ... }
unsafe fn interactionDidFinish(
&self,
interaction: &UISpringLoadedInteraction
)
where Self: Sized + Message { ... }
}
Available on crate feature
UISpringLoadedInteraction
only.