PDA

View Full Version : SOS!!! Any good video tutorials for Learning objective-C ??




NSG10
Aug 28, 2010, 03:59 PM
Hey guys,

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

Thanks.:apple:



miles01110
Aug 28, 2010, 04:25 PM
http://guides.macrumors.com/Cocoa_FAQ
http://guides.macrumors.com/Objective-C_Tutorial
http://guides.macrumors.com/Helpful_development_resources

Cromulent
Aug 28, 2010, 04:54 PM
Don't double post. One post is sufficient.

jared_kipe
Aug 28, 2010, 05:10 PM
Why video??

I suspect the story you left out of your initial post goes something like this.

I've either never programmed before, or I've only done some HTML/PHP/Python/whatever and I want to learn Objective-C because it is the language that you program iPhones in.

I need videos/tutorials because I'm in over my head.


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.

lee1210
Aug 28, 2010, 05:38 PM
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

GorillaPaws
Aug 28, 2010, 05:51 PM
I don't know what requisite knowledge they assume, however.

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.

larswik
Aug 28, 2010, 11:10 PM
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

jared_kipe
Aug 29, 2010, 12:31 AM
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.


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 ;) ;) )

Cromulent
Aug 29, 2010, 12:32 AM
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.

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.

larswik
Aug 29, 2010, 12:48 AM
Thanks Casting it is.