pub unsafe trait UIIndirectScribbleInteractionDelegate: NSObjectProtocol + IsMainThreadOnly {
// Provided methods
unsafe fn indirectScribbleInteraction_requestElementsInRect_completion(
&self,
interaction: &UIIndirectScribbleInteraction,
rect: CGRect,
completion: &Block<dyn Fn(NonNull<NSArray<UIScribbleElementIdentifier>>)>
)
where Self: Sized + Message { ... }
unsafe fn indirectScribbleInteraction_isElementFocused(
&self,
interaction: &UIIndirectScribbleInteraction,
element_identifier: &UIScribbleElementIdentifier
) -> bool
where Self: Sized + Message { ... }
unsafe fn indirectScribbleInteraction_frameForElement(
&self,
interaction: &UIIndirectScribbleInteraction,
element_identifier: &UIScribbleElementIdentifier
) -> CGRect
where Self: Sized + Message { ... }
unsafe fn indirectScribbleInteraction_focusElementIfNeeded_referencePoint_completion(
&self,
interaction: &UIIndirectScribbleInteraction,
element_identifier: &UIScribbleElementIdentifier,
focus_reference_point: CGPoint,
completion: &Block<dyn Fn(*mut UIResponder)>
)
where Self: Sized + Message { ... }
unsafe fn indirectScribbleInteraction_shouldDelayFocusForElement(
&self,
interaction: &UIIndirectScribbleInteraction,
element_identifier: &UIScribbleElementIdentifier
) -> bool
where Self: Sized + Message { ... }
unsafe fn indirectScribbleInteraction_willBeginWritingInElement(
&self,
interaction: &UIIndirectScribbleInteraction,
element_identifier: &UIScribbleElementIdentifier
)
where Self: Sized + Message { ... }
unsafe fn indirectScribbleInteraction_didFinishWritingInElement(
&self,
interaction: &UIIndirectScribbleInteraction,
element_identifier: &UIScribbleElementIdentifier
)
where Self: Sized + Message { ... }
}Available on crate feature
UIIndirectScribbleInteraction only.Provided Methods§
unsafe fn indirectScribbleInteraction_requestElementsInRect_completion( &self, interaction: &UIIndirectScribbleInteraction, rect: CGRect, completion: &Block<dyn Fn(NonNull<NSArray<UIScribbleElementIdentifier>>)> )
Available on crate feature
block2 only.unsafe fn indirectScribbleInteraction_isElementFocused( &self, interaction: &UIIndirectScribbleInteraction, element_identifier: &UIScribbleElementIdentifier ) -> bool
unsafe fn indirectScribbleInteraction_frameForElement( &self, interaction: &UIIndirectScribbleInteraction, element_identifier: &UIScribbleElementIdentifier ) -> CGRect
unsafe fn indirectScribbleInteraction_focusElementIfNeeded_referencePoint_completion( &self, interaction: &UIIndirectScribbleInteraction, element_identifier: &UIScribbleElementIdentifier, focus_reference_point: CGPoint, completion: &Block<dyn Fn(*mut UIResponder)> )
Available on crate features
UIResponder and UITextInput and UITextInputTraits and block2 only.