How to get Rows updated automatically?
HI all,
I have made my custom Data Model, custom Data Source and a TTTableViewController which uses my data source, now in data model there we are mentaining the array, if something changes in the datamodel, ui should开发者_StackOverflow社区 auto reflect those change, how this thing can be implemented?
You can send the -reloadData message to the UITableView. Also, there are methods in UITableView to insert/delete particular rows. This also can give you nice animations. Please take a look at the "Table view programming guide" for details.
精彩评论