ResKnife/Cocoa/Classes/PasteboardWindowController.m

20 lines
546 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