views:

31

answers:

1

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 auto reflect those change, how this thing can be implemented?

A: 

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.

shabyasachi
I want partial loading, only those rows should be affected, which are being updated. Also this is in context of TTTableViewController, a class from Three20 library.
Ansari
BTW, i have done it by defining custom DataModel which populates the data source and notify the UI class to update object by object.
Ansari