Answer the question
In order to leave comments, you need to log in
How to make drawing 2D graphs on obj-c?
Hello. There is a task to make a library that can be connected to the project for drawing simple two-dimensional graphs by points. I would be glad of any information on how to start doing this, otherwise I have no idea how to approach this issue.
Thank you.
Answer the question
In order to leave comments, you need to log in
Here the question is complex. If there is not a lot of data, and there is no need to implement scrolling and zooming, then simply:
1. Inherit UIView
2. Create storage for data - coordinates
3. In drawRect: draw the necessary lines, background, points and anything you want using Core Graphics
www.raywenderlich.com/tag/core-graphics will help
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question