{"id":1452,"url":"https://github.com/marty-suzuki/SABlurImageView","last_synced_at":"2025-08-02T04:31:14.271Z","repository":{"id":29436289,"uuid":"32972342","full_name":"marty-suzuki/SABlurImageView","owner":"marty-suzuki","description":"You can use blur effect and it's animation easily to call only two methods.","archived":false,"fork":false,"pushed_at":"2020-11-10T17:42:36.000Z","size":5777,"stargazers_count":556,"open_issues_count":8,"forks_count":49,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-12-05T22:00:34.576Z","etag":null,"topics":["blur","carthage","cocoapods","ios","macos","swift-package-manager","tvos","uiimage"],"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/marty-suzuki.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-03-27T07:05:51.000Z","updated_at":"2024-09-10T15:01:48.000Z","dependencies_parsed_at":"2022-08-22T01:20:33.175Z","dependency_job_id":null,"html_url":"https://github.com/marty-suzuki/SABlurImageView","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marty-suzuki%2FSABlurImageView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marty-suzuki%2FSABlurImageView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marty-suzuki%2FSABlurImageView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marty-suzuki%2FSABlurImageView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marty-suzuki","download_url":"https://codeload.github.com/marty-suzuki/SABlurImageView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228438914,"owners_count":17920015,"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":["blur","carthage","cocoapods","ios","macos","swift-package-manager","tvos","uiimage"],"created_at":"2024-01-05T20:15:46.784Z","updated_at":"2024-12-06T08:31:02.664Z","avatar_url":"https://github.com/marty-suzuki.png","language":"Swift","funding_links":[],"categories":["Media","Animation","UI"],"sub_categories":["Image","Other free courses"],"readme":"# SABlurImageView\n\n[![Platform](http://img.shields.io/badge/platform-iOS%20|%20tvOS%20|%20macOS-blue.svg?style=flat\n)](https://developer.apple.com/iphone/index.action)\n[![Language](http://img.shields.io/badge/Language-Swift-pink.svg?style=flat\n)](https://developer.apple.com/swift)\n[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-orange.svg?style=flat)](https://github.com/Carthage/Carthage)\n[![SwiftPM compatible](https://img.shields.io/badge/Swift%20Package%20Manager-compatible-4BC51D.svg?style=flat)](https://github.com/apple/swift-package-manager)\n[![Version](https://img.shields.io/cocoapods/v/SABlurImageView.svg?style=flat)](http://cocoapods.org/pods/SABlurImageView)\n[![CocoaPods](https://img.shields.io/cocoapods/dt/SABlurImageView.svg)](https://cocoapods.org/?q=SABlurImageView)\n[![License](https://img.shields.io/cocoapods/l/SABlurImageView.svg?style=flat)](http://cocoapods.org/pods/SABlurImageView)\n\n![](./SampleImage/sample.gif)\n\nYou can use blur effect and it's animation easily to call only two methods.\n\n[ManiacDev.com](https://maniacdev.com/) referred.  \n[https://maniacdev.com/2015/04/open-source-ios-library-for-easily-adding-animated-blurunblur-effects-to-an-image](https://maniacdev.com/2015/04/open-source-ios-library-for-easily-adding-animated-blurunblur-effects-to-an-image)\n\n## Features\n\n- [x] Blur effect with box size\n- [x] Blur animation\n- [x] 0.0 to 1.0 parameter blur\n- [x] Support Swift4\n\n## Installation\n\n#### CocoaPods\n\nSABlurImageView is available through [CocoaPods](http://cocoapods.org). If you have cocoapods 0.38.0 or greater, you can install\nit, simply add the following line to your Podfile:\n\n    pod \"SABlurImageView\"\n\n#### Carthage\n\nIf you’re using [Carthage](https://github.com/Carthage/Carthage), simply add\nSABlurImageView to your `Cartfile`:\n\n```\ngithub \"marty-suzuki/SABlurImageView\"\n```\n\nMake sure to add `SABlurImageView.framework` to \"Linked Frameworks and Libraries\" and \"copy-frameworks\" Build Phases.\n\n#### Swift Package Manager\n\nIf you’re using [Swift Package Manager](https://github.com/apple/swift-package-manager), simply add SABlurImageView to your `Package.swift`:\n\n```swift\ndependencies: [\n    .package(url: \"https://github.com/marty-suzuki/SABlurImageView\", from: \"0.1.0\")\n]\n```\n\n#### Manually\n\nAdd the [SABlurImageView](./SABlurImageView) directory to your project.\n\n## Usage In Swift\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\nIf you install from pod, you have to write `import SABlurImageView`.\n\nIf you want to apply blur effect for image\n\n```swift\nlet imageView = SABlurImageView(image: image)\nimageView.addBlurEffect(30, times: 1)\n```\n\nIf you want to animate\n\n```swift\nlet imageView = SABlurImageView(image: image)\nimageView.configrationForBlurAnimation()\nimageView.startBlurAnimation(duration: 2.0)\n```\n\nFirst time of blur animation is normal to blur. Second time is blur to normal. (automatically set configration of reverse animation)\n\nIf you want to use 0.0 to 1.0 parameter\n\n```swift\nlet imageView = SABlurImageView(image: image)\nimageView.configrationForBlurAnimation(100)\nimageView?.blur(0.5)\n```\n\n## Usage In Objective-C\n\nYou can use `SABlurImageView` in Objective-C!\n\nIf you install from pod, you have to write `#import \u003cSABlurImageView/SABlurImageView-Swift.h\u003e` in `.m`.\n\nIf you want to apply blur effect for image\n\n```objc\nSABlurImageView *imageView = [[SABlurImageView alloc] initWithImage:image];\n[imageView addBlurEffect:30.0f times:1];\n```\n\nIf you want to animate\n\n```objc\nSABlurImageView *imageView = [[SABlurImageView alloc] initWithImage:image];\n[imageView configrationForBlurAnimation:100.0f];\n[imageView startBlurAnimation:2.0f];\n```\n\nFirst time of blur animation is normal to blur. Second time is blur to normal. (automatically set configration of reverse animation)\n\nIf you want to use 0.0 to 1.0 parameter\n\n```objc\nSABlurImageView *imageView = [[SABlurImageView alloc] initWithImage:image];\n[imageView configrationForBlurAnimation:100.0f];\n[imageView blur:0.5f];\n```\n\n## Requirements\n\n- Xcode 9.3 or greater\n- iOS 8.0 or greater\n- tvOS 9.0 or greater\n- macOS 10.9 or greater\n- QuartzCore\n- Accelerate\n\n## Author\n\nTaiki Suzuki, s1180183@gmail.com\n\n## License\n\nSABlurImageView 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%2Fmarty-suzuki%2FSABlurImageView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarty-suzuki%2FSABlurImageView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarty-suzuki%2FSABlurImageView/lists"}