{"id":18269794,"url":"https://github.com/KyoheiG3/DynamicBlurView","last_synced_at":"2025-04-04T23:31:30.564Z","repository":{"id":30071043,"uuid":"33620532","full_name":"KyoheiG3/DynamicBlurView","owner":"KyoheiG3","description":"DynamicBlurView is a dynamic and high performance UIView subclass for Blur.","archived":false,"fork":false,"pushed_at":"2023-11-27T08:51:49.000Z","size":411,"stargazers_count":972,"open_issues_count":3,"forks_count":105,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-03-31T22:21:54.570Z","etag":null,"topics":["animation","blur","ios","swift"],"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/KyoheiG3.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-04-08T17:07:40.000Z","updated_at":"2025-03-19T09:21:10.000Z","dependencies_parsed_at":"2024-06-18T12:28:32.699Z","dependency_job_id":"75dffa29-1df5-4d51-a6bb-f23da57e68da","html_url":"https://github.com/KyoheiG3/DynamicBlurView","commit_stats":{"total_commits":87,"total_committers":13,"mean_commits":"6.6923076923076925","dds":"0.45977011494252873","last_synced_commit":"d69b09d70a689dc7b8ea6aa6de3e63f9e6c545ce"},"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KyoheiG3%2FDynamicBlurView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KyoheiG3%2FDynamicBlurView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KyoheiG3%2FDynamicBlurView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KyoheiG3%2FDynamicBlurView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KyoheiG3","download_url":"https://codeload.github.com/KyoheiG3/DynamicBlurView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247266476,"owners_count":20910831,"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","blur","ios","swift"],"created_at":"2024-11-05T11:37:13.668Z","updated_at":"2025-04-04T23:31:28.743Z","avatar_url":"https://github.com/KyoheiG3.png","language":"Swift","readme":"# DynamicBlurView\n\n[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n[![Version](https://img.shields.io/cocoapods/v/DynamicBlurView.svg?style=flat)](http://cocoadocs.org/docsets/DynamicBlurView)\n[![License](https://img.shields.io/cocoapods/l/DynamicBlurView.svg?style=flat)](http://cocoadocs.org/docsets/DynamicBlurView)\n[![Platform](https://img.shields.io/cocoapods/p/DynamicBlurView.svg?style=flat)](http://cocoadocs.org/docsets/DynamicBlurView)\n\nDynamicBlurView is a dynamic and high performance UIView subclass for Blur.\n\n#### [Appetize's Demo](https://appetize.io/app/9pvxr367tm0jj2bcy8zavxnqkg?device=iphone6\u0026scale=75\u0026orientation=portrait)\n\n![home](https://user-images.githubusercontent.com/5707132/33749021-0342ea8c-dc0f-11e7-9260-af2d2e9c8d0c.gif)![home](https://user-images.githubusercontent.com/5707132/33749025-07595de0-dc0f-11e7-8814-fe757f437b69.png)\n\n\n- Since using the CADisplayLink, it is a high performance.\n- Can generate a plurality of BlurView.\n\n## Requirements\n\n- Swift 5\n- iOS 8.0 or later\n- tvOS 9.0 or later\n\n## How to Install DynamicBlurView\n\n#### CocoaPods\n\nAdd the following to your `Podfile`:\n\n```Ruby\npod \"DynamicBlurView\"\n```\n\n#### Carthage\n\nAdd the following to your `Cartfile`:\n\n```Ruby\ngithub \"KyoheiG3/DynamicBlurView\"\n```\n\n## Usage\n\n### Example\n\nBlur the whole\n\n```swift\nlet blurView = DynamicBlurView(frame: view.bounds)\nblurView.blurRadius = 10\nview.addSubview(blurView)\n```\n\nAnimation\n\n```swift\nUIView.animateWithDuration(0.5) {\n    blurView.blurRadius = 30\n}\n```\n\nRatio\n\n```swift\nblurView.blurRatio = 0.5\n```\n\n### Variable\n\n```Swift\nvar blurRadius: CGFloat\n```\n\n- Strength of the blur.\n\n```Swift\nvar trackingMode: TrackingMode\n```\n\n- Mode for update frequency.\n- `Common` is constantly updated.\n- `Tracking` is only during scrolling update.\n- `None` is not update.\n\n```swift\nvar blendColor: UIColor?\n```\n\n- Blend in the blurred image.\n\n```swift\nvar iterations: Int\n```\n\n- Number of times for blur.\n- Default is 3.\n\n```swift\nvar isDeepRendering: Bool\n```\n\n- If the view want to render beyond the layer, should be true.\n- Default is false.\n\n```swift\nvar blurRatio: CGFloat\n```\n\n- When none of tracking mode, it can change the radius of blur with the ratio. Should set from 0 to 1.\n- Default is 1.\n\n```swift\nvar quality: CaptureQuality\n```\n\n- Quality of captured image.\n- Default is medium.\n\n### Function\n\n```swift\nfunc refresh()\n```\n\n- Remove cache of blur image then get it again.\n\n```swift\nfunc remove()\n```\n\n- Remove cache of blur image.\n\n```swift\nfunc animate()\n```\n\n- Should use when needs to change layout with animation when is set none of tracking mode.\n\n## Acknowledgements\n\n- Inspired by [FXBlurView](https://github.com/nicklockwood/FXBlurView) in [nicklockwood](https://github.com/nicklockwood).\n\n## Author\n\n#### Kyohei Ito\n\n- [GitHub](https://github.com/kyoheig3)\n- [Twitter](https://twitter.com/kyoheig3)\n\nFollow me 🎉\n\n## LICENSE\n\nUnder the MIT license. See [LICENSE](./LICENSE) file for details.\n","funding_links":[],"categories":["swift"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKyoheiG3%2FDynamicBlurView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FKyoheiG3%2FDynamicBlurView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKyoheiG3%2FDynamicBlurView/lists"}