Using UIColor...

Discussion in 'iOS Programming' started by ArtOfWarfare, Aug 18, 2008.

  1. ArtOfWarfare macrumors G3


    Nov 26, 2007
    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.

    secondTeamName.textColor = grayColor;
    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.)
  2. detz macrumors 65816

    Jun 29, 2007
    secondTeamName.textColor = [UIColor grayColor];

Share This Page