A simple swift project showing how one can collapse and expand the sections of a UITableView using custom view for section header( with UI customisation such as gradient), added programatically.
iOS framework provides great customisations with UITableView. This is a really simple example of how we can make a section collapse and expand using UITableView.
Added a simple gradinent programatically to give it a nice look!
If you want to checkout the implementation, you can clone this repository and run it with Xcode. If you are just intrested in code/logic, you can head back to ViewController.swift
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
