mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-20 06:30:31 +01:00
Fix crashing bug. Now the app window appears! Without any data in it, sure, but hey.
This commit is contained in:
parent
b8f69779ed
commit
33e6e72d21
@ -14,15 +14,12 @@ import Account
|
||||
@objc class SidebarViewController: NSViewController, NSOutlineViewDelegate, NSOutlineViewDataSource {
|
||||
|
||||
@IBOutlet var outlineView: NSOutlineView!
|
||||
var treeController: TreeController!
|
||||
let treeControllerDelegate = SidebarTreeControllerDelegate()
|
||||
let treeController = TreeController(delegate: SidebarTreeControllerDelegate())
|
||||
|
||||
//MARK: NSViewController
|
||||
|
||||
override func viewDidLoad() {
|
||||
|
||||
treeController = TreeController(delegate: treeControllerDelegate)
|
||||
|
||||
NotificationCenter.default.addObserver(self, selector: #selector(unreadCountDidChange(_:)), name: .UnreadCountDidChange, object: nil)
|
||||
// NotificationCenter.default.addObserver(self, selector: #selector(folderChildrenDidChange(_:)), name: NSNotification.Name(rawValue: FolderChildrenDidChangeNotification), object: nil)
|
||||
NotificationCenter.default.addObserver(self, selector: #selector(userDidAddFeed(_:)), name: UserDidAddFeedNotification, object: nil)
|
||||
|
Loading…
Reference in New Issue
Block a user