UITableView-FDTemplateLayoutCell is an Objective-C utility for automatically calculating and caching UITableViewCell heights using Auto Layout, improving performance and streamlining dynamic cell sizing. Generally, no need to care about modes; it will automatically choose a proper mode by whether you have set auto layout constraints on cell's content view. Works seamlessly with Storyboard, nibs, or programmatically registered cells. If you want to enforce frame layout mode, enable this property in your cell's configuration block. A fully self-satisfied cell is constrained by auto layout, and each edge has at least one layout constraint against it. It's the same concept introduced as "self-sizing cell" in iOS8 using auto layout.
Features
- Automatic height calculation for dynamic table view cells using templates
- Offers configuration block for populating template cells during sizing
- Supports caching heights by index path to boost scrolling performance
- Works seamlessly with Storyboard, nibs, or programmatically registered cells
- MIT-licensed, widely adopted, and available via CocoaPods
- Reduces developer boilerplate and eliminates manual height estimation logic