title: Toggle List View(UITableView) and Grid View(UICollectionView) on UIBarButtonItem
body: <p>I want to perform an action on UIBarButtonItem which, when clicked, toggles between List View(UITableView) and Grid View(CollectionView)</p>
  
  <p>I have created different view controllers for List View and Grid View.</p>
  
  <p>Initially, the List View should be visible and on UIBarButtonItem click, I want to make the Collection View visible with clean animation.</p>