title: Create a timeline with UIScrollView
body: <p>I am trying to implement a timeline with UIScrollView.</p>
  
  <p>Basically, all zoomed out, it should show the one "combined value" for a year.
  If you zoom in and the zoomScale passes a specific threshold, I want to show the "combined values" for the individual months, and if you zoom further, it should show the real values for the individual days.</p>
  
  <p>So I thought about creating multiple Custom Views for Years, containing Custom Views for Months, containing Custom Views for Days.
  The content size of my scroll view would be huge (e.g. if one day in full zoom is something like 30 - 50px) and the memory usage massive.</p>
  
  <p><a href="https://stackoverflow.com/questions/1423119/uiview-how-do-i-constrain-scaling-to-one-dimension-only">then I made my scroll view only scaling the x axis.</a></p>
  
  <p>but I am not sure if this is the best way to implement it, I have a lot of trouble with proper sizing of my UI elements (labels for months, showing borders, etc.), so what would be your approach?</p>
  
  <p><a href="https://stackoverflow.com/questions/2389539/how-to-create-an-timeline-on-iphone">I also thought about doing some shifting with 3 screen-sized views.</a></p>
  
  <p>and again I have no clue how to implement zoom on this method.</p>
  
  <p>would appreciate some fresh thoughts and ideas on how to do this.</p>
  
  <p>Cheers, Felix</p>