title: Expandable and collapse tableview in swift
body: <p>I don't know how to implement expandable and collapse tableview in SWIFT. I searched, but nothing in swift. Kindly guide me. How to do that? </p>
  
  <p>My required output</p>
  
  <p><img src="https://i.stack.imgur.com/PnG51.png" alt="enter image description here"></p>