I have a 2.2.1 code where i use cell.text = @"blah"
i upgraded to 3.0
Now I will have to do cell.textlabel.text = @"blah"
the thing is, is there any macro defined to build appropriate to versions of sdk ?
something like
#if __OS_VERSION__ == 3.0
// use this
#elif __OS_VERSION__ == 2.2.1
// use that
#else
// use none
regards
i upgraded to 3.0
Now I will have to do cell.textlabel.text = @"blah"
the thing is, is there any macro defined to build appropriate to versions of sdk ?
something like
#if __OS_VERSION__ == 3.0
// use this
#elif __OS_VERSION__ == 2.2.1
// use that
#else
// use none
regards