{"id":16755812,"url":"https://github.com/quanvo87/viewglower","last_synced_at":"2026-04-30T03:39:47.402Z","repository":{"id":56926012,"uuid":"116346492","full_name":"quanvo87/ViewGlower","owner":"quanvo87","description":"Make any UIView glow ✨","archived":false,"fork":false,"pushed_at":"2018-01-05T15:52:06.000Z","size":1133,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-17T23:18:39.424Z","etag":null,"topics":["animate","glow","swift","uibutton","uiview"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/quanvo87.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":"2018-01-05T05:37:26.000Z","updated_at":"2019-11-20T02:47:08.000Z","dependencies_parsed_at":"2022-08-21T04:20:48.011Z","dependency_job_id":null,"html_url":"https://github.com/quanvo87/ViewGlower","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/quanvo87/ViewGlower","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quanvo87%2FViewGlower","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quanvo87%2FViewGlower/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quanvo87%2FViewGlower/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quanvo87%2FViewGlower/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quanvo87","download_url":"https://codeload.github.com/quanvo87/ViewGlower/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quanvo87%2FViewGlower/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260329335,"owners_count":22992880,"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":["animate","glow","swift","uibutton","uiview"],"created_at":"2024-10-13T03:23:54.208Z","updated_at":"2026-04-30T03:39:47.345Z","avatar_url":"https://github.com/quanvo87.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ViewGlower\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"ViewGlower/Assets/demo.gif\" width=\"369\" title=\"View Glower\"\u003e\n\u003c/p\u003e\n\nMake any `UIView` glow ✨\n\n\u003c!--[![CI Status](http://img.shields.io/travis/quanvo87/ViewGlower.svg?style=flat)](https://travis-ci.org/quanvo87/ViewGlower)--\u003e\n[![Version](https://img.shields.io/cocoapods/v/ViewGlower.svg?style=flat)](http://cocoapods.org/pods/ViewGlower)\n[![License](https://img.shields.io/cocoapods/l/ViewGlower.svg?style=flat)](http://cocoapods.org/pods/ViewGlower)\n[![Platform](https://img.shields.io/cocoapods/p/ViewGlower.svg?style=flat)](http://cocoapods.org/pods/ViewGlower)\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\nSwift 4\n\n## Installation\n\nViewGlower is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod 'ViewGlower'\n```\n\n## Usage\n\nImport the framework:\n\n```swift\nimport ViewGlower\n```\n\nInitialize an instance of `ViewGlower`:\n\n```swift\nclass ViewController: UIViewController {\n    let viewGlower = ViewGlower()\n\n    ...\n}\n```\n\nPass it a `UIView`:\n\n```swift\nlet barButton: UIBarButtonItem!\nlet button: UIButton!\n\n...\n\nviewGlower.glow(barButton.customView)\n\nviewGlower.glow(button.imageView)\n```\n\n\u003e Note: Calling `glow()` in `viewDidLoad()` does not work.\n\n#### Customize\n\n```swift\nfunc glow(_ view: UIView?,\n\t  color: UIColor = UIColor.white,\n\t  from: CGFloat = 0,\n\t  to: CGFloat = 0.9,\n\t  duration: CFTimeInterval = 1,\n\t  shouldRepeat: Bool = true)\n```\n\n#### Stop glowing\n\n```swift\nfunc stopGlowing(_ view: UIView?)\n```\n\n## Acknowledgements\n\nModified from [https://github.com/thesecretlab/UIView-Glow](https://github.com/thesecretlab/UIView-Glow).\n\nIcon in example from [https://www.shareicon.net/cute-emoticons-emoji-feelings-smileys-847494](https://www.shareicon.net/cute-emoticons-emoji-feelings-smileys-847494).\n\n## Author\n\nquanvo87, qvo1987@gmail.com\n\n## License\n\nViewGlower 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%2Fquanvo87%2Fviewglower","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquanvo87%2Fviewglower","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquanvo87%2Fviewglower/lists"}