iPhone Development: Reading Objective-C Methods
When teaching Objective-C, I’m finding that some have trouble reading method signatures. Reading Objective-C methods can be made easier if proper spacing and indenting is used. This is what a method looks like in Objective-C: – (ret-type) keyword:(arg-type)arg-name keyword:(arg-type)arg-name It is much easier to read if it is typed as such: – (ret-type) keyword:(arg-type)arg-name keyword:(arg-type)arg-name [...]