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

littletone2002

macrumors newbie
Original poster
May 31, 2010
1
0
Straight and to the point:

I'm trying to update the text in a UILabel and I know this code works:

Code:
[myLabel setText:@"Hello World"];

but I only know it works because I saw it done, where can I find the documentation on the setText method for UILabel, I looked at the developer documentation for the UIlabel class here. But i see no mention of setText in it or in any of its inherited classes.
 
It's declared as a @property text, which at compile time creates the setText method.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.