title: IOS - How to create TableView with horizontal scrollable lists
body: <p>I'm trying to implement a table view with scrollable horizontal items (with unknown number of items) like the illustration below:</p>
  
  <p><img src="https://i.stack.imgur.com/TmiPn.jpg" alt="enter image description here"></p>
  
  <p>The UI should behave like so:</p>
  
  <ol>
  <li>At the init state the table cell shows a label and some text and the circle item pops out of the right side</li>
  <li>If the users swipes from right to left, the label and text fades out and the horizontal list (inside the cell) takes it's place</li>
  </ol>
  
  <hr>
  
  <p>I thought about using TableView and <code>dequeueReusableCellWithIdentifier</code> and creating a prototype cell, but then I need to remember the list horizontal position and init the cell properly on <code>cellForRowAtIndexPath</code> and that will probably affect performance.</p>
  
  <p><strong>Q:</strong> What layout would you use in order to achieve this goal, any input / tutorial would be appreciated  </p>