Skip to content

DonMag/DynamicCellHeight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DynamicCellHeight

One approach to dynamically changing UITableViewCell content and height.

Weird colors are just to help identify the elements during dev.

  • Example A shows a cell with multiple elements, where some elements are shown/hidden by changing a control inside the cell.
  • Example B shows a cell with "Show more" / "Show less" button to expand/contract the number of lines of text displayed.
  • Example C shows a not-so-good varsion of "B" - the animation is not as smooth.
  • Example D shows dynamic sizing of a TableViewCell containing a CollectionView with variable content. Each time you load "D" you will get a random number of cells in the Collection (well, random between 3 and 30... enough to demo).
  • Example E shows one method of showing / hiding a Date Picker as part of a cell.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages