Windows Programmer looking to code for iPhone. Where to start?

Discussion in 'iPhone/iPad Programming' started by kAoTiX, Nov 9, 2009.

  1. macrumors 6502

    kAoTiX

    Joined:
    Oct 14, 2008
    Location:
    Midlands, UK
    #1
    I am a windows programmer of 7 years and are looking to start programming for iPhone/iPod. Basically, I have no idea where to start...well, I sort of do but would like some pointers.

    I know I need a mac (! I bought a PPC mac mini how stupid.)
    Will be getting an Intel based Mac in the coming weeks.

    Where do I go from here? I currently program in C++/Delphi and do web programming for PHP/MySQL so learning a new syntax/language isn't a problem but I know I'm going to be reading a fair few books first.

    Any help would be greatly appreciated.

    Thanks
     
  2. Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    Learn plain-old basic C. Ensure you understand pointers well. Then learn Objective-C. Both of these can be done using web-based resources only (edit by this I don't mean you must do it online, rather that you can do it without buying any books).
     
  3. thread starter macrumors 6502

    kAoTiX

    Joined:
    Oct 14, 2008
    Location:
    Midlands, UK
    #3
    *forum lurker alert*

    that was a fast response!
    I'll be sure to check that out. I do have some understanding of plain old C and read some things about objective C but never anything practical. Can you recommend any online resources or books/ebooks to get me started?
     
  4. Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #4
  5. thread starter macrumors 6502

    kAoTiX

    Joined:
    Oct 14, 2008
    Location:
    Midlands, UK
    #5
    Thanks for the information yet again.
    I'm excited now to see what I can do!

    *waits for mac mini*
     
  6. Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
  7. macrumors member

    Joined:
    Jul 22, 2009
    #7
    I have just started learning to Develop applications for iPhone also. My background is in Java. I recently picked up the book "Learn Objective-C on the Mac" by Mark Dalrymple. So far I like it a lot and it does a good job of introducing you to Objective-c. I prefer to have a book in hand rather than read from a computer screen (especially since I tend to be working on code examples as I read and it gets frustrating flipping between some browser and xcode.)

    Hope that Helps.
    Good luck!
     
  8. Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #8
    Also, be sure to check out the Guides and Stickies at the top of this very forum.
     
  9. macrumors 603

    Joined:
    Jul 29, 2003
    Location:
    Silicon Valley
    #9
    If you already know and can use multiple programming language, OOP concepts, and UI frameworks, then the path to iPhone coding can be fairly quick, maybe just a few weeks for some people. First read the Obj-C tutorials or books, then move on to reading example iPhone code and Cocoa Touch programming guides/books. Apple has plenty of the documentation needed to get running quickly.

    Relearning how Objective C's form of punctuation abuse differs from C/C++ looks to be a major issue to some programmers, but goes quickly once you start coding a few example/tutorial apps.

    There are a few things in C++ that aren't straightforward in Obj-C, so you may have to learn a few alternate programming strategies. I do not recommend mixing Obj-C and C++, at least initially (unless your sole project is to port a major C++ compute engine).
     
  10. Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #10
    :confused:
     
  11. macrumors 6502

    fernandovalente

    Joined:
    Aug 29, 2008
    Location:
    Third world **** hole, I mean, Brazil
    #11
  12. macrumors 603

    Joined:
    Jul 29, 2003
    Location:
    Silicon Valley
    #12
    You're going blind if you don't notice all the bizarre punctuation required by most programming languages. Periods that aren't at the ends of sentences. Brackets that aren't used for footnotes. & etc.
     
  13. macrumors 6502

    NickFalk

    Joined:
    Jun 9, 2004
    #13
    As you are already a programmer I think it should be fairly straightforward for you. I think perhaps getting used to Xcode might be the stumbling block if you're used to VisualStudio or similar.

    Recommended books from the top of my head are:

    Kochan's Objective-C book
    Hillegass' Cocoa for Mac
    Someone's ;) Cocoa design patterns

    Personally I needed Begining iPhone Development from Apress as well, but then I hadn't programmed anything since I dabbled with Turbo Pascal in the early 90's. I knew practically no OOP and the above mentioned book is a really good book for beginners.
     
  14. macrumors 6502a

    TodVader

    Joined:
    Sep 27, 2005
    Location:
    Quebec, Canada
    #14
    +1 for this book. I really liked it and its fun to read too. Some parts are hard, you need to reread them several times but everything is very clear.
     
  15. thread starter macrumors 6502

    kAoTiX

    Joined:
    Oct 14, 2008
    Location:
    Midlands, UK
    #15
    Thanks for the replies, still waiting on my mac mini but I've got a few of the books and they're really interesting.
     
  16. macrumors 6502

    fernandovalente

    Joined:
    Aug 29, 2008
    Location:
    Third world **** hole, I mean, Brazil
    #16
    I know you got a PPC Mac, but it doesn't mean you can't start. If you know programming for the Mac, you know programming for the iPhone. It's very similar. I suggest you to start creating some projects to learn. It's gonna be easier when you get your Intel Mac because you will have some experience with Objective-C and Cocoa.
     

Share This Page