I just received the author copies of my book.
This entry was posted
on Friday, October 23rd, 2009 at 10:04 pm and is filed under cocoa, iphone.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
October 24th, 2009 at 6:45 am
Congrats! Do I, as a first commenter, get one copy for free? .)
November 30th, 2009 at 6:44 pm
Unfortunately my relatives, friends, old coworkers have all claimed one
!
March 14th, 2012 at 10:07 pm
First, I love your writing style. I’ve been programming on-and-off as a hobby since the early 1980s. (I love that you reverse engineered the Atari ST… I ran a BBS on an Atari 800 way back when!)
Anyway, I really need help with some code from your book. I’ve scoured the internet and poured over the code looking for some sort of missed punctuation or something. I’m getting an “expected method body” error on the @end line. Here’s the code cut-and-pasted from my Xcode, which I copied from your book.
@implementation CalculatorModel
- (float) value {return value; };
- (void) setValue:(float)v {value = v; };
- (void) saveValue:(float)v atIndex:(int)i {savedValues[i] = v; };
- (float) savedValueAtIndex:(int)i {return savedValues[i]; };
- (void) add: (float)v {value += v; };
- (void) subtract: (float)v {value -= v; };
- (void) multiply: (float)v {value *= v; };
- (void) divide: (float)v {value /= v; };
- (id) init
@end