Currently Being ModeratedJan 1, 2013 6:23 PM (in response to GeekPod42)
It's hardly correct.
Play is a primitive (integer); it's not a verb. An integer can be used within a function but not the way you're using it.
You really need to study up on language fundamentals.
Currently Being ModeratedJan 2, 2013 9:04 AM (in response to GeekPod42)
You'd do well to learn the difference between integers (type: int) and functions before trying to go any further.
If you don't know any C, you're headed for a world of pain. I'd suggest you put aside your attempts at Objective C and Cocoa and learn the fundamentals. Start here:
Then move on to
Then start working through
I made the mistake of starting with 3, realised I needed to read 2 by about Chapter 5, then about a third of the way through 2 realised I needed 1.
Do it the right way round and save yourself both time and a lot of headaches.