RosettaCodeData/Task/Simple-windowed-application/Objective-C/simple-windowed-application-1.m

14 lines
357 B
Mathematica
Raw Permalink Normal View History

2013-04-11 01:07:29 -07:00
#include <Foundation/Foundation.h>
#include <AppKit/AppKit.h>
@interface ClickMe : NSWindow
{
2014-04-02 16:56:35 +00:00
NSButton *_button;
NSTextField *_text;
int _counter;
2013-04-11 01:07:29 -07:00
}
- (void)applicationDidFinishLaunching: (NSNotification *)notification;
- (BOOL)applicationShouldTerminateAfterLastWindowClosed: (NSNotification *)notification;
- (void)advanceCounter: (id)sender;
@end