Supplement: tableView optimization summary and tableview optimization Summary
Summary of tableView Optimization Methods
(Note: This is just my own summary. I hope you can correct me. Thank you)
1. cache the cell Row Height to facilitate second access to the cell.
2. Reduce the blend operation of the image. For example, set the opacity of the view. Do not use clearColor and controls for the background color of the UIView to avoid using images with alpha.
3 cell Reuse
4. When the loaded data is relatively small, the time-consuming loading operations can be performed asynchronously.
5. render the image. That is, first render one side of the bitmap context, export it to a UIImage object, and then render it to the screen.
6. Use the UIScrollView proxy to handle excessive asynchronous loads.
7. When the memory is tight, release all sub-threads and manually set the proxy to nil.