DisplaySwitcher is an open source component providing a great custom transition for switching between grid and list collection view layouts.
DisplaySwitcher includes a grid and list UICollectionViewLayout, and a button that rotates between the collection view layouts. When switching between layouts each list item neatly moves into place in the grid view, and then back when switching to list view.
This animation from the readme shows DisplaySwitcher in action:
You can find DisplaySwitcher on Github here.
A neat component for switching between list and grid views.
Original article: DisplaySwitcher – Open Source Component For Neatly Animating Between List And Grid Layouts
©2016 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.
Reference source: iOS App Dev Libraries, Controls, Tutorials, Examples and Tools