The dot syntax is a shortcut for calling getter and setter.

You can use this:
[foo length]
foo.length
are exactly the same, as are:
[foo setLength:5]
foo.length = 5

Suggest An Answer

No suggestions avaliable!