No MainNibFile causes buttonPressed error message
No MainNibFile causes buttonPressed error message
- Subject: No MainNibFile causes buttonPressed error message
- From: Lisa Zorn <email@hidden>
- Date: Fri, 5 Jul 2002 17:06:13 -0700
Hello,
I figure this is a slightly foolish question, but I haven't found any
mention of this.
I changed my application to not have a main nib file, preferring instead
to initialize the first parts of my GUI programmatically. Everything
seems to work fine; my principal class is an NSApplication, and I
instantiate my controlling object in the main file before calling
NSApplicationMain (but after making an NSAutoreleasePool, of course).
The only issue is that at launch, the following line _always_ prints to
the console 3 times:
Could not connect the action buttonPressed: to target of class
NSApplication
Not a big issue, but kind of annoying since users see it and thing
something is going wrong. I don't _think_ anything is going wrong, but
I'm not sure what this is referring to.
Thanks for any input,
-lisa
_______________________________________________
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.