NSApplication delegate of type (null)?
NSApplication delegate of type (null)?
- Subject: NSApplication delegate of type (null)?
- From: Manfred Lippert <email@hidden>
- Date: Mon, 11 Feb 2002 08:49:09 +0100
Hi,
if I open the mainmenu.nib of my application in Interface Builder I see a
exclamation mark on the "File's Owner" which is of type NSApplication. If I
show the warning, it says "delegate must be of type (null)". What does that
mean??
I connected the delegate of the NSApplication (File's owner) to an instance
named "AppController" (which is a subclass of NSObject). It works great
(Actions in AppController are called by NSApplication). But when I
disconnect it as delegate from NSApplication I can never reconnect it.
Project Builder is showing the same warning in the info panel and the
"Connect"-Button is disabled.
So I better do not disconnect it, or if I've accidently disconnected it,
better *not* save the nib to disk ... ;-)
But I want to know why I'm seeing this!?
I cannot remember how I connected the AppController as delegate to my
NSApplication in the mainmenu.nib. ;-)
Any ideas?
Regards,
Mani
_______________________________________________
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.