UITableView-FDTemplateLayoutCell
GitHub describes it as Template auto layout cell for automatically UITableViewCell height calculating. The repository metadata lists Objective-C as its primary language. The metadata lists the MIT license. This article stays within the project description and details documented in the GitHub repository README.
forkingdog/UITableView-FDTemplateLayoutCell: Height Caching API
GitHub describes it as Template auto layout cell for automatically UITableViewCell height calculating. The repository metadata lists Objective-C as its primary language. The metadata lists the MIT license. This article stays within the project description and details documented in the GitHub repository README.
Repository scope
GitHub describes it as Template auto layout cell for automatically UITableViewCell height calculating. The repository metadata lists Objective-C as its primary language. The metadata lists the MIT license. The README describes the project this way: Since iOS8, -tableView:heightForRowAtIndexPath: will be called more times than we expect, we can feel these extra calculations when scrolling. So we provide another API with cache by index path:
Frame layout mode
The README section "Frame layout mode" states: 1. Auto layout mode using "-systemLayoutSizeFittingSize:" 2. Frame layout mode using "-sizeThatFits:"
Frame layout mode
The README section "Frame layout mode" states: Generally, no need to care about modes, it will automatically choose a proper mode by whether you have set auto layout constrants on cell's content view. If you want to enforce frame layout mode, enable this property in your cell's configuration block:
Frame layout mode
The README section "Frame layout mode" states: And if you're using frame layout mode, you must override -sizeThatFits: in your customized cell and return content view's height (separator excluded)
Editorial conclusion
The repository README is the source for this review. It does not replace a local installation or an independent test.
Community notes