Tuesday, 14 June 2016

Collapsable UITableView header in Swift

maxresdefault.jpg

To collapse table header in swift

1. Make a property of NSMutableSet, name it "collapsedSections", this property will be use to check Collapsed section in the UItableViewCell.

2. Create a header for UITableView and give UIButton tag to the header .

3. To Collapse section of UITableView the following method will be trigger .

Read more about Collapsable UITableView header in Swift visit Findnerd.

No comments:

Post a Comment