Learning Programming Need Tips/Advice

Discussion in 'Mac Programming' started by smogsy, Oct 5, 2008.

  1. smogsy macrumors 6502a

    Jan 8, 2008
    I want to learn To Program i have programmed in VB a little but want to move to the Mac side of things, i'm guessing Obj-C & cocoa are the best things to get me started?

    Could you link me to some good tutorials?
    Are there any Books that Specifically Training manuals for how to use Xcode?
    Would OBJ-C be best to learn first?

    Do you have any tips of how to learn faster? or experience could share on how to learn easier.

    i want to learn how to create OSX Based Apps aswell as Iphone :D
  2. lee1210 macrumors 68040


    Jan 10, 2005
    Dallas, TX
    This is probably the single most common question on this forum. I'd browse around and see what responses others have gotten. Some threads to get you started:

    My suggestion, in a nutshell:
    Learn at least some C first, starting someplace like http://www.cprogramming.com.
    Learn to compile your C programs from the terminal using gcc. Don't start with XCode, it is too complex.
    Pick a text editor, there are a number of suggestions in the threads above.
    When you are ready to move to Objective-C and Cocoa, then it may be best to move to XCode, and check out this tutorial:
    There are a number of books recommended in the threads above if you want to go that route.

    Apple's site also has a lot of reference documents. Sign up for a free ADC account on http://www.apple.com/developer and check them out. The reference docs also come with XCode, but you may find it easier to search around online.

    Good luck, feel free to ask questions here as you progress.

    As a note, others will disagree with this. That's fine, some think jumping right into Objective-C is better than starting with C, but I guess I'd say your ultimate goals would dictate that. If you never want to program anything but the Mac in Objective-C, straight C may not be what you need. Otherwise, knowing about C-style arrays, memory allocation, pointers, etc. is going to be important. Not all of those concepts are needed in Objective-C due to the higher-level Cocoa constructs like NSArray. In case this isn't clear, Objective-C is the language you'll be working in, and Cocoa is an Application Programming Interface that allows access to the OS X internals through high-level abstractions, and provides a number of helpful classes to perform general-purpose tasks.

  3. mobilehaathi macrumors G3


    Aug 19, 2008
    The Anthropocene
    +1. I agree with this 100%.
  4. smogsy thread starter macrumors 6502a

    Jan 8, 2008
    thanks guys i wanted to learn windows to so C does sound like a good option.

    im Reading c-programming as we speak and going to get myself a good code editor. cant wait to dive in!

    i think im going to get a book of sorts once i read a bit on C ill pick which book i like the best but ive seen a few books mentioned in the follow threads thankyou very much.

    I have started my own programming Business, well at the moment its just a website (design still being designed) to give away free software simliar to islayer/adiumx im hoping to get good within a year or so, which i hope is possible.

Share This Page