pub unsafe trait UIPencilInteractionDelegate: NSObjectProtocol + IsMainThreadOnly {
// Provided methods
unsafe fn pencilInteractionDidTap(&self, interaction: &UIPencilInteraction)
where Self: Sized + Message { ... }
unsafe fn pencilInteraction_didReceiveTap(
&self,
interaction: &UIPencilInteraction,
tap: &UIPencilInteractionTap
)
where Self: Sized + Message { ... }
unsafe fn pencilInteraction_didReceiveSqueeze(
&self,
interaction: &UIPencilInteraction,
squeeze: &UIPencilInteractionSqueeze
)
where Self: Sized + Message { ... }
}
Available on crate feature
UIPencilInteraction
only.Provided Methods§
unsafe fn pencilInteractionDidTap(&self, interaction: &UIPencilInteraction)
👎Deprecated: Use pencilInteraction(_:didReceiveTap:) instead