title: large amount of small objects in UISCrollView
body: <p>We've got the following problem. We need to display ScrollView content, consisting of a large amount of small objects (guitar tablature and notes) like shown on this screenshot <a href="http://www.iphones.ru/forum/index.php?app=core&amp;module=attach&amp;section=attach&amp;attach_rel_module=post&amp;attach_id=38991" rel="nofollow">http://www.iphones.ru/forum/index.php?app=core&amp;module=attach&amp;section=attach&amp;attach_rel_module=post&amp;attach_id=38991</a>. The content itself can be considerably big (contentSize.width>60000), with the corresponding number of objects. The screen can theoretically fit up to one hundred of objects, with the objects being pretty small (notes, figures).</p>
  
  <p>We tried to do it with all the available objects - UIImageView, UILabel. If we try to place them all simultaniously at scrollView, the app gets terribly slow and crashes with lack of memory. If we add them upon necessity and remove, when they are invisible, then there is only the problem with slow performance.</p>
  
  <p>Decided to look at how it is solved in some top apps with a similar functionality - got source code of the .h files of TabToolkit (on the screenshot) using class-dump-z.</p>
  
  <p>They use methods of these types:</p>
  
  <ul>
  <li>(void)drawSignatureNumber:(unsigned char)arg1 inContext:(struct CGContext *)arg2;</li>
  <li>(void)drawMeasureNumber:(struct CGContext *)arg1;</li>
  <li>(void)drawRepeatNumber:(struct CGContext *)arg1;</li>
  </ul>
  
  <p>Turns out, that we should look toward Quartz2d and Core Graphics? Or is there any other solution to the problem?</p>