objective c - Ideas for programming a scrolling tag cloud on iPhone? -
given collection of word objects, want display scrollable tag cloud similar shown below. word class has properties name , rank determine sorting , weighting of fonts. each word should selectable object (for invoking event). since collection can contain thousands of objects, need manage words presented in view (i.e., scroll off bottom or top of screen, no longer care them).
how approach this?
put html-formatted text uiwebview
javascript scrolls on timed basis. might able handle touch events on elements via javascript bridge.
failing that, you'll need bunch of uilabel
elements of various sizes, , layout manager positions them appropriately, lot more work.
Comments
Post a Comment