Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -(IBAction)showSugControl:(id)sender{
- if(!sugController){
- sugController = [[SuggestionsController alloc]initWithWindowNibName:@"Suggestions"];
- }
- [sugController.label setStringValue:@"from main"];
- [sugController showWindow:self];
- [sugController->label setStringValue:@"from main"];
- }
- #import <Cocoa/Cocoa.h>
- #import "SuggestionNode.h"
- @class AppController;
- @interface SuggestionsController : NSWindowController{
- AppController *fwc;
- @public
- IBOutlet NSTextField *label;
- }
- @property (nonatomic, retain)IBOutlet NSTextField *label;
- -(void)setWordArray:(NSMutableArray *)wordArray;
- -(IBAction) test:(id)sender;
- @end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement