-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWindowController.m
More file actions
44 lines (33 loc) · 880 Bytes
/
WindowController.m
File metadata and controls
44 lines (33 loc) · 880 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//
// WindowController.m
// AdiumCodePlugin
//
// Created by sparemaclappy on 8/3/12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#import "WindowController.h"
@interface WindowController ()
@end
@implementation WindowController
@synthesize scrollView;
@synthesize codeText;
- (id)initWithWindow:(NSWindow *)window
{
self = [super initWithWindow:window];
if (self) {
}
return self;
}
- (void)windowDidLoad
{
[super windowDidLoad];
// Implement this method to handle any initialization after your window controller's window has been loaded from its nib file.
NSWindow *window = [self window];
[window setTitle:@"CodePlugin"];
[scrollView setAutoresizingMask:NSViewWidthSizable |
NSViewHeightSizable];
}
- (void) setMyCodeText:(NSString *)newText {
[codeText setString:newText];
}
@end