All Projects β†’ marty-suzuki β†’ Sablurimageview

marty-suzuki / Sablurimageview

Licence: mit
You can use blur effect and it's animation easily to call only two methods.

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Sablurimageview

Sica
🦌 Simple Interface Core Animation. Run type-safe animation sequencially or parallelly
Stars: ✭ 980 (+82.16%)
Mutual labels:  tvos, cocoapods, carthage, swift-package-manager
Swiftlinkpreview
It makes a preview from an URL, grabbing all the information such as title, relevant texts and images.
Stars: ✭ 1,216 (+126.02%)
Mutual labels:  tvos, cocoapods, carthage, swift-package-manager
Guitar
A Cross-Platform String and Regular Expression Library written in Swift.
Stars: ✭ 641 (+19.14%)
Mutual labels:  tvos, cocoapods, carthage, swift-package-manager
Swiftframeworktemplate
A template for new Swift iOS / macOS / tvOS / watchOS Framework project ready with travis-ci, cocoapods, Carthage, SwiftPM and a Readme file
Stars: ✭ 527 (-2.04%)
Mutual labels:  tvos, cocoapods, carthage, swift-package-manager
Functionkit
A framework for functional types and operations designed to fit naturally into Swift.
Stars: ✭ 302 (-43.87%)
Mutual labels:  tvos, cocoapods, carthage, swift-package-manager
Swifterswift
A handy collection of more than 500 native Swift extensions to boost your productivity.
Stars: ✭ 10,706 (+1889.96%)
Mutual labels:  tvos, cocoapods, carthage, swift-package-manager
Fontblaster
Programmatically load custom fonts into your iOS and tvOS app.
Stars: ✭ 1,000 (+85.87%)
Mutual labels:  tvos, cocoapods, carthage, swift-package-manager
Amplitude Ios
Native iOS/tvOS/macOS SDK
Stars: ✭ 216 (-59.85%)
Mutual labels:  tvos, cocoapods, carthage, swift-package-manager
Cdmarkdownkit
An extensive Swift framework providing simple and customizable markdown parsing.
Stars: ✭ 158 (-70.63%)
Mutual labels:  tvos, cocoapods, carthage, swift-package-manager
Ducttape
πŸ“¦ KeyPath dynamicMemberLookup based syntax sugar for Swift.
Stars: ✭ 138 (-74.35%)
Mutual labels:  tvos, cocoapods, carthage, swift-package-manager
L10n Swift
Localization of the application with ability to change language "on the fly" and support for plural form in any language.
Stars: ✭ 177 (-67.1%)
Mutual labels:  tvos, cocoapods, carthage, swift-package-manager
Web3.swift
A pure swift Ethereum Web3 library
Stars: ✭ 295 (-45.17%)
Mutual labels:  tvos, cocoapods, carthage, swift-package-manager
Keyboardshortcuts
Add user-customizable global keyboard shortcuts to your macOS app in minutes
Stars: ✭ 500 (-7.06%)
Mutual labels:  cocoapods, carthage, swift-package-manager
Datez
πŸ“† Breeze through Date, DateComponents, and TimeInterval with Swift!
Stars: ✭ 254 (-52.79%)
Mutual labels:  tvos, cocoapods, carthage
Openssl
OpenSSL package for SPM, CocoaPod, and Carthage, for iOS and macOS
Stars: ✭ 515 (-4.28%)
Mutual labels:  cocoapods, carthage, swift-package-manager
Swiftytexttable
A lightweight library for generating text tables.
Stars: ✭ 252 (-53.16%)
Mutual labels:  cocoapods, carthage, swift-package-manager
Corestore
Unleashing the real power of Core Data with the elegance and safety of Swift
Stars: ✭ 3,254 (+504.83%)
Mutual labels:  cocoapods, carthage, swift-package-manager
Audioindicatorbars
AIB indicates for your app users which audio is playing. Just like the Podcasts app.
Stars: ✭ 279 (-48.14%)
Mutual labels:  tvos, cocoapods, carthage
Stepperview
SwiftUI iOS component for Step Indications.
Stars: ✭ 281 (-47.77%)
Mutual labels:  cocoapods, carthage, swift-package-manager
Jgprogresshud
An elegant and simple progress HUD for iOS and tvOS, compatible with Swift and ObjC.
Stars: ✭ 3,110 (+478.07%)
Mutual labels:  tvos, cocoapods, carthage

SABlurImageView

Platform Language Carthage compatible SwiftPM compatible Version CocoaPods License

You can use blur effect and it's animation easily to call only two methods.

ManiacDev.com referred.
https://maniacdev.com/2015/04/open-source-ios-library-for-easily-adding-animated-blurunblur-effects-to-an-image

Features

  • [x] Blur effect with box size
  • [x] Blur animation
  • [x] 0.0 to 1.0 parameter blur
  • [x] Support Swift4

Installation

CocoaPods

SABlurImageView is available through CocoaPods. If you have cocoapods 0.38.0 or greater, you can install it, simply add the following line to your Podfile:

pod "SABlurImageView"

Carthage

If you’re using Carthage, simply add SABlurImageView to your Cartfile:

github "marty-suzuki/SABlurImageView"

Make sure to add SABlurImageView.framework to "Linked Frameworks and Libraries" and "copy-frameworks" Build Phases.

Swift Package Manager

If you’re using Swift Package Manager, simply add SABlurImageView to your Package.swift:

dependencies: [
    .package(url: "https://github.com/marty-suzuki/SABlurImageView", from: "0.1.0")
]

Manually

Add the SABlurImageView directory to your project.

Usage In Swift

To run the example project, clone the repo, and run pod install from the Example directory first.

If you install from pod, you have to write import SABlurImageView.

If you want to apply blur effect for image

let imageView = SABlurImageView(image: image)
imageView.addBlurEffect(30, times: 1)

If you want to animate

let imageView = SABlurImageView(image: image)
imageView.configrationForBlurAnimation()
imageView.startBlurAnimation(duration: 2.0)

First time of blur animation is normal to blur. Second time is blur to normal. (automatically set configration of reverse animation)

If you want to use 0.0 to 1.0 parameter

let imageView = SABlurImageView(image: image)
imageView.configrationForBlurAnimation(100)
imageView?.blur(0.5)

Usage In Objective-C

You can use SABlurImageView in Objective-C!

If you install from pod, you have to write #import <SABlurImageView/SABlurImageView-Swift.h> in .m.

If you want to apply blur effect for image

SABlurImageView *imageView = [[SABlurImageView alloc] initWithImage:image];
[imageView addBlurEffect:30.0f times:1];

If you want to animate

SABlurImageView *imageView = [[SABlurImageView alloc] initWithImage:image];
[imageView configrationForBlurAnimation:100.0f];
[imageView startBlurAnimation:2.0f];

First time of blur animation is normal to blur. Second time is blur to normal. (automatically set configration of reverse animation)

If you want to use 0.0 to 1.0 parameter

SABlurImageView *imageView = [[SABlurImageView alloc] initWithImage:image];
[imageView configrationForBlurAnimation:100.0f];
[imageView blur:0.5f];

Requirements

  • Xcode 9.3 or greater
  • iOS 8.0 or greater
  • tvOS 9.0 or greater
  • macOS 10.9 or greater
  • QuartzCore
  • Accelerate

Author

Taiki Suzuki, [email protected]

License

SABlurImageView is available under the MIT license. See the LICENSE file for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].