Sunday, November 15, 2009

setTextColor is deprecated

If we compile our old source with >= 3.x versions, we will get this warning..

old code for version :
cell.textColor = [UIColor redColor];

the new code will be
[cell.textLabel setTextColor:[UIColor redColor]];

1 comment:

  1. thanks for the great comments

    AppzVenture iPhone Application Developer

    Download the most best selling app, even people enjoy after downlaod: & IT Top10 app for iPad & iPhone