From 76c6e42185243f8468a28772c785153914cbb367 Mon Sep 17 00:00:00 2001 From: Pierre Grimaud Date: Wed, 1 Jul 2020 17:26:35 +0200 Subject: [PATCH] docs: fix typos --- Example-Background/SwiftSyft-Background/SceneDelegate.swift | 2 +- SwiftSyft/Classes/SignallingClient.swift | 2 +- SwiftSyft/Classes/SyftWebSocket.swift | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Example-Background/SwiftSyft-Background/SceneDelegate.swift b/Example-Background/SwiftSyft-Background/SceneDelegate.swift index 73bb597..124d703 100644 --- a/Example-Background/SwiftSyft-Background/SceneDelegate.swift +++ b/Example-Background/SwiftSyft-Background/SceneDelegate.swift @@ -24,7 +24,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate { // Called as the scene is being released by the system. // This occurs shortly after the scene enters the background, or when its session is discarded. // Release any resources associated with this scene that can be re-created the next time the scene connects. - // The scene may re-connect later, as its session was not neccessarily discarded (see `application:didDiscardSceneSessions` instead). + // The scene may re-connect later, as its session was not necessarily discarded (see `application:didDiscardSceneSessions` instead). } func sceneDidBecomeActive(_ scene: UIScene) { diff --git a/SwiftSyft/Classes/SignallingClient.swift b/SwiftSyft/Classes/SignallingClient.swift index 05adfbd..90d1cd4 100644 --- a/SwiftSyft/Classes/SignallingClient.swift +++ b/SwiftSyft/Classes/SignallingClient.swift @@ -104,7 +104,7 @@ extension SignallingClient { #if !DEBUG guard url.absoluteString.hasPrefix("wss") else { - preconditionFailure("Path for socket server shoud start with wss://") + preconditionFailure("Path for socket server should start with wss://") } #endif diff --git a/SwiftSyft/Classes/SyftWebSocket.swift b/SwiftSyft/Classes/SyftWebSocket.swift index 2628b09..f7df71c 100644 --- a/SwiftSyft/Classes/SyftWebSocket.swift +++ b/SwiftSyft/Classes/SyftWebSocket.swift @@ -18,7 +18,7 @@ class SyftWebSocket: NSObject, SocketClientProtocol, URLSessionWebSocketDelegate super.init() #if !DEBUG guard url.absoluteString.hasPrefix("wss") else { - preconditionFailure("Path for socket server shoud start with wss://") + preconditionFailure("Path for socket server should start with wss://") } #endif urlSession = URLSession(configuration: .default, delegate: self, delegateQueue: delegateQueue)