iPhone App Development

Discussion in 'iPhone Tips, Help and Troubleshooting' started by HawkEye40, Aug 10, 2008.

  1. HawkEye40 macrumors member

    Joined:
    Apr 8, 2008
    #1
    Hi,

    What's the programming language to learn to write iPhone Apps? I've heard words like Cocoa, XCode and Objective C thrown about, but am pretty clueless ;-)

    Thanks for your help.
     
  2. Resevdog macrumors regular

    Joined:
    Jul 5, 2007
    #2
    Well, you're kind of right with all three. Computer languages are funny things. It's not like learning Japanese and then Spanish. In this case, Objective-C is essentially Cocoa. And both are offshoots of C++ which was a revision of C and cousins to C# and...well you get the idea. As for xcode, that's an environment (software) that Apple includes to simplify the developer process. In the simplest terms it's an application used to organize and compile the code for your created applications.

    You would do best learning C++ first, or at the least get a solid foundation in it. The transition to Objective-C will be simpler but you can start with Objective-C. The best book on the subject is by Aaron Hillegas. Google him and you'll find all kinds of great tutorials etc.

    Applications for the iphone require a little more learning due to the multitouch and other aspects of the hardware, but Apple does a nice job on their website.

    I'm just learning myself, and the learning curve is steep but after a point, it gets much easier. It's like chess. You may understand how pieces move, but you make tons of mistakes at first. Then one day, the light bulb goes off and you see the big picture.
     
  3. Trajectory macrumors 6502a

    Joined:
    Nov 13, 2005
    Location:
    Earth
    #3
    This may sound stupid, but, is there any similarity at all between C++ and PHP ???

    I know they are very different languages/platforms, but, I know PHP and MySQL and am wondering how difficult it might be to learn the languages need to write iPhone apps.
     
  4. Resevdog macrumors regular

    Joined:
    Jul 5, 2007
    #4
    I'm not familiar with php or sql too much, but from what I've heard, knowledge of any language will put you at a big advantage when learning a new one. It might be frustrating at first since some syntax and vocabulary will conflict and be different, but, you'll pick up the differences and fill in the blanks that much quicker.

    And just to clarify my previous post, since I just re-read it...Cocoa is technically not a language but the framework which incorporates the language. So I guess you could say that 0bj-C is the language employed by the framework Cocoa to develop programs using xcode to compile.

    Yep, there you go.
     
  5. HawkEye40 thread starter macrumors member

    Joined:
    Apr 8, 2008
    #5
    Cool, so Objective C is the way to go! Cheers for your help man, that's really useful.
     
  6. Resevdog macrumors regular

    Joined:
    Jul 5, 2007
    #6
    You're welcome. As repayment, write a great app!
     

Share This Page