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?

alt text

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

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -