NSToolbar Delegates not implemented?
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