alternative to deprecated UITableViewCell setText?
deprecated, iphone, uitableview, warnings, xcode
Solution
try:
cell.textLabel.text = @"test";
(Ah, it's nice to be answer 3.0 SDK questions now)
Problem
Code in the book Beginning iPhone Development (by Dave Mark & Jeff LaMarche) assigns to the UITableViewCell text property: ``` UITableViewCell *cell = ... ... cell.text = ... ``` This assignment brings up a "'setText' is deprecated..." warning. What should I use as an alternative? Also, how do I open the long URL in the warning (in Xcode) without retyping the whole thing?