small medium large xlarge

Generic-user-small
01 Mar 2011, 00:44
Robert House (1 post)

I’ve implemented the code written for section 11.3 and have checked to ensure that all of the dictionary items (milkItem, butterItem, etc.) are being populated correctly, but when the window displays, both the quantity and name show up as “{“ instead of the names and quantities that have been specified in the init methods.

Has anyone else run across this error, and can you help? I’m ripping my hair out trying to figure out what I’ve done wrong.

Generic-user-small
01 Mar 2011, 10:48
Tim Isted (105 posts)

Hello, it’s hard to tell what’s gone wrong without seeing the code.

It’s most likely to be a be related to the changes made to the MyDocument header, or to the init method, or to the tableView:objectValueForColumn:row: method specifically, although it’s sadly entirely possible something else is causing problems. Would you be able to zip up the entire directory (in the Finder) containing the project and source code files, and email them to me so I can take a look? Otherwise, you’re going to be copying/pasting huge amounts of code into this forum!

My email address can be found via my blog.

You must be logged in to comment