Found a better way to load the ContentViewController
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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 {
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user