Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Nov 7, 2007, 11:10 PM   #1
paul.b.davis
macrumors 6502
 
Join Date: Oct 2007
Location: Over the hills and far away...
Programming in Objective-C e-Book?

So I am wanting to take the plunge and start learning how to program, mainly for a hobby (and a way to pass the time at work) and possibly write a few apps to sell off (in the distant future).

I am looking right now at the e-Book version of Programming in Objective-C by Stephen Kochan. I have heard this book recommended before by other sites, and I was just wondering what everyone here's opinion was.

I have almost no experience programming with the exception of what I remember (very little) from a high school C class and doing BASIC on my TI-83 in high school while I was supposed to be doing calculus.

So any thoughts on this book would be helpful.

Thanks in advance.
__________________
paul
My Band
iMac | MacBook Air | iPhone 3GS
paul.b.davis is offline   0 Reply With Quote
Old Nov 7, 2007, 11:30 PM   #2
mduser63
macrumors 68040
 
mduser63's Avatar
 
Join Date: Nov 2004
Location: Salt Lake City, UT
Send a message via AIM to mduser63
It's the best book on any programming language that I've ever read. If you want to learn Objective-C, buy it.

(As an aside, I greatly prefer paper over e-books, but of course that's just a personal opinion. If you like e-books better, go with the e-book. It's probably cheaper anyway.)
mduser63 is offline   0 Reply With Quote
Old Nov 7, 2007, 11:52 PM   #3
paul.b.davis
Thread Starter
macrumors 6502
 
Join Date: Oct 2007
Location: Over the hills and far away...
it's cheaper, no waiting time, and I can print out a few chapters here at work, so I can read them on paper...thanks for the advice


now for the plunge
__________________
paul
My Band
iMac | MacBook Air | iPhone 3GS
paul.b.davis is offline   0 Reply With Quote
Old Nov 8, 2007, 03:19 AM   #4
garethlewis2
macrumors 6502
 
Join Date: Dec 2006
That book is pretty old now. It is a good introduction to Objective-C 1.0, but unless there have been some significant editorial changes over the past 2 weeks there will be zip in there about GC or using GC instead of retain-release for memory handling.
garethlewis2 is offline   0 Reply With Quote
Old Nov 8, 2007, 03:34 AM   #5
Eraserhead
macrumors G4
 
Eraserhead's Avatar
 
Join Date: Nov 2005
Location: UK
Quote:
Originally Posted by garethlewis2 View Post
That book is pretty old now. It is a good introduction to Objective-C 1.0, but unless there have been some significant editorial changes over the past 2 weeks there will be zip in there about GC or using GC instead of retain-release for memory handling.
I think it'll take a bit of time, but I'd expect new books to be released soon which cover Objective C 2.0.
__________________
Actually it does make sense. Man created god, so if we exist, He exists. - obeygiant
Eraserhead is offline   0 Reply With Quote
Old Nov 8, 2007, 05:57 AM   #6
paul.b.davis
Thread Starter
macrumors 6502
 
Join Date: Oct 2007
Location: Over the hills and far away...
Quote:
Originally Posted by garethlewis2 View Post
That book is pretty old now. It is a good introduction to Objective-C 1.0, but unless there have been some significant editorial changes over the past 2 weeks there will be zip in there about GC or using GC instead of retain-release for memory handling.
will retain release still work in OC-2?

just for now while I am learning
__________________
paul
My Band
iMac | MacBook Air | iPhone 3GS
paul.b.davis is offline   0 Reply With Quote
Old Nov 8, 2007, 07:46 AM   #7
garethlewis2
macrumors 6502
 
Join Date: Dec 2006
Yes retain/release will still work in Objective-C 2.0. GC is a complete and total hack job in Objective-C 2.0. You have to enable it in your project, it is disabled by default in XCode 3.0, this is leading some developers to question Objective-Cs future in the Apple development roadmap. Some are speculating that something like Ruby will become more common. It is easier to program in, and it's only real downside being that it is interpreted.
garethlewis2 is offline   0 Reply With Quote
Old Nov 8, 2007, 08:11 AM   #8
Nutter
macrumors 6502
 
Join Date: Mar 2005
Location: London, England
I wouldn't say it's a hack job! It works well, and it's fast. It has to be opt-in, otherwise it would seriously break backwards compatibility with existing Objective-C code. What's the problem?
Nutter is offline   0 Reply With Quote
Old Nov 8, 2007, 08:51 AM   #9
garethlewis2
macrumors 6502
 
Join Date: Dec 2006
I personally don't have a problem with it, but after using a language with Ruby for a while to solve some very simple and complex problems, it startles me at how old Objective-C 2.0 is. The GC is fantastic, it should have been there from the start rather than tacked on, but being spoiled by Ruby and Pyhon, it makes you wonder why you have to jump through hoops just to produce output from an array, etc.
garethlewis2 is offline   0 Reply With Quote
Old Nov 8, 2007, 09:04 AM   #10
Soulstorm
macrumors 68000
 
Soulstorm's Avatar
 
Join Date: Feb 2005
ObjC is old, but still top-notch. I come from a strong C++ background, and Objective C is a bit of fresh air, if you ask me. The only thing I really miss is operator overloading.

As for Objective C 1.0 and 2.0, I think it will be a useful knowledge to firstly learn ObjC 1.0 and then move on to 2.0. It may prove valuable to know how some things work under the hood and why the need for garbage collection was so great in Objective C from the start.
Soulstorm is offline   0 Reply With Quote
Old Nov 8, 2007, 09:41 AM   #11
kainjow
Moderator emeritus
 
kainjow's Avatar
 
Join Date: Jun 2000
Quote:
Originally Posted by garethlewis2 View Post
...this is leading some developers to question Objective-Cs future in the Apple development roadmap. Some are speculating that something like Ruby will become more common.
What developers?

Quote:
Originally Posted by garethlewis2 View Post
It is easier to program in, and it's only real downside being that it is interpreted.
I'd say that's a pretty major "downside".
kainjow is offline   0 Reply With Quote
Old Nov 8, 2007, 09:44 AM   #12
Gelfin
macrumors 68020
 
Gelfin's Avatar
 
Join Date: Sep 2001
Location: San Francisco, CA
Objective-C 1.0 texts will be just fine for starting out. All 1.0 code should be valid 2.0 code. Once you're comfortable with 1.0, you can get "The Objective-C 2.0 Programming Language" in PDF form for free from Apple and catch up on the new features.
__________________
Reality is that which, when you stop believing in it, doesn't go away.
--Philip K. Dick
Gelfin is offline   0 Reply With Quote
Old Nov 8, 2007, 08:12 PM   #13
psingh01
macrumors 65816
 
Join Date: Apr 2004
Objective-C is one of those languages that I think you can just use the free Apple docs to learn. Anything else a good C/C++ would do.
psingh01 is offline   0 Reply With Quote
Old Apr 27, 2011, 05:03 AM   #14
tienkhoanguyen
macrumors newbie
 
Join Date: Apr 2011
Location: Hollister Place
 
Send a message via Yahoo to tienkhoanguyen
I am all for free!

I bought the book, "Objective-C for Absolute Beginners: iPhone, iPad, and Mac Programming Made Easy". So far it does a good job of explaining things. I am only up to page 78 so I cannot verify the entire content! The good thing is that the examples in the book are still valid and works for Xcode 3.2.6. I have tried the free docs from Apple and they are too complicated for me. I guess that is why I have to pay someone to teach me how to program through this book. I hope I can write whatever I want for any device I want soon. I pray whether it be for the iPhone, iPad, or Mac, I can program anything! I hope to have the most joy in the process. Amen....
tienkhoanguyen is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Which book for learning Objective-C should I choose? BoxerRobban472 iPhone/iPad Programming 17 Aug 27, 2014 01:22 AM
Best book to learn Objective-C for a complete beginner to programming? Rasta4i iPhone/iPad Programming 7 Dec 18, 2013 09:03 AM
Book to start learning C-objective themis.b iPhone/iPad Programming 12 Mar 29, 2013 10:43 AM
BecomeAnXcoder : A free book for starting with Cocoa using Objective-C msaljaber iPhone/iPad Programming 0 Feb 7, 2013 05:30 AM
Finished Objective-C book... can't understand iOS book Red87445 iPhone/iPad Programming 18 Sep 8, 2012 06:02 AM

Forum Jump

All times are GMT -5. The time now is 07:40 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC