GitXplorerGitXplorer
i

DynamicHeightTableCells

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
a5d8de01d1fd1cb51a22ac5edc9ae7d3e96a8042

Update README.md

iikonst committed 8 years ago
Unverified
12922baf79b58df7e57112fdb07a73b660b61b4f

Update README.md

iikonst committed 8 years ago
Unverified
c107be1fed51cea2e81af2d9175a65cc9e9bc3f1

Initial check-in

iikonst committed 8 years ago

README

The README file for this repository.

Dynamic Height Table Cells — Sample Project

This sample project shows how to animate UITableView row height changes. The magic happens in ViewController.cellHeightDidChange.

Usage

  • The contents of the UITableViewCells should have constraints tying them to the cell's top and bottom.
  • Internally UITableView measures the intrinsic height of each cell, then assigns it a required (priority = 1000) height constraint. To avoid conflict warnings in UIB, avoid required (priority = 1000) static height constraints on the contents of table cells.
  • When a cell has a good idea that its intrinsic height changed, it should call heightChangedClosure.