• 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
NSToolbar Delegates not implemented?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSToolbar Delegates not implemented?


  • Subject: NSToolbar Delegates not implemented?
  • From: Rick Langschultz <email@hidden>
  • Date: Thu, 24 Aug 2006 19:30:01 -0500

I compiled my application and my NSToolbar Implementation throws :

ERROR: invalid delegate <ToolbarController: 0x360220> (does not implement all required methods), and so can not be used!

The Implementation is : <CLIP>

@implementation ToolbarController
- (void)awakeFromNib {
NSToolbar *toolbar = [[NSToolbar alloc] initWithIdentifier:@"mainToolbar"];
[toolbar setAutosavesConfiguration:YES];
[toolbar setAllowsUserCustomization:YES];
[toolbar setDelegate:self];
[window setToolbar:toolbar];
}
@end


the Interface declaration is: <CLIP>

@interface ToolbarController : NSObject
{
	IBOutlet NSWindow *window;
	NSToolbar *toolbar;
}
@end


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: NSToolbar Delegates not implemented?
      • From: Stephen Deken <email@hidden>
  • Prev by Date: Drag between 2 NSTableView?
  • Next by Date: Re: Another user defaults question
  • Previous by thread: Re: Drag between 2 NSTableView?
  • Next by thread: Re: NSToolbar Delegates not implemented?
  • Index(es):
    • Date
    • Thread