setText is deprecated warning message displayed at UITableViewCell
[cell setText:animal.name];
when compiling. But program is running properly.
Yes, setText: in UITableViewCell has been deprecated.
Use the following instead of that.
[cell.textLabel setText:animal.name];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With