Re: unknown class in nib file
Re: unknown class in nib file
- Subject: Re: unknown class in nib file
- From: "John C. Randolph" <email@hidden>
- Date: Tue, 18 Mar 2003 17:58:40 -0800
On Tuesday, March 18, 2003, at 05:44 PM, Carrie Brezine wrote:
Everything was working fine on my app until about half an hour ago.
Then I get these errors immediately when trying to run:
2003-03-18 20:34:04.731 sasa[1173] Unknown class `AppDelegate' in nib
file, using `NSObject' instead.
2003-03-18 20:34:04.733 sasa[1173] Could not connect the action
enterApp: to target of class NSObject
I guess I understand what it is saying, but I'm puzzled as to how to
address it. I opened my nib file; an instance of AppDelegate was
there. I deleted it, reinstantiated it and reconnected everything;
still the same error. Then I deleted the instance of AppDelegate,
deleted the class AppDelegate from the classes tab, and dragged my
AppDelegate.h from my PB project into the nib. Again instantiated and
reconnected. Still the same error. What's going on? How can I fix
it? In IB the AppDelegate is definitely there, the AppDelegate class
files are in the project and have been for months. Why does it
suddenly stop working? (Of course I didn't touch those files, last
update on them is early Jan). Please tell me how I can fix this!
thank you
It sounds like the "AppDelegate.m" file got unchecked in the target
you're building. If this isn't the case, see what happens when you
enter
po [AppDelegate class]
in the debugger.
-jcr
John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.