Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
I just got this in the mail yesterday, ordered it Sunday night. Been reading Programming in Objective-C. Want the 2.0 version but decided it's not worth waiting till September, or whenever it'll be released. Plus someone mentioned iPhone development is Objective-C only (not 2.0).

iPhone development is Objective-C 2 but does not allow garbage collection. Properties, fast enumerators, etc are supported.
 
This book is really good. I couldn't wait for the paperback so i bought the eBook. Only books i have found previously was for xcode 2 and wasn't much help to me.
 

XIBs are compiled into NIBs when you build, so as long as you aren't using advanced features in IB 3, it should be okay. You can always run a compatibility check in IB to be sure.

XIB is literally the file format I have been waiting for. NIBs in SVN are a horrible mess if you have two people making UI tweaks. Having them compile to NIB so you don't need OS support to make them work is icing on the cake. :)

XIB was supported in 3.0 and 2.5, so I am surprised if the book doesn't touch on them. 3.1 makes them default (and it should, IMO).
 
I ordered it last Sunday so not too bad

I pre-ordered mine on 15 February and I've still got an estimated delivery in early July. Seems like Amazon UK don't care when you actually place your order with them! :mad:

Good luck with the book. I read the 2nd edition and found it excellent which is why I'm getting the 3rd edition to check out all the changes (and there have been *lots* of them).
 
I pre-ordered mine on 15 February and I've still got an estimated delivery in early July. Seems like Amazon UK don't care when you actually place your order with them! :mad:

Good luck with the book. I read the 2nd edition and found it excellent which is why I'm getting the 3rd edition to check out all the changes (and there have been *lots* of them).

Same as me, I had 2nd book but I want the third as a point of reference and to make sure I have been doing things right.

From past experience Amazon is not first come first served, it just fulfils orders so your probably get it faster by cancelling a re-ordering. Well that would be the case if it was in stock.
 
just arrived... looks tasty!

Picture1-3.jpg
 
I have the second version of this book, and I desperately want the third version. I've found that I like Xcode 3 a lot better than 2. Some things just didn't seem to "flow" when instiantiating sub-classes and stuff. The new way is a lot more natural, IMHO.

Now I've got to go ask my wife if I can buy another programming book. She's not exactly comptuer-minded and thought I was completely crazy for laughing at the cartoon below. She just shakes her head....thank God she loves me :).

sandwich.png
 
I have the second version of this book, and I desperately want the third version. I've found that I like Xcode 3 a lot better than 2. Some things just didn't seem to "flow" when instiantiating sub-classes and stuff. The new way is a lot more natural, IMHO.

Now I've got to go ask my wife if I can buy another programming book. She's not exactly comptuer-minded and thought I was completely crazy for laughing at the cartoon below. She just shakes her head....thank God she loves me :).

sandwich.png

i totally loled... hilarious...

[EDIT] but what if you don't know the password? ;)
 
I've been reading this book on and off for the last week and this is probably the most I've understood Cocoa before. You won't be disappointed. It's worth the wait.
 
Thanks you just cost me £20 haha

I've been looking for a book like this for a while, all the ones on the market seemed a little bit dated, and not exactly being an experienced programmer (just started learning), I didn't want to get an old one because I wouldn't be able to spot the differences.

ETA: 3/4 days - Nice :)
 
have you made it to chapter three yet? There's a big typo in the book and your program won't run if it isn't fixed.
when you get to the page where it tells you to add the description method, make sure it's like this:

- (NSString *)description
{
NSString *result;
result = [[NSString alloc] initWithFormat:mad:"%@ = %d and %d",
entryDate, firstNumber, secondNumber];
return result;
}

I typed it just like the book said to, but it wouldn't run. After checking and rechecking my code versus the book and the errors I decided to check out the downloadable files they have on the website, all the hands on examples they use are in there. The above code is how the example does it, and the example works. I've already notified them last night, hopefully they'll do sometihng about it.
 
have you made it to chapter three yet? There's a big typo in the book and your program won't run if it isn't fixed.
when you get to the page where it tells you to add the description method, make sure it's like this:

- (NSString *)description
{
NSString *result;
result = [[NSString alloc] initWithFormat:mad:"%@ = %d and %d",
entryDate, firstNumber, secondNumber];
return result;
}

I typed it just like the book said to, but it wouldn't run. After checking and rechecking my code versus the book and the errors I decided to check out the downloadable files they have on the website, all the hands on examples they use are in there. The above code is how the example does it, and the example works. I've already notified them last night, hopefully they'll do sometihng about it.

i couldn't find where you were refering to in chapter 3, but i haven't started reading the book yet...

the current book i'm living in, "Learn Objective-C on the Macintosh", has a few typos. in one part they have printed "divine" instead of "define" - it robbed the lesson of it's secular nature :p
 
have you made it to chapter three yet? There's a big typo in the book and your program won't run if it isn't fixed.
when you get to the page where it tells you to add the description method, make sure it's like this:

- (NSString *)description
{
NSString *result;
result = [[NSString alloc] initWithFormat:mad:"%@ = %d and %d",
entryDate, firstNumber, secondNumber];
return result;
}

I typed it just like the book said to, but it wouldn't run. After checking and rechecking my code versus the book and the errors I decided to check out the downloadable files they have on the website, all the hands on examples they use are in there. The above code is how the example does it, and the example works. I've already notified them last night, hopefully they'll do sometihng about it.

I think your mistaken. In chapter 3 he uses the description:
Code:
- (NSString *)description
{
	NSString *result = [[NSString alloc] initWithFormat:@"%@ = %d and %d",
		[entryDate descriptionWithCalendarFormat:@"%b %d %Y"],
		firstNumber, secondNumber];
	return result;
}

This compiles and works perfectly. I am referring to page 51.
 
I couldn't remember the page and didn't have the page handy... and I had already corrected my code. I was just saying when it gets to the description method it needs correcting. So that seriously runs perfectly for you? I had to change mine to fit theirs which was, as I pointed out, quite a bit different.
 
Had a quick flick through the book and I am impressed. He has made the more complex aspect easier to understand in this version such as Drag and Drop, and the inclusion of NSTask and Web services is a major plus for me.
 
I'm having trouble with the real concept of objects... to me from my past programming experience, an object is either a type also known as a struct, or it is a GUI object like a button or whatever. I can make these things work but I'm just entering in the code he says to put in, I don't know what's going on when it comes to classes instances objects and all that.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.