Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tree: 6043dcb673
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (21 sloc) 0.766 kB
// Copyright (c) 2010-2011, Rasmus Andersson. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
#import "KASTViewerWindowController.h"
#import "KASTViewerController.h"
#import "common.h"
static KASTViewerWindowController *gSharedInstance_ = nil;
@implementation KASTViewerWindowController
@synthesize outlineViewController = outlineViewController_;
+ (KASTViewerWindowController*)sharedInstance {
if (!gSharedInstance_) {
KASTViewerWindowController *controller =
[[self alloc] initWithWindowNibName:@"ast-viewer"];
if (h_casid(&gSharedInstance_, controller)) {
[controller showWindow:self];
[controller release];
return gSharedInstance_;
Jump to Line
Something went wrong with that request. Please try again.