IPhone - UITableView to show two different custom cell views?

You should use a different Cell Identifier for your custom cell.

Since you are using the same reuseIdentifier, the line KMLoadingIndicatorCell* cell = (KMLoadingIndicatorCell*)tableView dequeueReusableCellWithIdentifier:CellIdentifier; is most likely setting cell to an instance of CustomTableCell that is now being reused, rather than the expected KMLoadingIndicatorCell. You should be using different identifiers for the two different types of cells.

In my UITableView, I want to show loading indicator in the last cell. For remaining cells, I created a custom table view cell which is working fine. But when I scroll to the end, its crashing and not able to load loading indictor (which is a different custom cell view).

Here's my code.

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