ios - Best way to handle many sub UI elements in a UIView -


i have uiview should contained many different circular elements (as subview or sublayer). circular elements small shapes filled circle capability of taping on them , doing actions. can add them view cashapelayer or uiview, have no idea approach better in terms of performance.

the elements should animated when going appear @ first time! afterwards should recognize tap gesture on them. both uiview , cashapelayer or calayer objects capable of animation, considering count of these elements (which 30 items) , concurrence of animations, approach suggest considering performance , reliability issue?

i've searched around lot information not enough able make decision.

thanks in advance

you fine uiviews. tap gestures need them. there should not significant performance differences (if any) between 2 approaches.


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -