Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

amit-battan

macrumors newbie
Original poster
Sep 10, 2009
16
0
Hi All

this code Iphone SDK 3.0 version or later

Code:
cell.textLabel.text = [[menuList objectAtIndex:indexPath.row] objectForKey:kTitleKey];
but it gives error
request for member 'textLabel' in something not a structure or union

I also try

Code:
cell.text = [[menuList objectAtIndex:indexPath.row] objectForKey:kTitleKey];
but also not working. Can anybody help regarding this

Thanks
Amit Battan
 
What type is the variable cell declared as?

Don't just tell us what you think it is, go look at it. If necessary, copy and paste its declaration into a post.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.