{"id":15562753,"url":"https://github.com/sonsongithub/snreachability","last_synced_at":"2025-10-13T22:09:16.208Z","repository":{"id":4447941,"uuid":"5586399","full_name":"sonsongithub/SNReachability","owner":"sonsongithub","description":"Network reachability check class for iOS","archived":false,"fork":false,"pushed_at":"2012-09-03T08:36:38.000Z","size":116,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-13T22:09:12.455Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sonsongithub.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-08-28T13:37:55.000Z","updated_at":"2014-03-01T04:42:46.000Z","dependencies_parsed_at":"2022-08-06T16:15:38.736Z","dependency_job_id":null,"html_url":"https://github.com/sonsongithub/SNReachability","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sonsongithub/SNReachability","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonsongithub%2FSNReachability","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonsongithub%2FSNReachability/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonsongithub%2FSNReachability/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonsongithub%2FSNReachability/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sonsongithub","download_url":"https://codeload.github.com/sonsongithub/SNReachability/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonsongithub%2FSNReachability/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279017152,"owners_count":26085983,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T16:16:10.377Z","updated_at":"2025-10-13T22:09:16.179Z","avatar_url":"https://github.com/sonsongithub.png","language":"Objective-C","readme":"SNReachability\n==============\nNetwork reachability check class for iOS\nSNReachablityChecker class notifies an observer of changing network status.\nThe notification informs reachability and what kind of methods a device uses in order to reach the internet, local Wi-Fi or specified host.\n\n---\n\nLicense\n=======\nBSD License.\n\n---\n\nSNReachablityChecker Reference\n=======\n\n\t+ (SNReachablityChecker*)reachabilityWithHostName:(NSString*)hostName;\n###Parameters\n####hostName\nThe name of host to check reachability to it.\n###Discussion\nReturned the instance to notify of information about reachability to the host you specified.\n\n\t+ (SNReachablityChecker*)reachabilityForInternetConnection;\n###Discussion\nReturned the instance to notify of information about reachability to the internet.\n\n\n\t+ (SNReachablityChecker*)reachabilityForLocalWiFi;\n###Discussion\nReturned the instance to notify of information about reachability to the local wireless network.\n\n\t- (BOOL)start;\n###Discussion\nStart notifying.\n\n\t- (void)stop;\n###Discussion\nStop notifying.\n\nProperties\n======\n###type\nThe receiver's type.\n\n\t@property (nonatomic, readonly) SNReachablityCheckerType type;\n###Discussion\nReturn type of the reachability checer type, expressed \"SNReachablityCheckerType\".\n\n###status\nThe receiver's status.\n\n\t@property (nonatomic, readonly) SNReachablityCheckerStatus status;\n###Discussion\nReturn the status of current network, expressed \"SNReachablityCheckerStatus\".\n\n---\n\nConstants\n======\n\n##SNReachablityCheckerType\n\n\ttypedef enum SNReachablityCheckerType_ {\n\t\tSNReachablityCheckerHostConnectivity\t\t= 0,\n\t\tSNReachablityCheckerInternetConnectivity\t= 1,\n\t\tSNReachablityCheckerLocalWiFiConnectivity\t= 2\n\t}SNReachablityCheckerType;\n\n###SNReachablityCheckerHostConnectivity\nReturned this vaue if you created the instance of SNReachabilityChecker using reachabilityWithHostName:.\n\n###SNReachablityCheckerInternetConnectivity\nReturned this vaue if you created the instance of SNReachabilityChecker using reachabilityForInternetConnection.\n\n###SNReachablityCheckerLocalWiFiConnectivity\nReturned this vaue if you created the instance of SNReachabilityChecker using reachabilityForLocalWiFi.\n\n##SNReachablityCheckerStatus\n\n\ttypedef enum SNReachablityCheckerStatus_ {\n\t\tSNReachablityCheckerNotReachable\t\t\t= 0,\n\t\tSNReachablityCheckerReachableViaWiFi\t\t= 1,\n\t\tSNReachablityCheckerReachableViaWWAN\t\t= 2\n\t}SNReachablityCheckerStatus;\n\n###SNReachablityCheckerNotReachable\nReturned this value when specified host or network is not reachable.\n\n###SNReachablityCheckerReachableViaWiFi\nReturned this value when specified host or network is reachable using Wi-Fi.\n\n###SNReachablityCheckerReachableViaWWAN\nReturned this value when specified host or network is reachable using WWAN.\n\n---\n\nNotifications\n======\nSNReachablityChecker notifies it when network status changes.\n\n###SNReachablityDidChangeNotification\nPosted when the network condition has been changed.  \nThe object is an SNReachablityChecker object.\n\n---\n\nBlog\n=======\n * [sonson.jp][]\nSorry, Japanese only....\n\nDependency\n=======\n * none\n\n[sonson.jp]: http://sonson.jp","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsonsongithub%2Fsnreachability","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsonsongithub%2Fsnreachability","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsonsongithub%2Fsnreachability/lists"}