Giter Club home page Giter Club logo

reach's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

reach's Issues

IPV6 Apple rejection

Hi, i have some issues with Apple using this Framework. Apple says that my application is crashing when in IPV6 netowrk. Im using Reach framework and all works fine but Apple says no. Please if someone could help me.

Cannot invoke 'withUnsafePointer' HELP

So I'm getting this error and I can't find a solution, help.

Cannot invoke 'withUnsafePointer' with an argument list of type '(inout sockaddr_in, () -> _)

let defaultRouteReachability = withUnsafePointer(&zeroAddress)

Internet connection check

Hi,

I'm currently connected to a wi-fi network but it doesn't connect to the internet. Nevertheless your implementation still returns "Online" for connectionStatus. Can you please help me finding out what is wrong?
However it works properly when really exists internet connection or when the wi-fi is turned off.

Thanks

Apple Match-O Librarian Error

I am iOS 8.2 using CocoaPods. What's missing here?

error: /Applications/Xcode-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: unknown option character `X' in: -Xlinker
Usage: /Applications/Xcode-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-sacLT] [-no_warning_for_no_symbols]
Usage: /Applications/Xcode-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -dynamic [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-o output] [-install_name name] [-compatibility_version #] [-current_version #] [-seg1addr 0x#] [-segs_read_only_addr 0x#] [-segs_read_write_addr 0x#] [-seg_addr_table ] [-seg_addr_table_filename <file_system_path>] [-all_load] [-noall_load]

Cocoapods install Swift 2

Is it possible to install the Swift 2 version with Cocoapods? I tried:

pod 'Reach', :git => 'https://github.com/Isuru-Nanayakkara/Reach.git'

.. but it installs the 1.2 version.

Create a release/tag to use as cocoapods dependency

Hi,

While cocoapods 0.36 doesn't have an official release, it would be nice to have a tag based on master branch and then add Swift-Reachability as reference in my project.

Like podspec says, I believe the tag should be named 0.1.0, just guessing, if not, please make sure both match with the same version.

Swift 3 version ?

Hi, your class seems to be simple and easy to use but unfortunately don't work on my swift 3 project :(

Do you plan to upgrade it ?

Thx ;)

Notifications did not work as expected.

Little experiment on XCODE 11.5

Add Reach.swift to project

Add code

NotificationCenter.default.addObserver(self, selector: #selector(ViewController.networkStatusChanged(_:)), name: Notification.Name(rawValue: ReachabilityStatusChangedNotification), object: nil)
		Reach().monitorReachabilityChanges()

to viewDidLoad() of ViewController


Turn Network Off unplugging net cable and switch off Wi-Fi connection on Mac

Build and start project in Simulator

We get string "Offline" on output. Everything is fine right now.

Switch internet connection On connecting to WiFi. Run some net activity in project. Download some data successfully. Nothing happen in NotificationCenter about ReachabilityStatusChangedNotification.


Another scenario with same code.

Turn Network On unplugging net cable but switch Wi-Fi connection On

Build and start project in Simulator

We get string "Online" on output. Everything is fine right now.
Switch Wi-Fi off.
We get string "Offline" on output. Everything is perfect! But
Reconnect Wi-Fi. Run some net activity in project. Download some data successfully.
Ooops.
Nothing happen in NotificationCenter about ReachabilityStatusChangedNotification again.

"Use of unresolved identifier 'Reachability'"

I have downloaded the code from "https://github.com/Isuru-Nanayakkara/Swift-Reachability" and I have to integrate the Reachability in my app but I am getting the error "Use of unresolved identifier 'Reachability'". The problem is very confusing to me because in one of my View Controller I am able to access the function
if Reachability.isConnectedToNetwork()
{

}
but in another View Controller it is giving error Use of unresolved identifier 'Reachability'
I have been trying to understand the cause of this issue but I didn't find any solution. Please provide me solution ASAP.

carthage

Could you please add support for Carthage?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.