You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TMQuiltViewDelegate have protocol: - (CGFloat)heightForCellAtIndexPath:(NSIndexPath *)indexPath;. And it result a performance issue if the height need a calculation according to cell content. The currently implementation simply request the method every time it layoutSubView(though rectForCellAtIndex).
Like UITableView, it should call once for each indexPath and cache it. Prevent re-calculation during scroll. The cache should be clear after the user call follow method:
- (void)beginUpdates;
- (void)resetView;
The text was updated successfully, but these errors were encountered:
TMQuiltViewDelegate
have protocol:- (CGFloat)heightForCellAtIndexPath:(NSIndexPath *)indexPath;
. And it result a performance issue if the height need a calculation according to cell content. The currently implementation simply request the method every time itlayoutSubView
(thoughrectForCellAtIndex
).Like UITableView, it should call once for each indexPath and cache it. Prevent re-calculation during scroll. The cache should be clear after the user call follow method:
The text was updated successfully, but these errors were encountered: