| Line | |
|---|
| 1 | //
|
|---|
| 2 | // WindowController.m
|
|---|
| 3 | // TrivialDocuments
|
|---|
| 4 | //
|
|---|
| 5 | // Created by R. Matthew Emerson on 3/3/10.
|
|---|
| 6 | // Copyright 2010 __MyCompanyName__. All rights reserved.
|
|---|
| 7 | //
|
|---|
| 8 |
|
|---|
| 9 | #import "WindowController.h"
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 | @implementation WindowController
|
|---|
| 13 |
|
|---|
| 14 | - (void)dealloc
|
|---|
| 15 | {
|
|---|
| 16 | NSLog(@"window controller dealloc");
|
|---|
| 17 | [super dealloc];
|
|---|
| 18 | }
|
|---|
| 19 |
|
|---|
| 20 | - init
|
|---|
| 21 | {
|
|---|
| 22 | return [super initWithWindowNibName:@"MyDocument"];
|
|---|
| 23 | }
|
|---|
| 24 |
|
|---|
| 25 | - (void)windowWillClose:(NSNotification *)n
|
|---|
| 26 | {
|
|---|
| 27 | NSLog(@"windowWillClose w = %@", [n object]);
|
|---|
| 28 | }
|
|---|
| 29 |
|
|---|
| 30 | @end
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.