Question

I'm a junior iOS Developer and I have the requirements for a drawing app I need to build for my employee. I need to be able to add graphic elements on the canvas on different layers. These elements might include a straight line between 2 or more points (where the user is tapping), another type of lines that can be curved by the user when dragging the middle of the line, shapes and graphic elements that can be rotated and resized, ability to change the border color, fill color and so on. Also, I need the ability to zoom into the canvas and scroll left-right, up-down when is zoom in. I need the ability to select an element that is on a lower level layer and edit it or delete it.

My questions:

Do I use Core Graphics SpriteKit?

Can you point me to some tutorials or some resources on how to do this?

Thank you!

enter image description here

Était-ce utile?

La solution

As you have described the problem, it would be more natural to use Core Graphics or perhaps SpriteKit (depending on the interactions with your graphics).

UIKit does not strike me as an obvious go-to framework for this problem.

Licencié sous: CC-BY-SA avec attribution
Non affilié à apple.stackexchange
scroll top