• 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
Adding controller causes toolbar error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Adding controller causes toolbar error


  • Subject: Adding controller causes toolbar error
  • From: Andrew Merenbach <email@hidden>
  • Date: Thu, 29 Aug 2002 10:10:34 -0700

I have many views in my program, loaded by a main controller. Strangely, whenever I add a new controller class to my MainController.h file, then create an instance of that class--for example:

@class CBPressureWindowController;

.......

CBPressureWindowController _controllerPressure

...My program quits on startup, with the errors:

2002-08-29 10:08:24.800 ChemBuddy[811] *** -[NSView setToolbar:]: selector not recognized
2002-08-29 10:08:24.818 ChemBuddy[811] An uncaught exception was raised
2002-08-29 10:08:24.835 ChemBuddy[811] *** -[NSView setToolbar:]: selector not recognized
2002-08-29 10:08:24.850 ChemBuddy[811] *** Uncaught exception: <NSInvalidArgumentException> *** -[NSView setToolbar:]: selector not recognized

ChemBuddy has exited with status 255.

I have many, many controllers in my program (for many, many windows). Is there some critical limit, something like 37? (I would have expected 32, if anything, but this seems not to be the case.)

There's a toolbar in my program, but I don't see how it's related. I've tried debugging, but before the program gets anywhere the debugger says my program "has exited with status 255," and there's nothing to step through.

Has anyone experienced similar problems?


Take care,
Andrew Merenbach
_______________________________________________
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: Adding controller causes toolbar error
      • From: Kevin Callahan <email@hidden>
    • Re: Adding controller causes toolbar error
      • From: j o a r <email@hidden>
  • Prev by Date: Cocoa Info
  • Next by Date: Re: Cocoa Info
  • Previous by thread: Re: Cocoa Info
  • Next by thread: Re: Adding controller causes toolbar error
  • Index(es):
    • Date
    • Thread