mirror of
https://github.com/nickshanks/ResKnife.git
synced 2024-06-03 01:29:40 +00:00
20 lines
546 B
Mathematica
20 lines
546 B
Mathematica
|
#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
|