Re: Problem with iPhone project
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