By setting a class's field the way you are, you are actually calling the setText method
phsr
2009-09-20 00:08:06
By setting a class's field the way you are, you are actually calling the setText method
The cell.text property is deprecated in iPhone OS 3.0 and greater, because new table cell types allow multiple labels. Instead, use cell.textLabel.text to accomplish the same thing.
this is how properties work
x = object.field is (by default) the same as calling x = [object field]
and object.field = x is (by default) the same as calling [object setField:x]