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

ArtOfWarfare

macrumors G3
Original poster
Nov 26, 2007
9,704
6,296
Ok... so I'm trying to change the text color of a text field by using properties but it doesn't seem to be working.

Code:
secondTeamName.textColor = grayColor;
error: 'grayColor' undeclared (first use in this function)

It's declared in the UIKit and is included in the documentation (under UIColor), so what am I doing wrong? (Sorry for a question that sounds so noobish... hopefully it won't take you more than 30 seconds to explain.)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.