Getting Started with Mac and iPhone Programming ??

Discussion in 'Mac Programming' started by fab5freddy, Mar 25, 2009.

  1. macrumors 65816

    fab5freddy

    Joined:
    Jan 21, 2007
    Location:
    Heaven or Hell
    #1
    I would like to get started with programming for the iPhone
    and also later for Mac OS X.

    I currently know HTML and have taken some classes in Java,
    but in a pure windows environment.

    What Languages should i start to learn now, to get going with
    Iphone and Mac OS X programming ?

    I guess Objective C ??

    but is that too hard to start out with ??

    thanks !!
     
  2. macrumors 65816

    haiggy

    Joined:
    Aug 20, 2003
    Location:
    Ontario, Canada
    #2
    Objective-C is just C with stuff built upon it. Some would say learning C first would be helpful, some would suggest diving straight into Objective-C. Since you have some prior programming experience and probably know the basics, I'd just start with Objective-C myself. Infact, that is what I am doing. Just find a beginning Objective-C book.

    You can search for similar threads....... there are like two threads asking the same question on this first page alone......
     
  3. macrumors 603

    Cromulent

    Joined:
    Oct 2, 2006
    Location:
    The Land of Hope and Glory
    #3
    The only problem with that approach is that everything I have read about Objective-C glosses over pointers. The only way to get a good solid grasp of pointer concepts is to read books on C, pointers are still an integral part of Objective-C.

    Also you rarely learn about some of the more powerful aspects of C when you just concentrate on Objective-C such as function pointers.
     
  4. macrumors 6502a

    Joined:
    Jun 8, 2005
    Location:
    West-Europe
    #4
    there are like two threads asking the same question every day...
    A question that has been answered dutifully every time. And there is a guide "How do I get started programming on the Mac (or iPhone)?" right above all the threads.

    Apple is successful, the iPhone and app store are successful and the news is filled with apps making lots of money. It seems everyone wants to get in quickly and make some easy money, without even knowing how to program or forgetting that those successful apps make up maybe 1% of the total apps available. Some ask under the guise of going back to school, but mostly it's "Teach me how to program in a week, so that me too can get rich". This reminds me why I didn't went into CS in 1999.

    Can we not have a sticky thread: "I don't know how to program, but I want to make lots of money on the app store. Teach me how." ?

    I am probably too harsh here for a lot of people, but not for everyone I think.
    (To the poster of this particular thread. Don't take it personally)

    urgh, I should have stayed in bed today...
     
  5. thread starter macrumors 65816

    fab5freddy

    Joined:
    Jan 21, 2007
    Location:
    Heaven or Hell
    #5
    Just FYI, I am interested in programming and am not looking
    to make a quick buck.
     
  6. macrumors member

    Joined:
    Jan 27, 2009
    #6
    Try this:

    http://cocoanewbie.pbwiki.com/

    It's a personal wiki I put together to help me keep all of the reference materials in order. Might help you at least figure out where to start.
     
  7. macrumors 68000

    Joined:
    Sep 8, 2006
    #7
    Just tossing my hat in to the ring here. My goals are the same to work on apps for the iPhone and OSX. I started with an Objective-C book but found that to be a difficult place to start for someone who had very basic to no programing skills. I put that book down last year about 25% through it. This year I did a search on good starter languages to teach yourself programing at home from a book. Many links pointed to Python as a good starter programing language. I got the book 1 month ago and I am already 1/2 way through it and it was much easier to start learning then Objective-C. When I finish with this book I'll pick up objective -c again and it should be easier to understand.

    -Lars
     
  8. macrumors regular

    Joined:
    Oct 13, 2008
    Location:
    Achewood, CA
    #8
    This is the best post I've read on this forum. I feel exactly the same way. My hat is off to you, sir.
     
  9. macrumors 68030

    Flowbee

    Joined:
    Dec 27, 2002
    Location:
    Alameda, CA
    #9
    Having more people interested in programming for the iPhone and Mac is a good thing. Not sure I understand the point of discouraging them.

    People who are interested in making a "quick buck" will quickly realize that learning to program takes time and work. They will give up long before they finish their first programming book.

    People who are inspired by the iPhone and Mac platforms should be encouraged to start learning.

    For someone completely new to programming, I would recommend learning C, Objective-C, and Cocoa or Cocoa Touch, in that order. You don't have to become an expert in any of them to begin writing simple programs for the Mac or iPhone. You just need to understand the basics. However, writing more complicated code (that actually works) will take time and practice. Lots of it.
     
  10. macrumors 6502a

    Joined:
    Jun 8, 2005
    Location:
    West-Europe
    #10
    We should. I agree. I just don't understand why the same "how to start" question is asked over and over a few times a week. Especially because right on top of the thread overview there are links to how to start programming for Mac or iPhone. This is not about understanding something, not matter how basic. It's about searching for information yourself or just scanning the thread titles.
     
  11. macrumors 603

    Cromulent

    Joined:
    Oct 2, 2006
    Location:
    The Land of Hope and Glory
    #11
    Which is probably the most important skill a programmer should have.
     
  12. Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #12
    I wouldn't say is is the most important, but it's definitely up there. And I will add it seems to be a skill that is frighteningly lacking nowadays, based on the number of questions that could easily be answered by simply reading the documentation.
     
  13. macrumors member

    Joined:
    Feb 4, 2009
    Location:
    London
    #13
    I'm fairly new to this myself. I've got some background in php, html, javascript and shell scripting and work as a SysAdmin and IT Consultant. I've sort of fallen into this as we want to develop some of our script-based apps into gui-based ones and I've chosen the Objective-C route (after a couple of pointless months working with Applescript studio). Here are some links I've found useful in addition to this forum:

    http://cocoadevcentral.com/
    http://developer.apple.com/documentation/Cocoa/index-date.html
    http://www.cocoadev.com/

    Also you can learn a lot from looking through the example apps that come with the developer tools.

    Good luck.
     

Share This Page