Re: UITableView updating problem

2009-08-13 Thread glenn andreas
On Aug 13, 2009, at 8:44 AM, Brian Slick wrote: On Aug 13, 2009, at 8:31 AM, glenn andreas wrote: You're using a sledge hammer (reloadData) when you need a small screwdriver. From UITableView.h: - (void)reloadData; // reloads everything from scratch. redisplays visible

Re: UITableView updating problem

2009-08-13 Thread Brian Slick
On Aug 13, 2009, at 8:31 AM, glenn andreas wrote: You're using a sledge hammer (reloadData) when you need a small screwdriver. From UITableView.h: - (void)reloadData; // reloads everything from scratch. redisplays visible rows. --> because we only keep info about visible

Re: UITableView updating problem

2009-08-13 Thread glenn andreas
On Aug 12, 2009, at 9:15 PM, DKJ wrote: I've got a UITableView where the colour of the row text can change depending on its place in the table. For example, a row may change colour if it's moved from the bottom to the top of the table; and sometimes its colour may change if another row is

UITableView updating problem

2009-08-12 Thread DKJ
I've got a UITableView where the colour of the row text can change depending on its place in the table. For example, a row may change colour if it's moved from the bottom to the top of the table; and sometimes its colour may change if another row is deleted or inserted. The problem is that