{"id":13352483,"url":"https://github.com/shu223/pulsator","last_synced_at":"2026-10-19T13:05:26.910Z","repository":{"id":48893685,"uuid":"56006891","full_name":"shu223/Pulsator","owner":"shu223","description":"Pulse animation for iOS","archived":false,"fork":false,"pushed_at":"2026-05-23T04:24:37.000Z","size":582,"stargazers_count":1436,"open_issues_count":15,"forks_count":155,"subscribers_count":21,"default_branch":"master","last_synced_at":"2026-09-22T08:39:09.257Z","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":"2026-09-18T14:05:18.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,"purl":"pkg:github/shu223/Pulsator","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","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shu223%2FPulsator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":344872684,"owners_count":38356524,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-19T02:00:06.414Z","response_time":53,"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":["animation","bluetooth","bluetooth-low-energy","ibeacon","ios","map","pulse-animation","swift"],"created_at":"2024-07-29T21:01:21.846Z","updated_at":"2026-10-19T13:05:26.905Z","avatar_url":"https://github.com/shu223.png","language":"Swift","funding_links":["https://github.com/sponsors/shu223","https://paypal.me/shu223","https://note.com/shu223/m/me1aa6761ab16"],"categories":["Libs","Animation [🔝](#readme)","UI and SwiftUI"],"sub_categories":["Animation"],"readme":"Pulsator\n===========\n\n[![License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](http://mit-license.org)\n[![X (formerly Twitter)](https://img.shields.io/badge/X%20(formerly%20Twitter)-@shu223-black.svg?style=flat)](https://x.com/shu223)\n\nPulse animation for iOS and macOS, usable from both UIKit and SwiftUI.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"demo.gif\" width=\"300\" alt=\"Pulsator demo\" /\u003e\n\u003c/p\u003e\n                    \nGreat For:\n\n- **Pulses of Bluetooth, BLE, beacons (iBeacon)**, etc.\n- Map Annotations\n\n## Installation\n\n### Swift Package Manager\n\nIn Xcode, choose **File → Add Package Dependencies…** and enter [this repository's URL](https://github.com/shu223/Pulsator):\n\n\u003cdetails\u003e\n\u003csummary\u003eCocoaPods (deprecated)\u003c/summary\u003e\n\nAdd into your Podfile.\n\n```:Podfile\npod \"Pulsator\"\n```\n\nThen `$ pod install`\n\n\u003c/details\u003e\n\n\n## How to use\n\n### SwiftUI\n\nJust **1 line**! Add the `.pulsator()` modifier to any view.\n\n```swift\nyourView\n    .pulsator()\n```\n\n### UIKit\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\nSwiftUI example:\n\n```swift\nyourView\n    .pulsator(\n        numPulse: 3,\n        radius: 240,\n        animationDuration: 5,\n        color: pulseColor,\n        isPulsating: isPulsating\n    )\n````\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\nTry changing the `radius`, `backgroundColor` or other properties with the demo apps.\n\n- SwiftUI: `Example/SwiftUI/PulsatorDemo.xcodeproj`\n- UIKit: `Example/UIKit/PulsatorDemo.xcodeproj`\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  - [X](https://x.com/shu223)\n  - [Facebook](https://www.facebook.com/shuichi.tsutsumi)\n","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"}