Using UIColor...

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

  1. ArtOfWarfare macrumors 604

    ArtOfWarfare

    Joined:
    Nov 26, 2007
    #1
    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;
    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

    Joined:
    Jun 29, 2007
    #2
    secondTeamName.textColor = [UIColor grayColor];
     

Share This Page