1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

SOS!!! Any good video tutorials for Learning objective-C ??

Discussion in 'Mac Programming' started by NSG10, Aug 28, 2010.

  1. macrumors member

    Hey guys,

    I need a good set of video tutorials and books that i can watch and read for learning Objective-C.

  2. macrumors Core


  3. macrumors 603


    Don't double post. One post is sufficient.
  4. macrumors 68030


    Why video??

    I suspect the story you left out of your initial post goes something like this.
    Get Learn C on the Mac, and then Learn Objective-C on the Mac.

    If this seems harsh, its probably because I'm in a mood. But the advice is sincere and will probably off better than a straight to Obj-C/Cocoa/CocoaTouch path.
  5. macrumors 68040


    If iOS is your target, Stanford offers iTunesU courses that are, in fact, videos. I don't know what requisite knowledge they assume, however.

  6. macrumors 6502a


    You should have a solid understanding of C and have a good grasp of OOP. If it were my first introduction to GUI programming I would want to have a very good grasp of writing Objective-C command-line apps before jumping into the Stanford iPhone classes.
  7. macrumors 65816

    Funny I should read this.... To help me struggling though the Programing in Objective C 2.0 book I surfed the web and found a video tutorial done by Steve Kochan from LiveLessons. The whole video series, over 8 hours that covers the book was on sale for for something like $65!!! You download the QT movies after you pay.

    Even though I was on page 170 of the book I went back to the beginning and things were explained better for me and I picked up on things I missed.for example I was wondering why I was seeing variable types in parenthesize (), like (float) it converts data types in to the new one.

    Little things that confused me in the book are explained here. Well worth the money!!!

  8. macrumors 68030


    This is only true for primitive data types, int/float/etc.

    Pointers can be cast to silence compiler warnings, but do NOT do any kind of conversion.

    NSString *string = (NSString *) [NSNumber numberWithDouble: 2.0];
    int length = [string length];

    Would not raise a compiler warning but would throw a runtime exception. (I think, maybe NSNumber responds to length ;) ;) )
  9. macrumors 603


    That is called casting. Best to get in the habit of using the correct term otherwise you'll be confused when someone mentions it in the future.
  10. macrumors 65816

    Thanks Casting it is.

Share This Page