Re: In Praise of the new O'Reilly Cocoa book
Re: In Praise of the new O'Reilly Cocoa book
- Subject: Re: In Praise of the new O'Reilly Cocoa book
- From: "Jose L. Hales-Garcia" <email@hidden>
- Date: Sat, 25 May 2002 10:09:33 -0700
On Monday, May 20, 2002, at 06:57 AM, email@hidden wrote:
There are quite a few errors (in the examples and elsewhere).
I've been focusing on the MathPaper project and have found a couple of
inconsistencies between the book and my experience:
In the section "Changing the Names of MathPaper Project Files" a step is
missing. The NSDocumentClass property must be changed to
"MathDocument". To change it I went to Target (MathPaper) ->
Application Settings (Expert) -> CFBundleDocumentTypes -> 0 ->
NSDocumentClass.
Another difference is on page 330, in step 9 of "Creating
PaperController, a Subclass of NSWindowController". It says "Type
Command-5 and change the Custom Class of the File's Owner to
PaperController...". Doing this the Info window shows "Not Applicable"
with no option of changing the "File's Owner" to PaperController. My
guess is that it should be Command-1 which shows the Attributes and does
allow PaperController to be selected.
I have not succeeded in running the project though, I get the error:
2002-05-25 08:32:03.172 MathPaper[403] *** -[NSCFDictionary
setObject:forKey:]: attempt to insert nil value
I'm looking for what is not being initialized. Any help would be very
much appreciated.
Jose
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.