C++ --> Objective-C?

Discussion in 'iOS Programming' started by stylar, May 12, 2010.

  1. stylar macrumors member

    Apr 10, 2010
    I have a year of C++ under my belt. I'm going to read an intro to obj.c book in the next few days, and start programming for the iPhone.

    Just wondering (a) if my C++ background will make things easier (how much?) and (b) if I should focus/take note of anything because of it?
  2. yellow Moderator emeritus


    Oct 21, 2003
    Portland, OR
    I tried starting with Obj-C, ended up taking a C++ class.. went back to Obj-C and found that it made much more sense. I think you'll be just fine.
  3. VanMac macrumors 6502a


    May 26, 2005
    Rampaging Tokyo
    It should help some.

    I went from C to C++ to Java, and now also some Objective-C 2.0
    There are some weird syntax things you will need to get used to, but other then that it is pretty cool.
  4. TiberiusXavier macrumors member

    Apr 18, 2010
    C++ and Obj-C have some common concepts, but the implementations differ in significant ways primarily in memory management and syntax.

    Think of Obj-C as C with message passing referenced-counted objects. The API documentation from XCode is thorough.

    Overall, the learning curve is not steep, but I found C++ a much easier language.

Share This Page