浏览代码

Merge pull request #15 from damonjones/master

Fix typo in typealias name
Ashley Mills 10 年之前
父节点
当前提交
eca2517c69
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Reachability.swift

+ 2 - 2
Reachability.swift

@@ -33,7 +33,7 @@ public let ReachabilityChangedNotification = "ReachabilityChangedNotification"
 public class Reachability: NSObject, Printable {
 
     public typealias NetworkReachable = (Reachability) -> ()
-    public typealias NetworkUneachable = (Reachability) -> ()
+    public typealias NetworkUnreachable = (Reachability) -> ()
 
     public enum NetworkStatus: Printable {
 
@@ -54,7 +54,7 @@ public class Reachability: NSObject, Printable {
     // MARK: - *** Public properties ***
 
     public var whenReachable: NetworkReachable?
-    public var whenUnreachable: NetworkUneachable?
+    public var whenUnreachable: NetworkUnreachable?
     public var reachableOnWWAN: Bool
     public var notificationCenter = NSNotificationCenter.defaultCenter()