Browse Source

Fix isRunningOnDevice

Signed-off-by: Ashley Mills <ashleymills@mac.com>
Ashley Mills 11 years ago
parent
commit
b6242bb829
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Reachability.swift

+ 2 - 2
Reachability.swift

@@ -42,9 +42,9 @@ class Reachability: NSObject, Printable {
     
     
     var isRunningOnDevice: Bool = {
     var isRunningOnDevice: Bool = {
         #if (arch(i386) || arch(x86_64)) && os(iOS)
         #if (arch(i386) || arch(x86_64)) && os(iOS)
-            return true
-            #else
             return false
             return false
+            #else
+            return true
         #endif
         #endif
         }()
         }()