Skip to content

Commit 56f776c

Browse files
author
yuki tamazawa
committed
[ci skip] add LICENSE
1 parent 4fc6e6f commit 56f776c

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

LICENSE.txt

Whitespace-only changes.

RIBsTreeViewerClient.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@
323323
SKIP_INSTALL = YES;
324324
SUPPORTS_MACCATALYST = NO;
325325
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
326-
SWIFT_VERSION = 4.2;
326+
SWIFT_VERSION = 5.0;
327327
TARGETED_DEVICE_FAMILY = 1;
328328
};
329329
name = Debug;
@@ -356,7 +356,7 @@
356356
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
357357
SKIP_INSTALL = YES;
358358
SUPPORTS_MACCATALYST = NO;
359-
SWIFT_VERSION = 4.2;
359+
SWIFT_VERSION = 5.0;
360360
TARGETED_DEVICE_FAMILY = 1;
361361
};
362362
name = Release;

RIBsTreeViewerClient/Sources/RIBsTreeViewer.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,8 @@ class WebSocketClient: NSObject {
191191
self.delegate?.onMessage(client: self, data: data)
192192
case .string(let text):
193193
self.delegate?.onMessage(client: self, text: text)
194+
@unknown default:
195+
fatalError()
194196
}
195197
case .failure(let error):
196198
self.delegate?.onError(client: self, error: error)

0 commit comments

Comments
 (0)