Skip to content

About

UITableView with custom section headers that show and hide their rows, in Swift.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

TableView-HeaderAnimation

Collapsible table sections: a custom section header with a button that shows and hides its rows and updates its own title.

Swift UIKit Built

Section rows expanding and collapsing

What it demonstrates

  • Custom UITableView section headers with an action button
  • Showing and hiding the rows in a section by inserting and deleting them
  • A button title that changes with the section's state ("Show more" / "Show less")
  • A simple, dummy data source that keeps the pattern easy to reuse

Running it

Open WidgetSample.xcodeproj in Xcode and run on a simulator. Tap a section's button to expand or collapse it.


Built by Shruthi, iOS developer in Sydney. See my latest apps from Shruezee Studio: Ashtotra (live on the App Store), KindDose and MiniMingle Games.

About

UITableView with custom section headers that show and hide their rows, in Swift.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages