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

    #1
    Hey guys,

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

    Thanks.:apple:
     
  2. macrumors Core

    miles01110

  3. macrumors 603

    Cromulent

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

    jared_kipe

    #4
    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.
    http://www.amazon.com/Learn-C-Mac-Dave-Mark/dp/1430218096/

    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

    lee1210

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

    -Lee
     
  6. macrumors 6502a

    GorillaPaws

    #6
    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

    #7
    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!!!

    -Lars
     
  8. macrumors 68030

    jared_kipe

    #8
    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

    Cromulent

    #9
    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

    #10
    Thanks Casting it is.
     

Share This Page