New Devs: Learn How to Use Apple's Docs!!

Discussion in 'iOS Programming' started by admanimal, Aug 20, 2008.

  1. admanimal macrumors 68040

    Apr 22, 2005
    There have been so many questions asked in here over the past few weeks/months that have clear answers right in Apple's documentation or sample code. 90% of programming for the average iPhone app involves simply piecing together existing API methods, so you need to be an expert at looking things up. Do you have a question about how to do something with a string? Search for the NSString class reference. Do you need to know how to change the background color of a label? Search for UILabel and look for anything that sounds like background color (backgroundColor maybe?).

    Apple's documentation is extremely clear and thorough. If you don't understand something it says, it probably means you need to spend more time learning Objective-C and/or object-oriented programming.
  2. kainjow Moderator emeritus


    Jun 15, 2000
    I'd also recommend googling " <subject>" as there are a lot of iPhone threads on Apple's discussion pages.
  3. NT1440 macrumors G4


    May 18, 2008
    where do i get ahold of this documentation ? (ive been wondering a few days actually)
  4. kainjow Moderator emeritus


    Jun 15, 2000
  5. firewood macrumors 604

    Jul 29, 2003
    Silicon Valley
    I'll add some of these hints to the sticky FAQ, but the people asking these repeat questions don't look like they even bother to read the FAQ first.
  6. varchar macrumors member

    Aug 9, 2008
    Apple's documentation is very detailed... Going through it is very helpful.... I like to consider building iPhone apps is like putting blocks of bricks together... since most of the objects are there for you to use....

    I personally learned more from the sample code provided than anything else.

    The initial challenge is understanding the syntax and capabilities of Objective-C....
  7. robbieduncan Moderator emeritus


    Jul 24, 2002
    I 100% agree. And if you can't understand the documentation perhaps you need to go back to the beginning and ensure you understand what you are doing. Or perhaps realise that programming is hard and not everyone "gets it"...
  8. grimjim macrumors member

    May 24, 2003
    Hallelujah! Someone has had the courage to come out and say it. Programming is hard. It requires you to think very hard and to have a lot of perseverance and attention to detail. And even then, a lot of people just can't do it.

    Yes, the iPhone is really nifty. Yes, it would be great to stick some stuff on the App Store and sell it and make a million. But if you've never managed to do any programming on the Mac or the PC, you won't necessarily be able to do any on the iPhone. If you want to try, then please do, and the people in this forum, and others like it, will help out. But be aware that a lot of programming is (in my experience, at least), just sitting down with the documentation and scratching your head and thinking, "How the %$@* am I going to do this?" If you aren't prepared to wrack your brains and figure things out on your own, you won't get anywhere.

    Having said that, if you're willing to try, don't let me put you off!
  9. Luke Redpath macrumors 6502a

    Nov 9, 2007
    Colchester, UK
  10. Cromulent macrumors 603


    Oct 2, 2006
    The Land of Hope and Glory
    LOL. That's all I seem to think nowadays :). Then I get a eureka moment when I'm in the shower or in the garden having a ciggy and come running back to solve the problem only to find a new one 10 minutes later :).

    Still I love the challenge programming offers. Keeps my mind active.

Share This Page