// // NavigatorController.swift // DocHub // // Created by Tristan Juricek on 6/24/14. // Copyright (c) 2014 Perforce. All rights reserved. // import AppKit import Foundation // This is more of a placeholder than anything else at the moment class NavigatorController : NSViewController { let docHubLocation:DocHubLocation init(nibName nibNameOrNil: String!, bundle nibBundleOrNil: NSBundle!, docHubLocation:DocHubLocation) { self.docHubLocation = docHubLocation super.init(nibName:nibNameOrNil, bundle: nibBundleOrNil) self.docHubLocation.areaObserver.listeners.append({ self.areaChanged($0) }) } func areaChanged(area: Area) { println("TODO I need to reset my directory layout what???") } }