An interface adopted by tools used by a canvas view.
- iOS 13.0+
- Mac Catalyst 13.0+
- Xcode 11.0+
Tools associated with a
PKCanvas adopt the
PKTool protocol. Tools are user-facing, and the selected tool determines how the canvas interprets incoming gestures.
Do not adopt this protocol in your own objects. Instead, create an appropriate tool object to obtain the tool behavior you want.