Hi, i'm trying to program a drawer function into Smultron (an open source code editor) but i'm having a bit of trouble with it. I keep on getting an error that says:
2009-09-20 12:43:06.067 Smultron[4481:a0f] -[SMLProject directoryDrawer]: unrecognized selector sent to instance 0x2003ea6c0
Now in SMLProject on interface builder I connected an NSDrawer thingy up to the mainwindow in their and added this to SMLProject.h:
@property (readonly,retain) IBOutlet NSDrawer *directoryDrawer;
@property (readonly) IBOutlet NSOutlineView *directoryDrawerList;
and this to SMLProject.m (that get's called when opening a directory via another method in SMLCurrentProject)
- (void)openDirectoryDrawer:(NSString *)directory
{
// todo: set directory contents
[[self directoryDrawer] setParentWindow:[self window]];
[[self directoryDrawer] open];
}