Programming and iPhone development

Discussion in 'Mac Programming' started by gangst, Aug 4, 2008.

  1. gangst macrumors 6502a

    Dec 27, 2004

    I have had a search through the forums and wanted some advice to some specific questions.

    I have no programming knowledge whatsoever, the closest I have ever got to programming is HTML!

    Recently, with the launch of iPhone apps, I have been inspired to try to learn how to develop applications, both for iPhone and Mac. I have some ideas of apps I could make but don't know how to do so.
    However, I do not know where to start. Is it best to start with programming on the Mac, learning the basics then moving to the iPhone, or can I start on the iPhone. I would really like some good reference material so if anyone has links to some stuff that would be great.

    I have signed up to the Apple ADC online, but when I go to watch the iPhone videos it comes up with an error, which is annoying.

    Thanks for any advice.
  2. Cromulent macrumors 603


    Oct 2, 2006
    The Land of Hope and Glory
    No you didn't. These questions are asked in a new thread every 2 or 3 days and they always get the same response.

    Learn Objective-C and then read about the Cocoa set of APIs.

    Read these documents in this order:

    Object-Orientated Programming with Objective-C
    The Objective-C 2.0 Programming Language.

    You will most likely need to learn some C at least in order to understand some parts of Objective-C, particularly when it comes to pointers. Any beginners book on C should be enough to get you going. Once you have read that buy "The C Programming Language" Second Edition.

    Stay away from Cocoa for a little bit until you understand the language otherwise you will end up not understanding what you are doing further down the line and having to hack solutions together.

    Edit : The iPhone uses very similar techniques to Mac OS X development, but there are some important differences. The most obvious one is that there is no garbage collection on the iPhone. You need to do all memory management manually.

Share This Page