I'm currently wading my way through my first app, and I decided to build it with SDK 3.0 to see if there was any issues.
It turns out a few table things are deprecated and there are new ways of doing it (using the new initWithStyle on UITableViewCell, not initWithFrame, etc).
How can I code so that if its built with 2.2.1, the old way is used, whereas if it built with 3.0 the new way is used? Are there any SDK version #defines, or is there a standard way to do it?
Thanks!
It turns out a few table things are deprecated and there are new ways of doing it (using the new initWithStyle on UITableViewCell, not initWithFrame, etc).
How can I code so that if its built with 2.2.1, the old way is used, whereas if it built with 3.0 the new way is used? Are there any SDK version #defines, or is there a standard way to do it?
Thanks!