|
@@ -41,7 +41,7 @@ and
|
|
|
|
|
|
|
|
func reachabilityChanged(note: NSNotification) {
|
|
func reachabilityChanged(note: NSNotification) {
|
|
|
|
|
|
|
|
- let reachability = note.object as Reachability
|
|
|
|
|
|
|
+ let reachability = note.object as! Reachability
|
|
|
|
|
|
|
|
if reachability.isReachable() {
|
|
if reachability.isReachable() {
|
|
|
if reachability.isReachableViaWiFi() {
|
|
if reachability.isReachableViaWiFi() {
|