{"id":21829355,"url":"https://github.com/codeinversion/sensors-swift-trainers","last_synced_at":"2025-04-14T06:08:20.053Z","repository":{"id":62457003,"uuid":"92118457","full_name":"codeinversion/sensors-swift-trainers","owner":"codeinversion","description":null,"archived":false,"fork":false,"pushed_at":"2020-05-06T15:51:01.000Z","size":2458,"stargazers_count":24,"open_issues_count":1,"forks_count":16,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T06:47:43.337Z","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/codeinversion.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-05-23T02:09:19.000Z","updated_at":"2025-02-19T10:39:17.000Z","dependencies_parsed_at":"2022-11-01T23:04:20.707Z","dependency_job_id":null,"html_url":"https://github.com/codeinversion/sensors-swift-trainers","commit_stats":null,"previous_names":["kinetic-fit/sensors-swift-trainers"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeinversion%2Fsensors-swift-trainers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeinversion%2Fsensors-swift-trainers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeinversion%2Fsensors-swift-trainers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeinversion%2Fsensors-swift-trainers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeinversion","download_url":"https://codeload.github.com/codeinversion/sensors-swift-trainers/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248732484,"owners_count":21152852,"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-27T18:26:48.768Z","updated_at":"2025-04-14T06:08:20.031Z","avatar_url":"https://github.com/codeinversion.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bike Trainers Plugin for Swifty Sensors\n![iOS](https://img.shields.io/badge/iOS-8.2%2B-blue.svg)\n![macOS](https://img.shields.io/badge/macOS-10.11%2B-blue.svg)\n![Swift 3.0](https://img.shields.io/badge/swift-3.0-orange.svg)\n![License](https://img.shields.io/badge/license-MIT-lightgrey.svg)\n[![CocoaPods](https://cocoapod-badges.herokuapp.com/v/SwiftySensorsTrainers/badge.svg)](https://cocoapods.org/pods/SwiftySensorsTrainers)\n\nThis [Swifty Sensor](https://github.com/kinetic-fit/sensors-swift/) plugin adds Services and Characteristics for various Bike Trainers.\n\n\n## Installation\n### CocoaPods\n```\nuse_frameworks!\npod 'SwiftySensors'\npod 'SwiftySensorsTrainers'\n```\n### Manual\nCopy all of the swift files in the `Sources` directory into you project. Also copy the Headers and Libraries directories. Include the appropriate libs for your project. You may need to add some includes to the header files in your **Bridging Header** *(and create one if you don't have one)*.\n\n### Swift Package Manager\nThis library is not compatible with Swift Package Manager **yet**. It relies upon some Objective C SDK libraries and Objective C libs are not supported in the SPM yet.\n\n## Usage\nWhen setting up your SensorManager, simply add the various Trainer Services to the scan list.\n```\nimport SwiftySensors\nimport SwiftySensorsTrainers\n\n// Customize what services you want to scan for\nSensorManager.instance.setServicesToScanFor([\n    CyclingPowerService.self,\n    ...\n    InRide2Service.self,\n    SmartControlService.self,\n    CycleOpsService.self\n])\n\n## Known bugs\nNone.\n\n## ToDos\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeinversion%2Fsensors-swift-trainers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeinversion%2Fsensors-swift-trainers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeinversion%2Fsensors-swift-trainers/lists"}