Browse Source

fix typos using misspell

Wolfgang Lutz 8 years ago
parent
commit
abfe9be05b

+ 1 - 1
Reachability/Reachability.swift

@@ -157,7 +157,7 @@ public extension Reachability {
             throw ReachabilityError.UnableToSetDispatchQueue
         }
         
-        // Perform an intial check
+        // Perform an initial check
         reachabilitySerialQueue.async {
             self.reachabilityChanged()
         }

+ 1 - 1
ReachabilityAppleTVSample/ViewController.swift

@@ -19,7 +19,7 @@ class ViewController: UIViewController {
     override func viewDidLoad() {
         super.viewDidLoad()
         
-        // Start reachability without a hostname intially
+        // Start reachability without a hostname initially
         setupReachability(useHostName: false, useClosures: true)
         startNotifier()
         

+ 1 - 1
ReachabilityMacSample/ViewController.swift

@@ -19,7 +19,7 @@ class ViewController: NSViewController {
     super.viewDidLoad()
     view.wantsLayer = true
 
-    // Start reachability without a hostname intially
+    // Start reachability without a hostname initially
     setupReachability(useHostName: false, useClosures: true)
     startNotifier()
 

+ 1 - 1
ReachabilitySample/ViewController.swift

@@ -19,7 +19,7 @@ class ViewController: UIViewController {
     override func viewDidLoad() {
         super.viewDidLoad()
 
-        // Start reachability without a hostname intially
+        // Start reachability without a hostname initially
         setupReachability(nil, useClosures: true)
         startNotifier()
 

+ 1 - 1
ReachabilityTests/ReachabilityTests.swift

@@ -39,7 +39,7 @@ class ReachabilityTests: XCTestCase {
             dispatch_async(dispatch_get_main_queue()) {
                 print("Pass: \(validHostName) is reachable - \(reachability)")
                 
-                // Only fulfill the expectaion on host reachable
+                // Only fulfill the expectation on host reachable
                 expectation.fulfill()
             }
         }