Hey, I was wondering how Objective-C function declarations worked, and why I would want to declare another function besides main.
For example, I now that, at least from most programs I have been exposed to, Objective-C programs begin execution at the function named main, and the name main is therefore reserved.
Now, the reason we usually "return 0" at the end is to show that everything went normal, correct? And, because we specified main would be a function of type "int", or integer.
I was wondering how common it is, I guess it depends on the scale of the program however, to declare other functions besides main, and how I should do so.
UPDATE:
Actually, sorry, I found a pretty good guide right here: http://www.techotopia.com/index.php/An_Overview_of_Objective-C_Functions
But additions are certainty appreciated! :)