Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
=======================================================================
Huckleberry - Auto layout table view cells with varying row heights
Version 1.2   17 March 2014      Fix device rotation
Version 1.1   12 March 2014      Added Quick Look Debug
Version 1.0   14 February 2014   Initial version.
=======================================================================

Example of how to implement table view cells with varying row heights
using auto layout constraints and a dummy prototype cell.

The fix for device rotation came from this GitHub example project:

https://github.com/smileyborg/TableViewCellWithAutoLayout

The source data for the table view is taken from the first 15 chapters
of Huckleberry Finn as found on Project Gutenberg. This gives nearly
2000 rows of data.

For further details see the following blog post:
http://useyourloaf.com/blog/2014/02/14/table-view-cells-with-varying-row-heights.html

The custom table view class (UYLTextCell) includes an implementation
of debugQuickLookObject to support Quick Look view of the cell in the
Xcode debugger (requires Xcode 5.1). See the following post for details:

http://useyourloaf.com/blog/2014/03/12/xcode-debugger-quick-look.html