pub unsafe trait UIShapeProvider: NSObjectProtocol {
// Provided method
fn resolvedShapeInContext(
&self,
context: &UIShapeResolutionContext,
) -> Retained<UIResolvedShape>
where Self: Sized + Message { ... }
}Available on crate feature
UIShape only.Expand description
A type that can provide a custom UIShape, resolved dynamically based on
context.
See also Apple’s documentation
Provided Methods§
Sourcefn resolvedShapeInContext(
&self,
context: &UIShapeResolutionContext,
) -> Retained<UIResolvedShape>
fn resolvedShapeInContext( &self, context: &UIShapeResolutionContext, ) -> Retained<UIResolvedShape>
Resolves this shape in the provided context.