{"id":1417,"url":"https://github.com/Aufree/ESTMusicIndicator","last_synced_at":"2025-08-06T14:32:59.513Z","repository":{"id":53923677,"uuid":"48799293","full_name":"Aufree/ESTMusicIndicator","owner":"Aufree","description":"Cool Animated music indicator view written in Swift","archived":false,"fork":false,"pushed_at":"2020-12-07T10:48:54.000Z","size":51,"stargazers_count":468,"open_issues_count":4,"forks_count":68,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-06-30T04:46:45.618Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/Aufree.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":"2015-12-30T12:16:18.000Z","updated_at":"2024-08-30T20:20:51.000Z","dependencies_parsed_at":"2022-08-13T04:30:57.485Z","dependency_job_id":null,"html_url":"https://github.com/Aufree/ESTMusicIndicator","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/Aufree/ESTMusicIndicator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aufree%2FESTMusicIndicator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aufree%2FESTMusicIndicator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aufree%2FESTMusicIndicator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aufree%2FESTMusicIndicator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aufree","download_url":"https://codeload.github.com/Aufree/ESTMusicIndicator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aufree%2FESTMusicIndicator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268486451,"owners_count":24258064,"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","status":"online","status_checked_at":"2025-08-03T02:00:12.545Z","response_time":2577,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-01-05T20:15:45.966Z","updated_at":"2025-08-06T14:32:59.234Z","avatar_url":"https://github.com/Aufree.png","language":"Swift","funding_links":[],"categories":["Media","Libs","UI [🔝](#readme)"],"sub_categories":["Audio","UI","Other free courses"],"readme":"![](http://ww4.sinaimg.cn/large/76dc7f1bjw1ezi2uzethxj21jk09uabz.jpg)\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://weibo.com/jinfali\"\u003e\u003cimg src=\"https://img.shields.io/badge/contact-@Aufree-orange.svg?style=flat\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/Aufree/ESTMusicIndicator/blob/master/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-MIT-green.svg?style=flat\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/Aufree\"\u003e\u003cimg src=\"https://ga-beacon.appspot.com/UA-70965318-2/ESTMusicIndicator/readme\" alt=\"GA\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nCool Animated music indicator view written in Swift.\n\nESTMusicIndicator is an implementation of [NAKPlaybackIndicatorView](https://github.com/yujinakayama/NAKPlaybackIndicatorView) in Swift for iOS 8.\n\n\u003e - 本人著作的书籍[《Laravel 入门教程》](https://laravel-china.org/laravel-tutorial/5.1)已正式发布，有兴趣的朋友可点击 [此处](https://laravel-china.org/topics/3383) 作进一步了解。\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://cloud.githubusercontent.com/assets/5310542/12050743/8b3352ec-af34-11e5-99b8-24577e5475e7.png\" width=\"320\" height=\"150\" alt=\"MusicIndicator\"/\u003e\n\u003c/p\u003e\n\n## You may interested in my other project\n\n* [PHPHub-iOS](https://github.com/aufree/phphub-ios) PHPHub for iOS is the universal iPhone and iPad application for PHPHub.\n* [ESTMusicPlayer](https://github.com/Aufree/ESTMusicPlayer) An elegant and simple iOS music player.\n* [ESTCollectionViewDropDownList](https://github.com/Aufree/ESTCollectionViewDropDownList) A demo implementation of a drop down tag list view for iOS.\n* [Hodor](https://github.com/Aufree/Hodor) A simple solution to localize your iOS App quickly.\n\n## Requirements\n\n* An iPhone/iPad running iOS 8.0+\n* Xcode 7.0 or above\n\n## Screenshots\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"http://ww1.sinaimg.cn/large/76dc7f1bgw1eznwh2vtipg20ku11277j.gif\" width=\"350\" height=\"667\" alt=\"MusicIndicator\"/\u003e\n\u003c/p\u003e\n\n## Run the Demo\n\n```bash\n$ open Example/ESTMusicIndicator.xcodeproj\n```\n\n## Installation\n\n### CocoaPods\n\nCocoaPods is a dependency manager for Cocoa projects.\n\nCocoaPods 0.36 adds supports for Swift and embedded frameworks. You can install it with the following command:\n\n```bash\n$ gem install cocoapods\n```\n\nTo integrate ESTMusicIndicatorView into your Xcode project using CocoaPods, specify it in your Podfile:\n\n```ruby\nsource 'https://github.com/CocoaPods/Specs.git'\nplatform :ios, '8.0'\nuse_frameworks!\n\npod 'ESTMusicIndicator'\n```\n\nThen, run the following command:\n\n```bash\n$ pod install\n```\n\nYou can check out [this link](http://www.raywenderlich.com/97014) for more information about how to use CocoaPods.\n\n### Manually\n\n1. Clone this project or download it.\n2. Drag and drop Classes folder to your workspace\n\n## Usage\n\nSimple Example:\n\n```swift\nlet indicator = ESTMusicIndicatorView.init(frame: CGRect.zero)\nindicator.tintColor = .red\nindicator.sizeToFit()\nview.addSubview(indicator)\n```\n\nInitially the `state` property is ESTMusicIndicatorViewStateStopped and the `hidesWhenStopped` property is YES.\nThus, the view is hidden at this time.\n\nThe view appears and the bars start animation.\n\n```swift\nindicator.state = .playing;\n```\n\nThe bars stop animation and become idle.\n\n```swift\nindicator.state = .paused;\n```\n\nThe view becomes hidden.\n\n```swift\nindicator.state = .stopped;\n```\n\nYou can use ESTMusicIndicatorView in both code and Storyboard, and it works well with both Auto Layout and frame-based layout.\n\n### Code with Auto Layout\n\n```swift\nlet indicator = ESTMusicIndicatorView.init(frame: CGRect.zero)\nindicator.translatesAutoresizingMaskIntoConstraints = false\nview.addSubview(indicator)\n```\n\nThen, add some positioning layout constraints.\nNote that normally you don't need to add sizing constraints since ESTMusicIndicatorView has an intrinsic content size.\nIt will be automatically resized to fit its content.\n\n### Code with Frame-Based Layout\n\n```swift\nlet indicator = ESTMusicIndicatorView.init(frame: CGRect.zero)\nview.addSubview(indicator)\nindicator.sizeToFit() // Resize itself to fit its content.\n```\n\n## Customization\n\n### Color\n\nThe color of the bars can be changed by setting `tintColor` property (`UIView`) of the view or its ancestor view.\n\n### Size\n\nNormally the view can be automatically resized to fit its content by:\n\n* Omitting sizing constraints in Auto Layout, since it has an intrinsic content size.\n* Calling `sizeToFit` in frame-based layout.\n\nOr if you explicitly specify size, the bars will be placed in the center of the view.\n\n## Contact\n\nYou can ping me on [Twitter](https://twitter.com/_Paul_King_) or follow me on [Weibo](http://weibo.com/jinfali) If you find an issue.\n\n## Contributing\n\nThank you for your interest in contributing to Hodor! Your ideas for improving this app are greatly appreciated. The best way to contribute is by submitting a pull request. I'll do my best to respond to you as soon as possible. You can also [submit a new GitHub issue](https://github.com/Aufree/ESTMusicIndicator/issues/new) if you find bugs or have questions.\n\n## Thanks for\n\n* [NAKPlaybackIndicatorView](https://github.com/yujinakayama/NAKPlaybackIndicatorView)\n\n## License\n\nCopyright (c) 2017-2018 Paul King\n---\n\nReleased under the [MIT license](https://github.com/Aufree/ESTMusicIndicator/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAufree%2FESTMusicIndicator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAufree%2FESTMusicIndicator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAufree%2FESTMusicIndicator/lists"}