1. Load model data via plist
2. Lazy Loading Data in controller
3. Set the TableView data source
4. Methods of writing data sources
5, observe the demonstration project, analysis through the default cell 4 kinds of realistic way, can not achieve the realistic effect to want. (Custom view)
5.1 Create the Xib, complete the desired cell model, and name it Czgroupbuyingcell
5.2 Loading Xib, code:
cell = [[[NSBundle Mainbundle] loadnibnamed:@ "Czgroupbuyingcell" Owner:nil Options:nil] lastobject];
5.3 In order for the cell to be reusable, you need to set identifier
5.4 To be able to manipulate the properties in the cell, you need to create a class, Czgroupbuyingcell, and connect to the controls in the Xib. And you want to set the custom class in Xib.
5.5 Assigning a property in a controller to a child control in Czgroupbuyingcell
5.6 Creating a package for a custom cell
5.7 Call the class method directly in the controller!
6. Put each file in the MVC design mode
7 Actual effect Show
12-28 Show group purchase data interface building, cell customization Knowledge Summary