1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-11-28 11:35:35 +03:00

GH-436 Adapt workspace demo app

This commit is contained in:
Tae Won Ha 2017-06-29 08:02:15 +02:00
parent 77cc5cdb53
commit c7c24f39a8
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44

View File

@ -59,7 +59,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, WorkspaceDelegate {
fileprivate func dummyTool(title: String,
color: NSColor,
customToolbar: NSView? = nil,
customToolbar: CustomToolBar? = nil,
customMenu: [NSMenuItem] = []) -> WorkspaceTool
{
let config = WorkspaceTool.Config(title: title,
@ -89,7 +89,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, WorkspaceDelegate {
}
}
class DummyView: NSView {
class DummyView: CustomToolBar {
required init?(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")