• 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
No MainNibFile causes buttonPressed error message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: No MainNibFile causes buttonPressed error message
      • From: Andy Lee <email@hidden>
    • Re: No MainNibFile causes buttonPressed error message
      • From: Jeremy Dronfield <email@hidden>
  • Prev by Date: NSOpenGLPixelFormatAttribute in ObjC++
  • Next by Date: Re: NSFileManager - isExecutableFileAtPath - seems to lie
  • Previous by thread: Re: NSOpenGLPixelFormatAttribute in ObjC++
  • Next by thread: Re: No MainNibFile causes buttonPressed error message
  • Index(es):
    • Date
    • Thread