{"id":15038724,"url":"https://github.com/jean-melikian/silverplate-ios","last_synced_at":"2026-01-19T04:02:47.356Z","repository":{"id":62455419,"uuid":"80029478","full_name":"jean-melikian/silverplate-ios","owner":"jean-melikian","description":"A system event helper for iOS","archived":false,"fork":false,"pushed_at":"2017-03-20T19:22:23.000Z","size":161,"stargazers_count":2,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-23T06:40:56.360Z","etag":null,"topics":["cocoa-framework","ios","swift-3","swift-framework","system-event","xcode8"],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jean-melikian.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-25T15:52:51.000Z","updated_at":"2019-05-10T14:00:51.000Z","dependencies_parsed_at":"2022-11-02T00:01:05.894Z","dependency_job_id":null,"html_url":"https://github.com/jean-melikian/silverplate-ios","commit_stats":null,"previous_names":["silverplate-framework/silverplate-ios","ozonepowered/silverplate-ios"],"tags_count":26,"template":false,"template_full_name":null,"purl":"pkg:github/jean-melikian/silverplate-ios","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jean-melikian%2Fsilverplate-ios","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jean-melikian%2Fsilverplate-ios/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jean-melikian%2Fsilverplate-ios/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jean-melikian%2Fsilverplate-ios/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jean-melikian","download_url":"https://codeload.github.com/jean-melikian/silverplate-ios/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jean-melikian%2Fsilverplate-ios/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28561650,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T03:31:16.861Z","status":"ssl_error","status_checked_at":"2026-01-19T03:31:15.069Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cocoa-framework","ios","swift-3","swift-framework","system-event","xcode8"],"created_at":"2024-09-24T20:39:53.788Z","updated_at":"2026-01-19T04:02:47.338Z","avatar_url":"https://github.com/jean-melikian.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SilverPlate Framework [![Build Status](https://travis-ci.org/SilverPlate-Framework/silverplate-ios.svg?branch=master)](https://travis-ci.org/SilverPlate-Framework/silverplate-ios)\n___\n## Description\n__SilverPlate__ is a Swift3 framework which elegantly brings some of the most important system events to you.\n\nEasy to use, you do not need protocols/delegates nor to implement a gazillion methods into your neat classes as the __SilverPlate__ public API relies on simple closures.\n\n___\n## Implementation\n- In a ViewController or any other class, to respond to reachability status change:\n\n```Swift3\nimport UIKit\nimport SilverPlate\n\nclass ViewController: UIViewController {\n    @IBOutlet weak var netStatusLabel: UILabel!\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n        SilverPlate.shared.onInternetStatusChanged = { (status) in\n            self.netStatusLabel.text = \"Connectivity status: \\(status)\"\n\n            switch status {\n            case SilverPlate.Network.wifi:\n                // Do some heavy download\n                break\n            case SilverPlate.Network.cellular:\n                // Now easy with the data load\n                break\n            case SilverPlate.Network.none:\n                // Don't try to fetch anything from the web\n                break\n            }\n        }\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjean-melikian%2Fsilverplate-ios","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjean-melikian%2Fsilverplate-ios","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjean-melikian%2Fsilverplate-ios/lists"}