Am loving Beginning Mac Programming and I’ve encountered my first “stuck”.
I’ve looked at the errata link and did not see anything pertaining to the following, so as expected, I’m in error somewhere.
From page 154, 8.4 A new Application, I’m working my way through this section up to top of page 170 where it says to Build & Run the application. At this point, I don’t see any contents of the array (Milk, Eggs, Butter).
looking at the debugger console, I see: Running… 2010-06-29 22:09:25.175 Shopping List[55271:a0f] *** Illegal NSTableView data source (<MyDocument: 0x10043b850>). Must implement numberOfRowsInTableView: and tableView:objectValueForTableColumn:row:
But I’m not knowledgable enough to see where my error lies.
My Xcode project from page 154 up to page 170 is here: http://files.me.com/tangles/c1eahl if anyone is kind enough to help me out.
using text: ISBN-10: 1-934356-51-4 ISBN-13: 978-1-934356-51-7 P1.0 printing, March 2010 Version 2010-2-16