UITableView not displaying data from array?

If yes then just change your code NSString *tempString = your_array objectAtIndex:indexPath. Row; cell.textLabel. Text = tempString; If you are not even getting empty strings then make property of your array in .

H file. Synthesize it in . M (also release it in delloc function) and finally in viewDidLoad right following NSMutableArray tempContentArray = NSMutableArray alloc arrayWithObjects:@"view", @"browse", @"create", nil; self.

ContentArray=tempArray; and then write following code to get cell title NSString *tempString = self. ContentArray objectAtIndex:indexPath. Row; cell.textLabel.

Text = tempString.

Thanks! I just realized that, since i'm not using a nav controller, viewDidLoad is never called! Just had to stick in in my init.

Thanks again! – George Morgan Nov 12 at 19:05.

Try to initialize your Array in your init method or call reloadDataon your UITableView after you set your Array.

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