P.229 - 3rd paragraph not working


XCode 4.6.1, iOS 6.1

“Build an run, create and tap on a row, and then check the console as your application crashes and burns.”

When I run this step I get the usual ItemsViewController but when I click the row nothing happens.

Unless I am missing something we haven’t yet connected DetailViewController to be called when a row is clicked. Am I correct or incorrect?


Are saying you did not see the following type of NSUnknownKeyException after implementing the 3rd paragraph-
‘NSUnknownKeyException’, reason: ‘[<DetailViewController 0x68c0740> setValue:forUndefinedKey:]: this class is not key value coding- compliant for the key nameField.’

i hate to ask this coz I’m sure u must have followed it. But nevertheless, did u follow the instructions in para3 as is??

Yes unless and until the row is selected i.e. clicked, the DetailViewController isn’t pushed onto the stack by the ItemsViewController. When the control is in DetailViewController then only will the runtime check for inconsistencies in object connections.
I hope i’m clear enough