UITableView performance degrading after adding subviews on cell iphone sdk?

Cells are reused so make sure you do it within the if(!cell) {} block.

Create a parent UIView that contains your label and buttons. Set cell. ContentView to this parent view.

Ok, the real problem was too many NSLog statements. I removed them, now it works fine. Thanks texmex5, Alex Reynolds and Vladimir for trying to help.

In my application, I'm adding a label and two buttons on cell of UItableView I have not created a separate cell class. I'm adding these to cell and not cell.contentview. After I run my application on IPhone, the tableview cell rendering after I move the cells up-down, is very jerky.

Is it because I'm not adding the views on cell. ContentView or because I've not created a custom class for cell? Can anybody please help?

Thanks in advance.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions