Contents

PKTool

An interface adopted by drawing and writing tools used by a canvas view.

Declaration

protocol PKTool

Overview

Drawing and writing tools associated with a PKCanvasView adopt the PKTool protocol. Tools are user-facing, and the selected tool determines how the canvas interprets incoming gestures.

Don’t adopt this protocol in your own objects. Instead, create a tool object to provide users with the desired the tool behavior.

See Also

Tools