The dot syntax is a shortcut for CALLING getter and setter.
You can USE this:[foo length]foo.lengthare EXACTLY the same, as are:[foo setLength:5]foo.length = 5
Your experience on this site will be improved by allowing cookies. Read Cookie Policy