After I read the Learn C on Mac book I took the Pascal class at my local City College. One thing I learned there was to keep my 'Main' clean looking and send out Procedures and Functions for processing and return the data. This made the code easier to read.
One thing jiminaus mentioned in another thread I had was that NSLog was a Function and not a Method. So that I have my terminology right. A Method is just simply procedural code, that performs a task and returns the result. I can pass a parameter from Main, to a Method in an object, and return a result back to Main again(keeping it simple). That Method could be anything from just storing a simple Integer to a Function or some very complex procedure.
-Lars
One thing jiminaus mentioned in another thread I had was that NSLog was a Function and not a Method. So that I have my terminology right. A Method is just simply procedural code, that performs a task and returns the result. I can pass a parameter from Main, to a Method in an object, and return a result back to Main again(keeping it simple). That Method could be anything from just storing a simple Integer to a Function or some very complex procedure.
-Lars