Found a better way to load the ContentViewController

This commit is contained in:
Lukas Kubanek
2014-11-05 17:54:57 +01:00
parent 8f86de8524
commit 3207006d04
2 changed files with 2 additions and 16 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="6250"/>
</dependencies>
<objects>
<customObject id="-2" userLabel="File's Owner" customClass="ContentWindowController" customModule="DetachablePopover" customModuleProvider="target">
<customObject id="-2" userLabel="File's Owner" customClass="ContentWindowController" customModule="DetachablePopoverExample" customModuleProvider="target">
<connections>
<outlet property="window" destination="uNh-b0-zaJ" id="sBs-ai-tQy"/>
</connections>
+1 -15
View File
@@ -8,20 +8,6 @@
import AppKit
class ContentViewController: NSViewController {
// MARK: - Initialization
override init!(nibName nibNameOrNil: String?, bundle nibBundleOrNil: NSBundle?) {
super.init(nibName: nibNameOrNil, bundle: nibBundleOrNil)
}
convenience override init() {
self.init(nibName: "ContentViewController", bundle: nil)
}
required init?(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
@objc(ContentViewController) class ContentViewController: NSViewController {
}