Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
TextEditPlus Step 1/Controller.h
#import <Cocoa/Cocoa.h> |
@interface Controller : NSObject { |
IBOutlet NSPanel *propertiesPanel; |
IBOutlet id keywordsField; |
} |
/* NSApplication delegate methods */ |
- (void)application:(NSApplication *)app printFiles:(NSArray *)filenames; |
- (void)application:(NSApplication *)app openFiles:(NSArray *)filenames; |
- (BOOL)applicationOpenUntitledFile:(NSApplication *)app; |
- (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication *)app; |
/* Action methods */ |
- (void)createNew:(id)sender; |
- (void)open:(id)sender; |
- (void)saveAll:(id)sender; |
@end |
Copyright © 2006 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2006-07-28