mirror of
https://github.com/nickshanks/ResKnife.git
synced 2024-10-03 20:55:36 +00:00
22 lines
552 B
Objective-C
22 lines
552 B
Objective-C
#import "PasteboardWindowController.h"
|
|
|
|
@implementation PasteboardWindowController
|
|
|
|
- (id)init
|
|
{
|
|
self = [self initWithWindowNibName:@"ResourceDocument"];
|
|
if( self ) [self setWindowFrameAutosaveName:@"PasteboardWindow"];
|
|
return self;
|
|
}
|
|
|
|
+ (id)sharedPasteboardWindowController
|
|
{
|
|
static PasteboardWindowController *sharedPasteboardWindowController = nil;
|
|
if( !sharedPasteboardWindowController )
|
|
{
|
|
sharedPasteboardWindowController = [[PasteboardWindowController allocWithZone:[self zone]] init];
|
|
}
|
|
return sharedPasteboardWindowController;
|
|
}
|
|
|
|
@end |