Thanks for the explanation. I am a beginner and this is an example they are using in an introductory book to explain functions. Going off what you have said this is a pretty poor example which is probably why I'm getting a bit confused.Thanks for the help
I am starting out in Apple dev environments. I have downloaded some pdf's and located some tutorials on the Internet however do not know where to start. There are some on iOS programming, some Objective-C, some Soryboard etc...
Any pointers on how to proceed and sequence will be appreciated. My main interest initially is iPhone.
Just curious about that. Maybe with qualification it would be clearer. Like it isn't 'valid' because it is a homework question and one should do ones own work? If so then 'valid' might not be the best word.
Or perhaps because it isn't possible to do what the OP asked in Objective-C?