objective c - how to draw a line follow the ball on animation,like Discovr app? -


how draw line follow ball on animation,like discovr app ?

i want make app discovr,have balls float , connect lines.

how can redraw lines when balls moving?

i use uiview animation on balls.

thanks.

i suggest using cashapelayer. shape layer takes cgpath, , animate changes path long changed path contains same number of points/lines/arcs.

you animate movement of balls , create animated change shape layer moves endpoints of lines @ same time.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -