@@ -157,7 +157,7 @@ public extension Reachability {
throw ReachabilityError.UnableToSetDispatchQueue
}
- // Perform an intial check
+ // Perform an initial check
reachabilitySerialQueue.async {
self.reachabilityChanged()
@@ -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()
@@ -19,7 +19,7 @@ class ViewController: NSViewController {
view.wantsLayer = true
setupReachability(nil, useClosures: true)
@@ -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()