Skip to content

Commit

Permalink
Merge pull request #8 from srea/feature/fix-websocket-connection
Browse files Browse the repository at this point in the history
fix connection
  • Loading branch information
srea committed Dec 20, 2019
2 parents 2ceb721 + 88f56bf commit 8c7c580
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions RIBsTreeViewerClient.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 1.0.3;
MARKETING_VERSION = 1.0.4;
PRODUCT_BUNDLE_IDENTIFIER = co.minipro.app.RIBsTreeViewerClient;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SKIP_INSTALL = YES;
Expand Down Expand Up @@ -352,7 +352,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 1.0.3;
MARKETING_VERSION = 1.0.4;
PRODUCT_BUNDLE_IDENTIFIER = co.minipro.app.RIBsTreeViewerClient;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SKIP_INSTALL = YES;
Expand Down
3 changes: 2 additions & 1 deletion RIBsTreeViewerClient/Sources/RIBsTreeViewer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,11 @@ public class RIBsTreeViewerImpl: RIBsTreeViewer {

self.webSocket = WebSocketClient.init(url: URL(string: webSocketURL)!)
self.webSocket.delegate = self
self.webSocket.connect()
}

public func start() {
webSocket.connect()

let watchingInterval: Int
if let interval = option?[.monitoringInterval] as? Int {
watchingInterval = interval
Expand Down

0 comments on commit 8c7c580

Please sign in to comment.