SilithCrowe, on 17 January 2012 - 01:29 PM, said:
Came here to say two things (I'm using Xcode 4.1 on Lion):
1. I never had to wire up any Table Views in the main nib file, nor did I have to create nib files for the Fugitive and Captured view controllers. I simply ignored that tiny "Do this!" at the bottom of pg. 416 (2nd Ed.) and it all worked out just fine. Very strange. Please do note that at this point in the book's narrative, you're not *supposed* to see anything in the table view. Skip ahead to pg. 420 and you'll see that there's more to do before things start working properly.
2. Kenneth P was absolutely right about needing the model from github. If you're crashing because the model that's loading the database doesn't match the model that created it, don't think twice about replacing your .xcdatamodeld file. I'm sure that in the real world you wouldn't be provided a database without also being provided this file; or even, you'd probably just be creating the database yourself. Here's a link to HF's code for chapter 8: https://github.com/d...ree/master/ch08
1. I never had to wire up any Table Views in the main nib file, nor did I have to create nib files for the Fugitive and Captured view controllers. I simply ignored that tiny "Do this!" at the bottom of pg. 416 (2nd Ed.) and it all worked out just fine. Very strange. Please do note that at this point in the book's narrative, you're not *supposed* to see anything in the table view. Skip ahead to pg. 420 and you'll see that there's more to do before things start working properly.
2. Kenneth P was absolutely right about needing the model from github. If you're crashing because the model that's loading the database doesn't match the model that created it, don't think twice about replacing your .xcdatamodeld file. I'm sure that in the real world you wouldn't be provided a database without also being provided this file; or even, you'd probably just be creating the database yourself. Here's a link to HF's code for chapter 8: https://github.com/d...ree/master/ch08
Agree with you! Just ignoring the "do this!" and everything will be fine.
I'm using Xcode 4.1 in Lion.


















