Several questions have come up about what has changed in 3.0 and how that effects these screen casts. I’ve compiled a list below of what you will need to change in the example code to be 3.0 compliant.
Several compiler warnings about using ‘deprecated’ API will be generated if you try to compile the code for 3.0. Here is a list of the categories of problems.
text property was replaced with a text field called
textLabel so all the places where the code looks like this;
cell.text = @"new text"
will have to be replaced with code like this
cell.textLabel.text = @"new text"
And any place in the code where we get the text from the cell like this;
has to be replaced with code like this;
[[cell textLabel] text]
Also any place where we set the text attributes such as;
cell.textColor = [UIColor yellowColor];
must be replaced with text like this;
cell.textLabel.textColor = [UIColor yellowColor];
hidesAccessoryWhenEditing property was deprecated in favor of setting the accessory view type to
UITableViewCellAccessoryNone when editing if you want the accessory view hidden when editing is enabled.
Finally the way table view cells are initialized was changed. The
initWithFrame:reuseIdentifier: method was replaced by the
initWithStyle:reuseIdentifier: for all the example code you can use the
Hope this helps with your transition to 3.0!