{"id":19252221,"url":"https://github.com/bellapplab/volumer","last_synced_at":"2025-07-25T20:37:11.105Z","repository":{"id":56926128,"uuid":"46292848","full_name":"BellAppLab/Volumer","owner":"BellAppLab","description":"A Swifty way to take control over the volume buttons on iOS.","archived":false,"fork":false,"pushed_at":"2023-04-05T02:19:40.000Z","size":36,"stargazers_count":8,"open_issues_count":1,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-13T17:52:26.979Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BellAppLab.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-11-16T18:11:12.000Z","updated_at":"2023-04-03T18:27:38.000Z","dependencies_parsed_at":"2024-11-09T18:27:09.514Z","dependency_job_id":"2495a799-506a-48a6-b33f-47b75fd4e953","html_url":"https://github.com/BellAppLab/Volumer","commit_stats":{"total_commits":8,"total_committers":2,"mean_commits":4.0,"dds":0.125,"last_synced_commit":"b04ea5b6f2be02012c9d42b48717a5a828f35cc9"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BellAppLab%2FVolumer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BellAppLab%2FVolumer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BellAppLab%2FVolumer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BellAppLab%2FVolumer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BellAppLab","download_url":"https://codeload.github.com/BellAppLab/Volumer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250064525,"owners_count":21368922,"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-11-09T18:26:01.309Z","updated_at":"2025-04-21T13:30:45.146Z","avatar_url":"https://github.com/BellAppLab.png","language":"Swift","readme":"# Volumer\n\nA Swifty way to take control over the volume buttons on iOS.\n\n_v0.2.0_\n\n## Usage\n\n```swift\nclass ViewController: UIViewController {\n\n    override func viewWillAppear(_ animated: Bool) {\n        super.viewWillAppear(animated)\n\n        //Register a volume up block\n        Volume.when(.up) {\n            print(\"UP!\")\n        }\n        \n        //Register a volume down block\n        Volume.down.when {\n            print(\"Down\")\n        }\n    }\n    \n    override func viewDidDisappear(_ animated: Bool) {\n    \n        //Be sure to call this when you're finished\n        Volume.reset()\n        \n        super.viewDidDisappear(animated)\n    }\n\n}\n```\n\n## Requirements\n\n- iOS 8+\n- MediaPlayer.framework\n- **NO AVFoundation** \\o/\n\n## Installation\n\n### Cocoapods\n\nBecause of [this](http://stackoverflow.com/questions/39637123/cocoapods-app-xcworkspace-does-not-exists), I've dropped support for Cocoapods on this repo. I cannot have production code rely on a dependency manager that breaks this badly. \n\n### Git Submodules\n\n**Why submodules, you ask?**\n\nFollowing [this thread](http://stackoverflow.com/questions/31080284/adding-several-pods-increases-ios-app-launch-time-by-10-seconds#31573908) and other similar to it, and given that Cocoapods only works with Swift by adding the use_frameworks! directive, there's a strong case for not bloating the app up with too many frameworks. Although git submodules are a bit trickier to work with, the burden of adding dependencies should weigh on the developer, not on the user. :wink:\n\nTo install Volumer using git submodules:\n\n```\ncd toYourProjectsFolder\ngit submodule add -b submodule --name Volumer https://github.com/BellAppLab/Volumer.git\n```\n\n**Swift 2 support**\n\n```\ngit submodule add -b swift2 --name BLLogger https://github.com/BellAppLab/BLLogger.git\n```\n\nThen, navigate to the new Volumer folder and drag the `Source` folder to your Xcode project.\n\n## Author\n\nBell App Lab, apps@bellapplab.com\n\n## License\n\nVolumer is available under the MIT license. See the LICENSE file for more info.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbellapplab%2Fvolumer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbellapplab%2Fvolumer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbellapplab%2Fvolumer/lists"}