0
Explain what is dot notation in Objective-C?

Open 1 Answers 14 Views Technology
Explain what is dot notation in Objective-C?

1 Answer

0

The dot syntax is just a shortcut for calling getters and setters, that is:

[foo length]

foo.length

are exactly the same, as are:

[foo setLength:5]

foo.length = 5

by (236k points)
...