O'Reilly Forums: Chapter 8-Page 416 - O'Reilly Forums

Jump to content

  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Chapter 8-Page 416 Where is the Datasource???

#21 User is offline   Shaun.Feng 

  • New Member
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 23-February 12

Posted 23 February 2012 - 12:23 AM

View PostSilithCrowe, 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


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

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users