4

I need to implement on-screen drawing feature within one of my apps. I would imagine it would be an on-screen transparent overlay. I'm looking to be able to trace the finger path and leave a line, select colors and have erase/undo feature. I did some research of what's currently on the app store, and a lot of those apps look similar and use similar brushes.

Something tells me that they look too much alike for this to be a coincidence. Does apple provide any built-in finger painting canvas, or are there some widely-known open source projects for on-screen drawing?

Thank you!

Alex Stone
  • 46,408
  • 55
  • 231
  • 407

2 Answers2

4

I ran into the same thing while looking for examples when I got started with drawing, so I released my efforts as a sample project called SimpleDrawing. I tried to keep things basic while supporting most/all of the standard drawing tools and operations.

Nathanial Woolls
  • 5,231
  • 24
  • 32
2

There is the GLPaint project, which you can get here.

Other than that, you could use CoreGraphics & -touchesBegan:withEvent: if you wanted.

Richard J. Ross III
  • 55,009
  • 24
  • 135
  • 201