UI
-
Add this view to your view hierarchy to get going with Drawsana!
See moreDeclaration
-
Set yourself as the
See moreDrawsanaView
‘s delegate to be notified when the active tool changes.Declaration
Swift
public protocol DrawsanaViewDelegate : AnyObject
-
Small protocol wrapper around
DrawsanaView
that exposes just theDrawingView.rerenderAllShapesInefficiently()
method, so tools can notify the drawing view that a shape has changed outside of a tool operation.See
See moreDrawingTool.activate(shapeUpdater:context:shape:)
Declaration
Swift
public protocol DrawsanaViewShapeUpdating : AnyObject