Changes

An Overview of Objective-C Functions

4 bytes added, 19:52, 20 October 2009
How to Declare an Objective-C Function
Explanations of the various fields of the function declaration are as follows:
* '''<return type>''' - Specifies the data type of the result returned by the function. If the function does not return a result then ''void'' should be specified. unless Unless otherwise specified, functions are assumed to return an ''int''.
* '''<function name>''' - The name assigned to function. This is the name by which the function will be referenced when it is called from with the application code. Note that, unless otherwise specified using the ''static'' specifier, function names are global and must be unique within the context of an application to avoid compilation errors.