I was recently given the book "Programming in objective-c 2nd edition" how far will this get me into iphone dev? and has anyone read the whole book and if so how good are you at dev. now?
That book would get you pretty far. To program for the iPhone, you need to code in Objective C, and once you are "comfortable" programming in that, pick up "Beginning iPhone Development: Exploring the iPhone SDK" by Dave Mark and Jeff LaMarche. That book will teach you how to use Objective C with the iPhone.
But don't get too ahead of yourself, learning programming isn't reading through a book once and then you know it all, you would probably read it many times just to start to understand this vast subject. I would be surprised if someone that has no previous programming experience can actually create a semi-decent app for the iPhone in less than a year...
Are there classes that you can take in person? i seem to learn better that way... im already confused at using xcode lol
actualy xcode is in the first lesson in the intro lesson.The reason you're confused with Xcode is because you shouldn't be in Xcode yet.
The Objective-C 2.0 book teaches you the language behind all this. It doesn't teach (well there is one small chapter) Xcode.
If you really want to learn, learn first and then start to program. People think they can overlook a couple tutorials in an afternoon and create the next No1 app.
Like a previous poster said, it takes at least 6 months - 1 year to start being a novice programmer. To know it all, it would take a couple lives more or less.
actualy xcode is in the first lesson in the intro lesson.
I think TodVader was referring to using xCode for iphone programming specifically. The book only uses xCode for that in (as TodVader said) one or two chapters.... but you're right it does use xCode all the way through, but for simple commands with no GUI.
Just read through the book slowly, it explains what you need to know. If you dont understand something then read it again...and again....and again. I've read one or two of the chapters at least 4 times each to make sure I've completely got my head round it.
Patience is definitely a virtue when it comes to learning how to program.
What do you consider the "true" Objective-C and how did this book not show you that?And this didn't realy show me the true objective C.
Ah, well, that probably explains something at least.Of course I didn't read it all.
Objective-C is different. Probably just as different as Visual Basic is to Java. But you don't have to relearn OOP. It very much follows its principles. Just uses different syntax and alternative approaches.Most languages (java, C#, Visual Basic) are easy to understand and use while Objective C is different. Very different. You will again have to learn what object oriented programming means.
And pointers - those fu**** idiotic little bastards should be banned from the programming universe.
For Java developers that is even more true because Java has no pointers...
True objective C would be working without a GUI, making a simple program that does nothing or displays a little message. Here the first chapter where you do anything starts with the additions to objective C. And then goes to OOP conecpets. Yes the language is Objective C but making a simple programm with procedural programing would be nice too. Because OOP is overkill for many of the iPhone programs. And in this book he shows the same example in C and Objective C. And of course in C he uses struct and other things that I never saw in my lifeWhat do you consider the "true" Objective-C and how did this book not show you that?
Well I didn't reat that advanced topics and the things that are mac specific. But I did read other parts. What I do think is that I need a better bookAh, well, that probably explains something at least.
And I never said you said that.I never said that Objective C is a bad language
As do all languages. None is perfect.But still it has some problems.
These are Foundation framework classes and give you a lot of power without having to reinvent the wheel. Java has similar libraries.In Objective C there are to many NSthings. You have NSInteger, NSString, ...
You can, sometimes. But NSInteger is an object and thus can be used by other classes that work with objects, like NSArray and NSDictionary. Can't say the same for int.And you could use primitive data type (int) instead of NSInteger.
Granted, just like all languages.Of course it has some advantages but also some disadvantages.
Again, no language is perfect.And the NSString class doesn't have everything.
"Programming in Objective-C 2.0" by Stephen Kochan, the very book that started this thread. I, and many others on this forum, would highly recommend that book as your introduction to Objective-C. It deals a lot more with what you consider the "true" Objective-C.True objective C would be working without a GUI, making a simple program that does nothing or displays a little message. ...
What I do think is that I need a better bookto learn those things that I don't understand fully.