Errata for Cocoa Programming
We try to keep our books accurate, but sometimes mistakes creep in. This page lists the errors submitted by our astute readers. If you've found a new error, please submit it.
The latest version of the book is B1.07, released about 1 month 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.
| Paper | Description | Found in | Fixed in | |
|---|---|---|---|---|
| 34 |
#39552: ???? a stop button ? what stop button ????--François ANTIER |
B1.07
19-Jun-09 |
||
| 36 |
#39545: The second sentence in the "Joe asks..." box is a run-on. It starts, ".In the top left corner of your Xcode window and you will see the warning..."--David Hayes |
B1.07
18-Jun-09 |
||
| 39 |
#39012: The description of the process of building SimpleBrowser omits changing the Window title to SimpleBrowser and changing NewApplication to Simpl...more...
|
B1.06
26-Apr-09 |
||
| 46 |
#39474: The signature of goBack: as described in the docs (XCode 3.1.3) is
|
B1.07
16-Jun-09 |
||
| 48 |
#39476: The signature of takeStringURLFrom:as described in the docs (XCode 3.1.3) is
- (void)takeStringURLFrom:(id)sender
not:
- (IBAction)takeStri...more...
|
B1.07
16-Jun-09 |
||
| 56 |
#38688: Daniel,
I'm not sure where you could place an expanded version of your explanation of Actions/Targets/Outlets, but I am sure that a more co...more...
|
B1.06
02-Apr-09 |
||
| 57 |
#39477: 4.4 Actions and Outlets
|
B1.07
16-Jun-09 |
||
| 59 |
#39319: Second paragraph under "Joe Asks...", first sentence. The word "let's" should not have an apostrophe. Should read: "A warning lets you know..."--Joseph Jaramillo |
B1.07
04-Jun-09 |
||
| 78 |
#39598: Duplicate 'to' at top of this page. "Once you have this window you ask it to to set its title" should be "Once you have this window you ask it...more...
|
B1.07
22-Jun-09 |
||
| 99 |
#39289: I have been unable to produce a red triangle. I have set garbage collection to unsupported as shown on the previous page.--Joe G |
B1.07
31-May-09 |
||
| 108 |
#39729: First: Thanks for a wonderful book !
I select the code in my Main.m file, choose Edit, but the Refactor... menu-item is disabeled (off). A...more...
|
B1.07
29-Jun-09 |
||
| 111 |
#39498: "Of course, now we’re responsible for releasing this memory
|
B1.07
17-Jun-09 |
||
| 135 |
#39454: First: Great Book. Now: Chpt 9 (Custom Views). In this chapter you walk the reader through creating a custom view. I think it might help the b...more...
|
B1.07
15-Jun-09 |
||
| 147 |
#39774: When I run Hello Application, if I launch or terminate one application I get something that looks like the book. If I launch or terminate two...more...
|
B1.07
30-Jun-09 |
||
| 159 |
#39527: "If you look at MainMenu.xib you’ll see that the “File’s Owner” is also given as NSApplication.".
The reader is in the Info.plist and might n...more...
|
B1.07
17-Jun-09 |
||
| 175 |
#39640: The code at the end of chapter 10 does not link because it misses files ActivityViewController, which is only described in the following chapt...more...
|
B1.07
25-Jun-09 |
||
| 175 |
#39641: Missing source files in chapter 10--François ANTIER |
B1.07
25-Jun-09 |
||
| 202 |
#38841: Instead of "Go back to the code as it was in Section 12.6" (and similar suggestions in earlier chapters where you show 2 ways of approaching a...more...
|
B1.06
12-Apr-09 |
||
| 203 |
#39646: Chapter 12.8: " The only other change that is required is to drop the
colon from the end of the column identifiers in Inter face Builder. The...more...
|
B1.07
25-Jun-09 |
||
| 214 |
#39551: Reading a plist - the presented code reads:
|
B1.07
19-Jun-09 |
||
| 221 |
#38941: After "We’ll need to create a subclass of NSWindowController that will act as the preference window controller." - suggest adding some clarifi...more...
|
B1.06
19-Apr-09 |
||
| 222 |
#39555: Code at the bottom mentions:
|
B1.07
19-Jun-09 |
||
| 228 |
#38944: This is your first use of "@class" in a header file - without any explanation. As a result the implementation class of "MyBookshelf.m" needs t...more...
|
B1.06
19-Apr-09 |
||
| 234 |
#39575: The code will yield an error on the undeclared ivar bookInfo. As shown, it must be declared in the header file.--Peter Lorent |
B1.07
20-Jun-09 |
||
| 237 |
#39586: Changes in the awakeFromNib are missing. You would have to consult the supplied source code to see the changes. It should be mentioned to remo...more...
|
B1.07
21-Jun-09 |
||
| 237 |
#39588: The code mentions -(IBAction) setChapterName:
|
B1.07
21-Jun-09 |
||
| 239 |
#39587: KVC/Bookshelf7 in the code download:
|
B1.07
21-Jun-09 |
||
| 250 |
#39304: Counter5 example works fine if compiled for unsupported GC nevertheless does not work for supported GC. I assume that KVO in general should wo...more...
|
B1.07
02-Jun-09 |
||
| 256 |
#39597: Needed changes in Display.h are missing. Both observerOne and observerTwo need to be added as ivars. And released in dealloc.--Peter Lorent |
B1.07
22-Jun-09 |
||
| 259 |
#39724: Second paragraph, missing double quote after "most of it." The exact line is
with KVO and KVC compliant classes, the answer is “most of it....more...
|
B1.07
28-Jun-09 |
||
| 282 |
#39288: In the 5th paragraph, "Command Key arrangedObjects" should be "Controller Key arrangedObjects".--Barry Simpson |
B1.07
31-May-09 |
||
| 295 |
#39290: In the last paragraph, "sortDescriptor property" should be "sortDescriptors property" - plural.--Barry Simpson |
B1.07
31-May-09 |
||
| 296 |
#39349: You should probably mention that the Class of the PragBook Model Entity needs to be changed to the new "PragBook" class instead of the default...more...
|
B1.07
06-Jun-09 |
||
| 297 |
#39313: The code sample at the bottom of the page should be PragBook.m, not PragBook.h again.--Barry Simpson |
B1.07
04-Jun-09 |
