title: Custom UIPageControl view, replacing dots with "Page X of Y"
body: <p>I'm trying to find a way to replace the dots of a UIPageControl with a caption that reads "Page X of Y" since I'll likely have >50 items. I'm just becoming familiar with Cocoa, and I was wondering what is the best way to do this. Can I subclass UIPageControl? Should I use a custom view with labels? Or something else?</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>I ended up using <a href="http://cocoawithlove.com/2009/01/multiple-virtual-pages-in-uiscrollview.html" rel="noreferrer">this</a> code by Matt Gallagher to achieve my paging view. It's also more efficient since it re-uses two views, instead of creating them all at once, as is done in the Apple sample code for PageControl.</p>