small medium large xlarge

Errata for Programming Cocoa with Ruby

 

The latest version of the book is P1.0, released about 7 years ago. If you've bought a PDF of the book and would like to upgrade it to this version (for free), visit your home page.

By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:

If you've found a new error, please submit it.

  • Typo
  • Tech. error
  • Suggestion
  • Maybe next edition
  • Not a problem
  • Reported in: P1.0 (25-Feb-12)
#48805
PDF page: PnHrr
Paper page: BTciJ
This is one of the *best* tips on wiritng that I've come across (and I get lots of them coming into my mailbox all the time!).I'm going to apply i...more...
  • Reported in: P1.0 (26-Aug-10)
#44719
PDF page: 46
Seems IB changed a bit.. in item 3 and 4 refer to creating Actions and Outlets for the controller. Its no clear as to how this gets completed.. A li...more...
  • Reported in: P1.0 (28-Sep-09)
#40881
PDF page: 46
in Interface Builder 3.2 the definition of actions and outlets has moved from the doc window to the library. In the classes tab you can select your ne...more...
  • Reported in: P1.0 (23-Aug-09)
#40549
PDF page: 47
Note that if you are building this yourself (and you should), and drag the line from the outlet to the surrounding NSScrollView, everything will look ...more...
  • Reported in: P1.0 (03-Nov-10)
#45504
PDF page: 49
I found that I had to name the file controller.rb (note the lowercase filename). When it was Controller.rb it was throwing all kinds of errors.--David...more...
  • Reported in: P1.0 (23-Aug-09)
#40552
PDF page: 58
Typing in the text field doesn't provide the immediate feedback suggested on a keystroke-by-keystroke basis. You have to end editing (i.e., press ente...more...
  • Reported in: P1.0 (23-Aug-09)
#40553
PDF page: 70
To make this work, you have to: sudo gem install ramaze Also, this is where it is crucially important to be using the version of Ruby that ships...more...
  • Reported in: P1.0 (30-Dec-09)
#41944
PDF page: 87
Some of the classes use `ib_outlets`, only `WindowController` uses the singular `ib_outlet`. I guess they're aliased, but the difference was enough to...more...
  • Reported in: P1.0 (21-Aug-09)
#40523
PDF page: 95

"""--Joseph Grace

  • Reported in: P1.0 (21-Aug-09)
#40527
PDF page: 95

Hmm, first comment got lost in posting... Argh. (Apparently triple-quotes do not work in these comments?)

"--Joseph Grace

  • Reported in: P1.0 (21-Aug-09)
#40528
PDF page: 95
Hmm, first and second comments got lost in posting. Apparently, any quotations get lost in posting? Hmm, first comment got lost in posting... Argh...more...
  • Reported in: P1.0 (21-Aug-09)
#40529
PDF page: 95
Hmm, third try at this suggeston. Frustrating. Apparently, dragging comment box bigger causes problems? (Or is it the quotation marks?) Hmm, fir...more...
  • Reported in: P1.0 (21-Aug-09)
#40530
PDF page: 95
Hmm, comments 1-4 got lost in posting. Apparently, any quotation marks or greater than signs get lost in posting? -Here, a notification is posted ...more...
  • Reported in: P1.0 (21-Aug-09)
#40531
PDF page: 95

Last comment (#5th attempt on page 95) should be a suggestion.--Joseph Grace

  • Reported in: P1.0 (21-Aug-09)
#40524
PDF page: 101
Add (new) subsection 8.1 called "A DSL FOR DELEGATIONS" since you really are covering a DSL like the current 8.1 (reborn as 8.2) which makes a great l...more...
  • Reported in: P1.0 (21-Aug-09)
#40525
PDF page: 101
This chapter has great and valuable material in it. It brings out the best in ruby. Thank you. However the approach is a bit of a deep dive into Ru...more...
  • Reported in: P1.0 (21-Aug-09)
#40526
PDF page: 101

Oops. Last comment should be a suggestion. Thx.--Joseph Grace

  • Reported in: P1.0 (21-Aug-09)
#40533
PDF page: 106
NotificationBox.rb uses case statement with "when ...:". Apparently, these are not valid Ruby 1.9 (though they work in 1.8). For forward compatibili...more...
  • Reported in: P1.0 (23-Aug-09)
#40550
PDF page: 135

immoralized → immortalized--Joseph Grace

  • Reported in: P1.0 (30-Dec-09)
#41943
Paper page: 345

Bullet point 8 mentions `requireosx/cocoa` — there's a space missing after "require".--Carlo Zottmann