{"id":2321,"url":"https://github.com/shu223/Pulsator","last_synced_at":"2025-08-02T23:32:51.828Z","repository":{"id":48893685,"uuid":"56006891","full_name":"shu223/Pulsator","owner":"shu223","description":"Pulse animation for iOS","archived":false,"fork":false,"pushed_at":"2024-04-30T07:59:06.000Z","size":222,"stargazers_count":1422,"open_issues_count":15,"forks_count":160,"subscribers_count":24,"default_branch":"master","last_synced_at":"2024-10-29T15:34:23.851Z","etag":null,"topics":["animation","bluetooth","bluetooth-low-energy","ibeacon","ios","map","pulse-animation","swift"],"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/shu223.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["shu223"],"custom":["https://paypal.me/shu223","https://note.com/shu223/m/me1aa6761ab16"]}},"created_at":"2016-04-11T20:52:23.000Z","updated_at":"2024-10-17T02:23:47.000Z","dependencies_parsed_at":"2024-06-18T12:17:58.384Z","dependency_job_id":"41f8baf0-92b8-4376-a445-f05ea8072430","html_url":"https://github.com/shu223/Pulsator","commit_stats":{"total_commits":67,"total_committers":11,"mean_commits":6.090909090909091,"dds":"0.16417910447761197","last_synced_commit":"144e160aa9ff75de5ab88a91d8a2767942d97836"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shu223%2FPulsator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shu223%2FPulsator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shu223%2FPulsator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shu223%2FPulsator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shu223","download_url":"https://codeload.github.com/shu223/Pulsator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227075274,"owners_count":17727241,"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","bluetooth","bluetooth-low-energy","ibeacon","ios","map","pulse-animation","swift"],"created_at":"2024-01-05T20:16:10.811Z","updated_at":"2024-12-06T17:30:58.103Z","avatar_url":"https://github.com/shu223.png","language":"Swift","readme":"Pulsator\n===========\n\n[![Badge w/ Version](http://cocoapod-badges.herokuapp.com/v/Pulsator/badge.png)](http://cocoadocs.org/docsets/Pulsator)\n[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n[![License](http://img.shields.io/badge/license-MIT-lightgrey.svg?style=flat\n)](http://mit-license.org)\n[![Twitter](https://img.shields.io/badge/twitter-@shu223-blue.svg?style=flat)](http://twitter.com/shu223)\n\nPulse animation for iOS written with Swift.\n\n![](demo.gif)\n                    \nGreat For:\n\n- **Pulses of Bluetooth, BLE, beacons (iBeacon)**, etc.\n- Map Annotations\n\n## Installation\n\n### CocoaPods\n\nAdd into your Podfile.\n\n```:Podfile\npod \"Pulsator\"\n```\n\nThen `$ pod install`\n\n### Carthage\n\nAdd into your Cartfile.\n\n```:Cartfile\ngithub \"shu223/Pulsator\"\n```\n\nThen `$ carthage update`\n\n\n## How to use\n\nJust **3 lines**!\n\nInitiate and add to your view's layer, then call `start`!\n\n```swift\nlet pulsator = Pulsator()\nview.layer.addSublayer(pulsator)\npulsator.start()\n```\n\n\n## Customizations\n\n### Number of Pulses\n\nUse `numPulse` property.\n\n```swift\npulsator.numPulse = 3\n```\n\n### Radius\n\nUse `radius` property.\n\n```swift\npulsator.radius = 240.0\n```\n\n### Color\n\nJust set the `backgroundColor` property.\n\n```swift\npulsator.backgroundColor = UIColor(red: 1, green: 1, blue: 0, alpha: 1).cgColor\n```\n\n### Animation Duration\n\nUse following properties\n\n- `animationDuration` : duration for each pulse\n- `pulseInterval` : interval between pulses\n\n### Easing\n\nYou can set the `timingFunction` property.\n\n\n### Repeat\n\nUse `repeatCount` property.\n\n\n## Demo\n\nYou can try to change the `radius`,  `backgroundColor`  or other properties with the demo app.\n\n- Example/PulsatorDemo.xcodeproj\n\n\u003ciframe src=\"https://appetize.io/embed/45kwjngp1xud45eeqhxqy8qqew?device=iphone6s\u0026scale=75\u0026autoplay=false\u0026orientation=portrait\u0026deviceColor=black\" width=\"312px\" height=\"653px\" frameborder=\"0\" scrolling=\"no\"\u003e\u003c/iframe\u003e\n\n\n## macOS support\n\nAdd into your Podfile, then run `pod install`.\n\n```:Podfile\nplatform :osx, '10.9'\n\ntarget 'Pulsator' do\n  use_frameworks!\n  pod \"Pulsator\"\nend\n```\n\nThe usage is same as iOS.\n\n```swift\nlet pulsator = Pulsator()\nview.layer?.addSublayer(pulsator)\npulsator.start()\n```\n\n## Objective-C version\n\nThere is an ObjC version, but it's not maintained now.\n\n- https://github.com/shu223/PulsingHalo\n\nYou can use Pulsator also with Objective-C.\n\n```\n#import \"Pulsator-Swift.h\"\n```\n\n\n## Author\n\n**Shuichi Tsutsumi**\n\niOS freelancer in Japan. Welcome works from abroad!\n\n\u003ca href=\"https://paypal.me/shu223\"\u003e\n  \u003cimg alt=\"Support via PayPal\" src=\"https://cdn.rawgit.com/twolfson/paypal-github-button/1.0.0/dist/button.svg\"/\u003e\n\u003c/a\u003e\n\n- PAST WORKS:  [My Profile Summary](https://medium.com/@shu223/my-profile-summary-f14bfc1e7099#.vdh0i7clr)\n- PROFILES: [LinkedIn](https://www.linkedin.com/in/shuichi-tsutsumi-525b755b/)\n- BLOG: [English](https://medium.com/@shu223/) / [Japanese](http://d.hatena.ne.jp/shu223/)\n- CONTACTS:\n  - [Twitter](https://twitter.com/shu223)\n  - [Facebook](https://www.facebook.com/shuichi.tsutsumi)\n","funding_links":["https://github.com/sponsors/shu223","https://paypal.me/shu223","https://note.com/shu223/m/me1aa6761ab16"],"categories":["UI","Swift","Animation"],"sub_categories":["Animation","Other free courses"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshu223%2FPulsator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshu223%2FPulsator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshu223%2FPulsator/lists"}