diff options
Diffstat (limited to 'src/AppDelegate.m')
-rw-r--r-- | src/AppDelegate.m | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/AppDelegate.m b/src/AppDelegate.m index 18bdc74..4c0ace7 100644 --- a/src/AppDelegate.m +++ b/src/AppDelegate.m @@ -6,6 +6,7 @@ - (void)dealloc { [_window release]; + [_text_view release]; [super dealloc]; } @@ -26,6 +27,10 @@ defer:NO]; [_window setTitle:@"Application"]; + + _text_view = [[NSTextView alloc] + initWithFrame:NSMakeRect(0, 0, 400, 400)]; + [[_window contentView] addSubview:_text_view]; } - (void)applicationDidFinishLaunching:(NSNotification *)notification |