Quote:
Originally Posted by bigbad
Code:
if ([[[myTableView cellForRowAtIndexPath:indexPath] textLabel] isEqual:@"Case 1"])
|
Use [myTableView cellForRowAtIndexPath:indexPath].textLabel.text
That gives you the equivalent of cell.textLabel.text from earlier.
(What happened: Apple tidied these bits up in 3.0, so textLabel is now available as an honest-to-goodness UILabel object. That means you now get to ascribe whatever changes you want to it, vs. just setting the text.)