Photo

Chapter 8-Page 416


  • Please log in to reply
21 replies to this topic

#21 Shaun.Feng

Shaun.Feng

    New Member

  • Members
  • Pip
  • 2 posts

Posted 23 February 2012 - 12:23 AM

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


Agree with you! Just ignoring the "do this!" and everything will be fine.
I'm using Xcode 4.1 in Lion.

#22 Brian Evans

Brian Evans

    New Member

  • Members
  • Pip
  • 1 posts

Posted 02 October 2012 - 07:13 PM

Has anyone resolved this? I am able to build, install and run the project but I just see the empty table view. No data is actually ever displayed. Any help? I checked out the code on http://www.headfirst...ks/hfiphonedev/ and https://github.com/d...master/ch08/app

I'm running out of options....




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

"