I wonder if someone can explain the following, are these both doing the same? As both call “setSeparatorColor” I would guess they are both calling the accessor for the property.
[myTableView setSeparatorColor:[UIColor orangeColor]];
.
[[self myTableView] setSeparatorColor:[UIColor orangeColor]];
Gary.
Correct, they are both doing the same
Is accessing the variable directly, where as
Is calling the accessor for the property, and then sending the
setSeparatorColormessage to it