A high performance blur effect on image in pure Swift.
- vImage based box blur
- stack blur
- OpenGL texture blur
- Xcode 9.0+
- iOS 8.0+ | macOS 10.10+ | tvOS 9.0+ | watchOS 2.0+
- Swift 3.2+
⚠️ Comming soon, you can use the master branch of the repository for now.
target '<#Your Target#>' do
pod 'BlurEffect', :git => 'https://github.com/0xxd0/BlurEffect.git'
end
CocoaPods CocoaPods is a dependency manager for Swift and Objective-C Cocoa projects. It has over 41 thousand libraries and is used in over 3 million apps. CocoaPods can help you scale your projects elegantly.
$ gem install cocoapods
With CocoaPods, specify BlurEffect in your Podfile
:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!
target '<#Your Target#>' do
pod 'BlurEffect', '~> 0.0.1'
end
run pod install:
$ pod install
Carthage builds your dependencies and provides you with binary frameworks, but you retain full control over your project structure and setup. Carthage does not automatically modify your project files or your build settings.
$ brew update
$ brew install carthage
Add following to Cartfile:
github "0xxd0/BlurEffect" ~> 0.0.1
The Swift Package Manager is a tool for managing the distribution of Swift code. It’s integrated with the Swift build system to automate the process of downloading, compiling, and linking dependencies.
// Package.swift
// swift-tools-version:3.0
let package = Package(
name: "<#Your Target#>",
dependencies: [
// ···
.Package(url: "https://github.com/0xxd0/BlurEffect.git", majorVersion: 0)
// ···
]
)
Download zip or clone repo and integrate into your project manually.
Clone the project and see the BlurEffect.playground
for detail usage.
This project is released under the MIT License.