{"id":28511679,"url":"https://github.com/yalantis/fittrack","last_synced_at":"2025-07-19T02:04:12.118Z","repository":{"id":56911342,"uuid":"63093409","full_name":"Yalantis/FitTrack","owner":"Yalantis","description":"Concept of a fitness app.","archived":false,"fork":false,"pushed_at":"2018-10-24T10:14:49.000Z","size":6837,"stargazers_count":168,"open_issues_count":0,"forks_count":46,"subscribers_count":35,"default_branch":"master","last_synced_at":"2025-07-12T17:02:55.862Z","etag":null,"topics":["animation","cocoapods","concept","ios","swift","yalantis"],"latest_commit_sha":null,"homepage":"https://yalantis.com/","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/Yalantis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/contributing.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-11T18:47:35.000Z","updated_at":"2023-10-13T12:13:07.000Z","dependencies_parsed_at":"2022-08-21T04:20:35.843Z","dependency_job_id":null,"html_url":"https://github.com/Yalantis/FitTrack","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Yalantis/FitTrack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yalantis%2FFitTrack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yalantis%2FFitTrack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yalantis%2FFitTrack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yalantis%2FFitTrack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Yalantis","download_url":"https://codeload.github.com/Yalantis/FitTrack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yalantis%2FFitTrack/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265872207,"owners_count":23842143,"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":["animation","cocoapods","concept","ios","swift","yalantis"],"created_at":"2025-06-09T00:07:48.305Z","updated_at":"2025-07-19T02:04:12.109Z","avatar_url":"https://github.com/Yalantis.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FitTrack\n[![Platform](http://img.shields.io/badge/platform-iOS-blue.svg?style=flat)](http://cocoapods.org/?q=YALSideMenu) [![License](http://img.shields.io/badge/license-MIT-green.svg?style=flat)]()\n\nConcept of a fitness app.\n\n[![Yalantis](https://raw.githubusercontent.com/Yalantis/PullToRefresh/develop/PullToRefreshDemo/Resources/badge_dark.png)](https://yalantis.com/?utm_source=github)\n\n\u003cimg src=\"https://d13yacurqjgara.cloudfront.net/users/226733/screenshots/2337201/open-uri20151106-3-2y7q4w\" /\u003e\n\nCheck this \u003ca href=\"https://dribbble.com/shots/2337201-Fitness-App-Prototype\"\u003eproject on dribbble\u003c/a\u003e.\n\n## Requirements\n- iOS 9.0+\n- Xcode 7\n- Swift 2\n\n## Installing with [CocoaPods](https://cocoapods.org)\n\n```ruby\nuse_frameworks!\npod ‘FitTrack’, '~\u003e 0.1.0’\n```\n\n## Usage\n\nAt first, import FitTrack:\n```swift\nimport FitTrack\n```\n\nThen create animation view, for example, as outlet:\n```swift\n@IBOutlet private weak var animationView: AnimationView!\n```\n\nThen create collection of activities and configure animation view (pass these activities to animation view):\n```swift\nlet activities = ActivityDataProvider.generateActivities()\nanimationView.configureSubviews(activities.count, activities: activities)\n```\n\nСreation of activity is as follows:\n```swift\n// bike activity\nlet bikeLabelConfigurator = LabelConfigurator(textColor: UIColor.bikeActivityColor(), titleFontName: \"SFUIText-Light\", titleFontSize: 24, currentProgressFontName: \"SFUIText-Bold\", currentProgressFontSize: 48, goalFontName: \"SFUIText-Light\", goalLabelFontSize: 14)\nlet bikeActivityResource = ActivityResource(normalActivityButtonImage: UIImage(named: \"bike_normal\")!, selectedActivityButtonImage: UIImage(named: \"bike_active\")!, gradientImage: UIImage(named: \"grad_green\")!, labelConfigurator: bikeLabelConfigurator)\nlet bikeActivity = Activity(title: \"Miles\", goal: 2.5, currentProgress: 2, activityResource: bikeActivityResource)\nactivities.append(bikeActivity)\n```\n\nAfter configure animation view need to start animation:\n```swift\nanimationView.performAnimation()\n```\n\nFor more information, please, see example.\n\nHave fun! :)\n\n#### Let us know!\n\nWe’d be really happy if you sent us links to your projects where you use our component. Just send an email to github@yalantis.com And do let us know if you have any questions or suggestion regarding the animation. \n\nP.S. We’re going to publish more awesomeness wrapped in code and a tutorial on how to make UI for iOS (Android) better than better. Stay tuned!\n\n## License\n\nThe MIT License (MIT)\n\nCopyright © 2017 Yalantis\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyalantis%2Ffittrack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyalantis%2Ffittrack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyalantis%2Ffittrack/lists"}