P
P
pryaniq2015-06-03 01:21:41
css
pryaniq, 2015-06-03 01:21:41

How to make a curved line by points using CoreGraphics in Swift?

There is an array with point values ​​for the graph. It is required to draw a line smoothly connecting these points using CoreGraphics.
Is it possible to set any properties in the UIBezierPath() class to implement the task? Or is there a more convenient solution?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
An, 2015-06-03
@Flanker_4

Recently I was just studying this issue I
stopped at https://github.com/core-plot/core-plot
There are examples there, either it is well customized.
Of the shortcomings - it is damn big and takes time to study. But in any case, it's faster than writing yourself + out of the box animations, gestures, support for mac os and ios 8

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question