First page Back Continue Last page Graphics
Significance of get prefix
The word 'get' has a special meaning in Cocoa: In Cocoa method name, it means method returns a value via a pointer that you pass in as a parameter.
For example, NSData (a Cocoa class for objects that store an arbitrary sequence of bytes) has a method called getBytes, which takes parameter that is the address of memory buffer for holding the bytes.