{"id":16949007,"url":"https://github.com/timoliver/slvolumebuttonlistener","last_synced_at":"2025-04-11T20:12:55.133Z","repository":{"id":145130562,"uuid":"48934096","full_name":"TimOliver/SLVolumeButtonListener","owner":"TimOliver","description":"A class for iOS that lets apps intercept events from the device's volume buttons","archived":false,"fork":false,"pushed_at":"2021-02-11T03:20:03.000Z","size":366,"stargazers_count":10,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-11T20:12:51.142Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TimOliver.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-01-03T04:36:35.000Z","updated_at":"2024-02-01T03:09:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"0ee81338-c49e-403c-92d8-5fe298dd0025","html_url":"https://github.com/TimOliver/SLVolumeButtonListener","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimOliver%2FSLVolumeButtonListener","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimOliver%2FSLVolumeButtonListener/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimOliver%2FSLVolumeButtonListener/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimOliver%2FSLVolumeButtonListener/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TimOliver","download_url":"https://codeload.github.com/TimOliver/SLVolumeButtonListener/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248473124,"owners_count":21109628,"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","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-13T21:52:56.067Z","updated_at":"2025-04-11T20:12:55.125Z","avatar_url":"https://github.com/TimOliver.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SLVolumeButtonListener\n***WARNING: This class SHOULD NEVER be used in a production iOS app. It was released under a license that is incompatible with the App Store, and explicitly disobeys App Store Review Guideline 10.5 (Modifying the functions of device hardware buttons). It had been made available for archival/educational purposes only.***\n\n---\n`SLVolumeButtonListener` is a class created by [John Papandriopoulos](http://jpap.org) in 2012, designed to detect and intercept when the user physically pressed either of the volume buttons on an iOS device.\n\nIt was originally created for [SnappyCam](http://thetechreviewer.com/software/snappycam-pro-review-fastest-ios-camera-app-ever/), a rapid-firing photography app from John's startup company SnappyLabs and was freely available on GitHub under the SnappyLabs account.\n\nWhen [SnappyLabs was acquired by Apple](http://techcrunch.com/2014/01/04/snappylabs/), the SnappyLabs GitHub account was deactivated, and this class was removed along with it. \n\nI had downloaded this class before the account was deactivated as I was interested in implementing a similar mechanism in [iComics](http://icomics.co) to enable the ability to turn comic book pages with the volume buttons. I since discovered this would have resulted in iComics being rejected from the App Store, so while I abandoned the feature, I still had this class kicking around my hard drive.\n\nIn order to preserve this class in the hopes it still has educational value, I've made it available on GitHub again under my own account.\n\nThe original README follows:\n\n---\n\n# Overview #\n\nThis repository contains an Objective C class to listen for volume button events on iOS.\n\nThree events are supported, for each of the two hardware buttons (+ Volume up, - Volume down):\n\n1. Volume button press has begun\n2. Volume button was pressed (can repeat while the button is held down)\n3. Volume button press has ended\n\nA sample Xcode project is included demonstrating the use of the library.\n\n# License #\n\nThe source in this repository is distributed under the terms of the GNU General \nPublic License.\n\nA separate license suitable for commercial use is available on request.\nFor further information, please contact licensing@snappylabs.com.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimoliver%2Fslvolumebuttonlistener","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimoliver%2Fslvolumebuttonlistener","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimoliver%2Fslvolumebuttonlistener/lists"}