Collapsable UITableView header in Swift


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.
  1. Create a header for UITableView and give UIButton tag to the header .
  1. To Collapse section of UITableView the following method will be trigger .

Read more about Collapsable UITableView header in Swift visit Findnerd.

Collapsable UITableView header in Swift

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s