I am making use of swift 2.3 with TouchCanvas (Apple Pencil Sample App),
in which while drawing,
I am able to switch between pen/pencil/brush/eraser - thickness & colors and the same is applied correspondingly.
Now I upgraded to swift 3.0,
in which which drawing,
when switch between pen/pencil/brush/eraser - thickness & colors, the last picked one is applied to ALL.
and also tried apple latest pencil API..Results were same
can please any one tell me exact solution for this..
Ahhhh...After trying long hours ...found an solution..
Just one line on CanvasView.swift
or just commented the following line