/DrawingCanvas

Let's create a Drawing Canvas for Kids and anyone who loves to draw. The project supports both iPad and iPhone with all version and all kinds of orientation.

Primary LanguageSwift

DrawingCanvas

Here we will learn how to create a drawing canvas where you can draw anything with different colors, different stoke width with couple of additional functionality like clear the canvas, undo the last operation, change the back-ground theme etc.

It supports both iPhone and iPad with all orientation (portrait, landscape, upside down).

As iPad and iPhone upper versions like iPhone X, XR,XS, 8 Plus have enough space to draw. It's more convenient to draw.

Outputs:

***************************** iPad:

iphad-9 Simulator Screen Shot - iPad 2 - 2019-04-27 at 13 13 44 copy Simulator Screen Shot - iPad 2 - 2019-04-27 at 13 14 15 copy Simulator Screen Shot - iPad 2 - 2019-04-27 at 13 14 22 copy Simulator Screen Shot - iPad 2 - 2019-04-27 at 13 16 19 copy

**************************** iPhone:

simulator screen shot - iphone x - 2019-01-19 at 10 39 10 simulator screen shot - iphone x - 2019-01-19 at 10 39 14 simulator screen shot - iphone x - 2019-01-19 at 10 39 20 simulator screen shot - iphone x - 2019-01-19 at 10 57 47

Implementation:

  • use bezier path for drawing.