{"id":16903226,"url":"https://github.com/yuriiik/metronome","last_synced_at":"2026-05-17T18:35:53.851Z","repository":{"id":62447777,"uuid":"108123200","full_name":"yuriiik/Metronome","owner":"yuriiik","description":"A simple metronome.","archived":false,"fork":false,"pushed_at":"2017-11-07T11:58:45.000Z","size":84,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-20T15:16:28.293Z","etag":null,"topics":["avaudioengine","ios","metronome","objective-c"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","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/yuriiik.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-10-24T12:25:13.000Z","updated_at":"2021-02-14T17:40:59.000Z","dependencies_parsed_at":"2022-11-01T23:17:43.360Z","dependency_job_id":null,"html_url":"https://github.com/yuriiik/Metronome","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuriiik%2FMetronome","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuriiik%2FMetronome/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuriiik%2FMetronome/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuriiik%2FMetronome/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yuriiik","download_url":"https://codeload.github.com/yuriiik/Metronome/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244637098,"owners_count":20485446,"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":["avaudioengine","ios","metronome","objective-c"],"created_at":"2024-10-13T18:11:55.893Z","updated_at":"2026-05-17T18:35:53.782Z","avatar_url":"https://github.com/yuriiik.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Metronome\n\n[![CI Status](http://img.shields.io/travis/kupratsevich@gmail.com/Metronome.svg?style=flat)](https://travis-ci.org/kupratsevich@gmail.com/Metronome)\n[![Version](https://img.shields.io/cocoapods/v/Metronome.svg?style=flat)](http://cocoapods.org/pods/Metronome)\n[![License](https://img.shields.io/cocoapods/l/Metronome.svg?style=flat)](http://cocoapods.org/pods/Metronome)\n[![Platform](https://img.shields.io/cocoapods/p/Metronome.svg?style=flat)](http://cocoapods.org/pods/Metronome)\n\nA simple metronome.\n\n## Overview\n\nMetronome view controller that can be embedded into your app and used right away. Metronome implementation itself is based on Apple’s example (\u003chttps://developer.apple.com/library/content/samplecode/HelloMetronome/Introduction/Intro.html\u003e).\n\n![Metronome screenshot](https://raw.githubusercontent.com/yuriiik/Metronome/master/screenshot.PNG \"Metronome screenshot\")\n\n## Example\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\n## Requirements\n\n* iOS 9.0+\n\n## Installation\n\nMetronome is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod 'Metronome'\n```\n\n## Usage\n\nSimply create an instance of MTRMetronomeViewController and add its view to your view hierarchy.\n\n```objc\n@property (strong, nonatomic) MTRMetronomeViewController *metronome;\n```\nAdd to arbitrary UIVIew.\n```objc\nself.metronome = [[MTRMetronomeViewController alloc] initWithMinBPM:10 maxBPM:100 currentBPM:50];\n[self.view addSubview:self.metronome.view];\nself.metronome.view.frame = self.view.bounds;\n```\nAdd to UITableViewCell's contentView.\n```objc\nself.metronomeViewController = [[MTMetronomeViewController alloc] initWithMinBPM:10 maxBPM:100 currentBPM:50];\nself.metronomeViewController.view.translatesAutoresizingMaskIntoConstraints = NO;\n[self.contentView addSubview:self.metronomeViewController.view];\n\nUILayoutGuide *margin = self.contentView.layoutMarginsGuide;\n[self.metronomeViewController.view.topAnchor constraintEqualToAnchor:margin.topAnchor].active = YES;\n[self.metronomeViewController.view.bottomAnchor constraintEqualToAnchor:margin.bottomAnchor].active = YES;\n[self.metronomeViewController.view.leadingAnchor constraintEqualToAnchor:margin.leadingAnchor].active = YES;\n[self.metronomeViewController.view.trailingAnchor constraintEqualToAnchor:margin.trailingAnchor].active = YES;\n```\n\n## Author\n\nYurii Kupratsevych\n\nkupratsevich@gmail.com\n\n## License\n\nMetronome is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuriiik%2Fmetronome","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuriiik%2Fmetronome","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuriiik%2Fmetronome/lists"}