1. Create a new class that inherits from UITableViewCell
2. Overriding Initwithstyle:reuseidentifier: Methods
Add all the child controls that need to be displayed (you don't need to set the child control's data and frame, and the child controls are added to the Contentview)
Make child controls one-time property settings (some properties only need to be set once, such as fonts \ fixed pictures)
3.2 Models available
Data model: Storing text data \ Picture data
Frame model: The height of the Frame\cell that holds the data model \ All child controls
4.cell has a frame model (don't have a data model directly)
5. Override the setter method of the Frame model property: Set the child control's display data and frame in this method
The initialization of the 6.FRAME model data has been done in a lazy manner (each cell corresponds to the frame model data is loaded only once)
Objective-c Small Talk: The rule of UITableViewCell of irregular row heights