add app controller

This commit is contained in:
optixx
2009-09-01 08:50:29 +02:00
parent aeb3638e1f
commit c60d2f92fa
11 changed files with 155 additions and 17 deletions

View File

@@ -0,0 +1,19 @@
#import <Cocoa/Cocoa.h>
@interface AppController : NSObject {
IBOutlet NSTextField *textField;
IBOutlet NSColorWell *colorWell;
IBOutlet NSButton *stopButton;
IBOutlet NSTableView *tableView;
NSSpeechSynthesizer *speechSynth;
}
- (IBAction)sayIt:(id)sender;
- (IBAction)stopIt:(id)sender;
- (IBAction)changeTextColor:(id)sender;
- (void)speechSynthesizer:(NSSpeechSynthesizer *)send
didFinishSpeaking:(BOOL)finishedSpeaking;
- (int)numberOfRowsInTableView:(NSTableView *) aTableView;
-(id)tableView:(NSTableView*) aTableView
objectValueForTableColumn:(NSTableColumn *) aTableColumn row:(int)row;
@end