• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Problem with iPhone project
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with iPhone project


  • Subject: Re: Problem with iPhone project
  • From: Dave DeLong <email@hidden>
  • Date: Tue, 06 Jan 2009 06:38:55 -0700

What that means is that you set the "FilesOwner" in your xib file to be a ButtonFunViewController, but you never hooked the view outlet for said controller (or it got unhooked). It's an easy mistake to make and one I find myself making about once a week. =P

Dave

On 4 Jan, 2009, at 9:00 AM, William Squires wrote:

Hi!
I just got the book "Beginning iPhone Development: Exploring the iPhone SDK" by Dave Mark/Jeff LaMarche. In Chapter 3, I built the project, but it keeps crashing. The gdb debugger console log shows:


"<datestamp> ButtonFun[<hex address>] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '- [UIViewController loadView] loaded the 'ButtonFunViewController' nib but no view was set.'

I rebuilt the project (under a different name), and it works. But I can't find any difference between the two projects; either in the source, or in the xib files. What should I be looking for (in the one that doesn't work, of course)? Did a .xib get corrupted, or did I disconnect something by accident?
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Problem with iPhone project (From: William Squires <email@hidden>)

  • Prev by Date: Re: Table sort image question
  • Next by Date: Artur Zaiat/MOL/CEECIS/UNICEF is out of the office.
  • Previous by thread: Problem with iPhone project
  • Next by thread: Test
  • Index(es):
    • Date
    • Thread