From 0e648ef2a1798bba323469057a7224f255ef010b Mon Sep 17 00:00:00 2001 From: Tae Won Ha Date: Tue, 26 Mar 2019 09:23:02 +0100 Subject: [PATCH] Restructure Nvim target a bit --- Nvim/Nvim.xcodeproj/project.pbxproj | 104 ++++++++++-------- Nvim/Nvim/AppDelegate.swift | 11 +- Nvim/Nvim/Document.swift | 21 ++-- Nvim/Nvim/RxSwiftCommons.swift | 38 +++---- .../xcshareddata/xcschemes/VimR.dev.xcscheme | 10 -- 5 files changed, 83 insertions(+), 101 deletions(-) diff --git a/Nvim/Nvim.xcodeproj/project.pbxproj b/Nvim/Nvim.xcodeproj/project.pbxproj index 80215736..d2c14f0e 100644 --- a/Nvim/Nvim.xcodeproj/project.pbxproj +++ b/Nvim/Nvim.xcodeproj/project.pbxproj @@ -13,22 +13,22 @@ 4B06F6C9224526A90069C9F2 /* Document.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4B06F6C7224526A80069C9F2 /* Document.xib */; }; 4B06F6CB224526A90069C9F2 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 4B06F6CA224526A90069C9F2 /* Assets.xcassets */; }; 4B06F6CE224526A90069C9F2 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4B06F6CC224526A90069C9F2 /* MainMenu.xib */; }; - 4B06F6DD224528020069C9F2 /* RxMsgpackRpc.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4B06F6D6224528010069C9F2 /* RxMsgpackRpc.framework */; }; - 4B06F6DE224528020069C9F2 /* RxMsgpackRpc.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 4B06F6D6224528010069C9F2 /* RxMsgpackRpc.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; - 4B06F6DF224528020069C9F2 /* MessagePack.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4B06F6D7224528010069C9F2 /* MessagePack.framework */; }; - 4B06F6E0224528020069C9F2 /* MessagePack.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 4B06F6D7224528010069C9F2 /* MessagePack.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; - 4B06F6E1224528020069C9F2 /* RxMessagePort.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4B06F6D8224528010069C9F2 /* RxMessagePort.framework */; }; - 4B06F6E2224528020069C9F2 /* RxMessagePort.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 4B06F6D8224528010069C9F2 /* RxMessagePort.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; - 4B06F6E3224528020069C9F2 /* PureLayout.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4B06F6D9224528010069C9F2 /* PureLayout.framework */; }; - 4B06F6E4224528020069C9F2 /* PureLayout.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 4B06F6D9224528010069C9F2 /* PureLayout.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; - 4B06F6E5224528020069C9F2 /* RxSwift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4B06F6DA224528010069C9F2 /* RxSwift.framework */; }; - 4B06F6E6224528020069C9F2 /* RxSwift.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 4B06F6DA224528010069C9F2 /* RxSwift.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; - 4B06F6E7224528020069C9F2 /* Socket.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4B06F6DB224528010069C9F2 /* Socket.framework */; }; - 4B06F6E8224528020069C9F2 /* Socket.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 4B06F6DB224528010069C9F2 /* Socket.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; - 4B06F6E9224528020069C9F2 /* RxNeovimApi.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4B06F6DC224528010069C9F2 /* RxNeovimApi.framework */; }; - 4B06F6EA224528020069C9F2 /* RxNeovimApi.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 4B06F6DC224528010069C9F2 /* RxNeovimApi.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; - 4B06F6ED2245291B0069C9F2 /* NvimView.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4B06F6EC2245291B0069C9F2 /* NvimView.framework */; }; - 4B06F6EE2245291B0069C9F2 /* NvimView.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 4B06F6EC2245291B0069C9F2 /* NvimView.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 4BF78FB4224A17D800D5A018 /* RxMessagePort.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4BF78FAD224A17D800D5A018 /* RxMessagePort.framework */; }; + 4BF78FB5224A17D800D5A018 /* MessagePack.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4BF78FAE224A17D800D5A018 /* MessagePack.framework */; }; + 4BF78FB6224A17D800D5A018 /* RxMsgpackRpc.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4BF78FAF224A17D800D5A018 /* RxMsgpackRpc.framework */; }; + 4BF78FB7224A17D800D5A018 /* RxNeovimApi.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4BF78FB0224A17D800D5A018 /* RxNeovimApi.framework */; }; + 4BF78FB8224A17D800D5A018 /* Socket.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4BF78FB1224A17D800D5A018 /* Socket.framework */; }; + 4BF78FB9224A17D800D5A018 /* PureLayout.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4BF78FB2224A17D800D5A018 /* PureLayout.framework */; }; + 4BF78FBA224A17D800D5A018 /* RxSwift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4BF78FB3224A17D800D5A018 /* RxSwift.framework */; }; + 4BF78FBC224A17E700D5A018 /* NvimView.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4BF78FBB224A17E700D5A018 /* NvimView.framework */; }; + 4BF78FBD224A185600D5A018 /* NvimView.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 4BF78FBB224A17E700D5A018 /* NvimView.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 4BF78FBE224A185600D5A018 /* MessagePack.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 4BF78FAE224A17D800D5A018 /* MessagePack.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 4BF78FBF224A185600D5A018 /* PureLayout.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 4BF78FB2224A17D800D5A018 /* PureLayout.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 4BF78FC0224A185600D5A018 /* RxMessagePort.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 4BF78FAD224A17D800D5A018 /* RxMessagePort.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 4BF78FC1224A185600D5A018 /* RxMsgpackRpc.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 4BF78FAF224A17D800D5A018 /* RxMsgpackRpc.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 4BF78FC2224A185600D5A018 /* RxNeovimApi.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 4BF78FB0224A17D800D5A018 /* RxNeovimApi.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 4BF78FC3224A185600D5A018 /* RxSwift.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 4BF78FB3224A17D800D5A018 /* RxSwift.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 4BF78FC4224A185600D5A018 /* Socket.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 4BF78FB1224A17D800D5A018 /* Socket.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; /* End PBXBuildFile section */ /* Begin PBXCopyFilesBuildPhase section */ @@ -38,14 +38,14 @@ dstPath = ""; dstSubfolderSpec = 10; files = ( - 4B06F6E6224528020069C9F2 /* RxSwift.framework in Embed Frameworks */, - 4B06F6DE224528020069C9F2 /* RxMsgpackRpc.framework in Embed Frameworks */, - 4B06F6EA224528020069C9F2 /* RxNeovimApi.framework in Embed Frameworks */, - 4B06F6EE2245291B0069C9F2 /* NvimView.framework in Embed Frameworks */, - 4B06F6E2224528020069C9F2 /* RxMessagePort.framework in Embed Frameworks */, - 4B06F6E8224528020069C9F2 /* Socket.framework in Embed Frameworks */, - 4B06F6E4224528020069C9F2 /* PureLayout.framework in Embed Frameworks */, - 4B06F6E0224528020069C9F2 /* MessagePack.framework in Embed Frameworks */, + 4BF78FBD224A185600D5A018 /* NvimView.framework in Embed Frameworks */, + 4BF78FBE224A185600D5A018 /* MessagePack.framework in Embed Frameworks */, + 4BF78FBF224A185600D5A018 /* PureLayout.framework in Embed Frameworks */, + 4BF78FC0224A185600D5A018 /* RxMessagePort.framework in Embed Frameworks */, + 4BF78FC1224A185600D5A018 /* RxMsgpackRpc.framework in Embed Frameworks */, + 4BF78FC2224A185600D5A018 /* RxNeovimApi.framework in Embed Frameworks */, + 4BF78FC3224A185600D5A018 /* RxSwift.framework in Embed Frameworks */, + 4BF78FC4224A185600D5A018 /* Socket.framework in Embed Frameworks */, ); name = "Embed Frameworks"; runOnlyForDeploymentPostprocessing = 0; @@ -61,14 +61,14 @@ 4B06F6CA224526A90069C9F2 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 4B06F6CD224526A90069C9F2 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = ""; }; 4B06F6CF224526A90069C9F2 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 4B06F6D6224528010069C9F2 /* RxMsgpackRpc.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = RxMsgpackRpc.framework; path = ../Carthage/Build/Mac/RxMsgpackRpc.framework; sourceTree = ""; }; - 4B06F6D7224528010069C9F2 /* MessagePack.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MessagePack.framework; path = ../Carthage/Build/Mac/MessagePack.framework; sourceTree = ""; }; - 4B06F6D8224528010069C9F2 /* RxMessagePort.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = RxMessagePort.framework; path = ../Carthage/Build/Mac/RxMessagePort.framework; sourceTree = ""; }; - 4B06F6D9224528010069C9F2 /* PureLayout.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = PureLayout.framework; path = ../Carthage/Build/Mac/PureLayout.framework; sourceTree = ""; }; - 4B06F6DA224528010069C9F2 /* RxSwift.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = RxSwift.framework; path = ../Carthage/Build/Mac/RxSwift.framework; sourceTree = ""; }; - 4B06F6DB224528010069C9F2 /* Socket.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Socket.framework; path = ../Carthage/Build/Mac/Socket.framework; sourceTree = ""; }; - 4B06F6DC224528010069C9F2 /* RxNeovimApi.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = RxNeovimApi.framework; path = ../Carthage/Build/Mac/RxNeovimApi.framework; sourceTree = ""; }; - 4B06F6EC2245291B0069C9F2 /* NvimView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = NvimView.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 4BF78FAD224A17D800D5A018 /* RxMessagePort.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = RxMessagePort.framework; path = ../Carthage/Build/Mac/RxMessagePort.framework; sourceTree = ""; }; + 4BF78FAE224A17D800D5A018 /* MessagePack.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MessagePack.framework; path = ../Carthage/Build/Mac/MessagePack.framework; sourceTree = ""; }; + 4BF78FAF224A17D800D5A018 /* RxMsgpackRpc.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = RxMsgpackRpc.framework; path = ../Carthage/Build/Mac/RxMsgpackRpc.framework; sourceTree = ""; }; + 4BF78FB0224A17D800D5A018 /* RxNeovimApi.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = RxNeovimApi.framework; path = ../Carthage/Build/Mac/RxNeovimApi.framework; sourceTree = ""; }; + 4BF78FB1224A17D800D5A018 /* Socket.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Socket.framework; path = ../Carthage/Build/Mac/Socket.framework; sourceTree = ""; }; + 4BF78FB2224A17D800D5A018 /* PureLayout.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = PureLayout.framework; path = ../Carthage/Build/Mac/PureLayout.framework; sourceTree = ""; }; + 4BF78FB3224A17D800D5A018 /* RxSwift.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = RxSwift.framework; path = ../Carthage/Build/Mac/RxSwift.framework; sourceTree = ""; }; + 4BF78FBB224A17E700D5A018 /* NvimView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = NvimView.framework; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -76,14 +76,14 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 4B06F6E5224528020069C9F2 /* RxSwift.framework in Frameworks */, - 4B06F6DD224528020069C9F2 /* RxMsgpackRpc.framework in Frameworks */, - 4B06F6E9224528020069C9F2 /* RxNeovimApi.framework in Frameworks */, - 4B06F6ED2245291B0069C9F2 /* NvimView.framework in Frameworks */, - 4B06F6E1224528020069C9F2 /* RxMessagePort.framework in Frameworks */, - 4B06F6E7224528020069C9F2 /* Socket.framework in Frameworks */, - 4B06F6E3224528020069C9F2 /* PureLayout.framework in Frameworks */, - 4B06F6DF224528020069C9F2 /* MessagePack.framework in Frameworks */, + 4BF78FBC224A17E700D5A018 /* NvimView.framework in Frameworks */, + 4BF78FB4224A17D800D5A018 /* RxMessagePort.framework in Frameworks */, + 4BF78FB8224A17D800D5A018 /* Socket.framework in Frameworks */, + 4BF78FBA224A17D800D5A018 /* RxSwift.framework in Frameworks */, + 4BF78FB6224A17D800D5A018 /* RxMsgpackRpc.framework in Frameworks */, + 4BF78FB5224A17D800D5A018 /* MessagePack.framework in Frameworks */, + 4BF78FB9224A17D800D5A018 /* PureLayout.framework in Frameworks */, + 4BF78FB7224A17D800D5A018 /* RxNeovimApi.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -93,16 +93,9 @@ 4B06F6B7224526A80069C9F2 = { isa = PBXGroup; children = ( - 4B06F6EC2245291B0069C9F2 /* NvimView.framework */, - 4B06F6D7224528010069C9F2 /* MessagePack.framework */, - 4B06F6D9224528010069C9F2 /* PureLayout.framework */, - 4B06F6D8224528010069C9F2 /* RxMessagePort.framework */, - 4B06F6D6224528010069C9F2 /* RxMsgpackRpc.framework */, - 4B06F6DC224528010069C9F2 /* RxNeovimApi.framework */, - 4B06F6DA224528010069C9F2 /* RxSwift.framework */, - 4B06F6DB224528010069C9F2 /* Socket.framework */, 4B06F6C2224526A80069C9F2 /* Nvim */, 4B06F6C1224526A80069C9F2 /* Products */, + 4BF78FAC224A17A000D5A018 /* Frameworks */, ); sourceTree = ""; }; @@ -128,6 +121,21 @@ path = Nvim; sourceTree = ""; }; + 4BF78FAC224A17A000D5A018 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 4BF78FBB224A17E700D5A018 /* NvimView.framework */, + 4BF78FAE224A17D800D5A018 /* MessagePack.framework */, + 4BF78FB2224A17D800D5A018 /* PureLayout.framework */, + 4BF78FAD224A17D800D5A018 /* RxMessagePort.framework */, + 4BF78FAF224A17D800D5A018 /* RxMsgpackRpc.framework */, + 4BF78FB0224A17D800D5A018 /* RxNeovimApi.framework */, + 4BF78FB3224A17D800D5A018 /* RxSwift.framework */, + 4BF78FB1224A17D800D5A018 /* Socket.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ diff --git a/Nvim/Nvim/AppDelegate.swift b/Nvim/Nvim/AppDelegate.swift index e2270df7..7a51ed57 100644 --- a/Nvim/Nvim/AppDelegate.swift +++ b/Nvim/Nvim/AppDelegate.swift @@ -1,10 +1,7 @@ -// -// AppDelegate.swift -// Nvim -// -// Created by Tae Won Ha on 22.03.19. -// Copyright © 2019 Tae Won Ha. All rights reserved. -// +/** + * Tae Won Ha - http://taewon.de - @hataewon + * See LICENSE + */ import Cocoa diff --git a/Nvim/Nvim/Document.swift b/Nvim/Nvim/Document.swift index 83ec8101..71746716 100644 --- a/Nvim/Nvim/Document.swift +++ b/Nvim/Nvim/Document.swift @@ -1,10 +1,7 @@ -// -// Document.swift -// Nvim -// -// Created by Tae Won Ha on 22.03.19. -// Copyright © 2019 Tae Won Ha. All rights reserved. -// +/** + * Tae Won Ha - http://taewon.de - @hataewon + * See LICENSE + */ import Cocoa import NvimView @@ -13,8 +10,8 @@ import RxSwift class Document: NSDocument, NSWindowDelegate { - var nvimView = NvimView(forAutoLayout: ()) - let disposeBag = DisposeBag() + private var nvimView = NvimView(forAutoLayout: ()) + private let disposeBag = DisposeBag() override init() { super.init() @@ -24,11 +21,9 @@ class Document: NSDocument, NSWindowDelegate { .subscribe(onNext: { event in switch event { - case .neoVimStopped: - DispatchQueue.main.async { self.close() } + case .neoVimStopped: DispatchQueue.main.async { self.close() } - default: - break + default: Swift.print("Event received: \(event)") } }) diff --git a/Nvim/Nvim/RxSwiftCommons.swift b/Nvim/Nvim/RxSwiftCommons.swift index 90060ca4..08dcc533 100644 --- a/Nvim/Nvim/RxSwiftCommons.swift +++ b/Nvim/Nvim/RxSwiftCommons.swift @@ -6,7 +6,8 @@ import Foundation import RxSwift -extension PrimitiveSequence where Element == Never, TraitType == CompletableTrait { +extension PrimitiveSequence + where Element == Never, TraitType == CompletableTrait { func wait( onCompleted: (() -> Void)? = nil, @@ -22,15 +23,19 @@ extension PrimitiveSequence where Element == Never, TraitType == CompletableTrai let disposable = self.subscribe(onCompleted: { onCompleted?() + condition.lock() + defer { condition.unlock() } trigger = true - broadcast(condition) + condition.broadcast() }, onError: { error in onError?(error) - condition.lock() - trigger = true err = error - broadcast(condition) + + condition.lock() + defer { condition.unlock() } + trigger = true + condition.broadcast() }) while !trigger { condition.wait(until: Date(timeIntervalSinceNow: 5)) } @@ -44,10 +49,6 @@ extension PrimitiveSequence where Element == Never, TraitType == CompletableTrai extension PrimitiveSequence where TraitType == SingleTrait { - static func fromSinglesToSingleOfArray(_ singles: [Single]) -> Single<[Element]> { - return Observable.merge(singles.map { $0.asObservable() }).toArray().asSingle() - } - func syncValue() -> Element? { var trigger = false var value: Element? @@ -59,13 +60,16 @@ extension PrimitiveSequence where TraitType == SingleTrait { let disposable = self.subscribe(onSuccess: { result in value = result + condition.lock() + defer { condition.unlock() } trigger = true - broadcast(condition) + condition.broadcast() }, onError: { error in condition.lock() + defer { condition.unlock() } trigger = true - broadcast(condition) + condition.broadcast() }) while !trigger { condition.wait(until: Date(timeIntervalSinceNow: 5)) } @@ -74,19 +78,7 @@ extension PrimitiveSequence where TraitType == SingleTrait { return value } - func flatMapCompletable(_ selector: @escaping (Element) throws -> Completable) -> Completable { - return self - .asObservable() - .flatMap { try selector($0).asObservable() } - .ignoreElements() - } - func asCompletable() -> Completable { return self.asObservable().ignoreElements() } } - -private func broadcast(_ condition: NSCondition) { - condition.broadcast() - condition.unlock() -} diff --git a/VimR/VimR.xcodeproj/xcshareddata/xcschemes/VimR.dev.xcscheme b/VimR/VimR.xcodeproj/xcshareddata/xcschemes/VimR.dev.xcscheme index 335509f5..fc0ff521 100644 --- a/VimR/VimR.xcodeproj/xcshareddata/xcschemes/VimR.dev.xcscheme +++ b/VimR/VimR.xcodeproj/xcshareddata/xcschemes/VimR.dev.xcscheme @@ -62,16 +62,6 @@ - - - -