Reputation: 467
setText is deprecated warning message displayed at UITableViewCell
[cell setText:animal.name];
when compiling. But program is running properly.
Upvotes: 2
Views: 290
Reputation: 17478
Yes, setText:
in UITableViewCell has been deprecated.
Use the following instead of that.
[cell.textLabel setText:animal.name];
Upvotes: 12