1.tableView Refresh
1> The overall steps for data refresh
* Modify Model data
* Refresh the table (Refresh interface)
2> How to refresh the table (Refresh the interface)
* Global Refresh (each row will be refreshed again)
-(void) reloaddata;
* Local Refresh (use premise: Before and after the refresh, the number of model data is unchanged)
-(void) Reloadrows: (Nsarray *) indexpaths withrowanimation: (uitableviewrowanimation) animation;
* Local deletion (use premise: number of model data reduction = = Indexpaths length)
-(void) Deleterowsatindexpaths: (Nsarray *) indexpaths withrowanimation: (uitableviewrowanimation) animation;
Use of the [email protected] Property
* Weak (assign): Proxy \ui control
* Strong (Retain): Other objects (except proxy \ui control \ String objects)
* Copy: String
* Assign: Non-object type (base data type int\float\bool\ enum \ struct)
TableView Refresh of iOS development and usage of property properties