Skip to content

iTofu/LCBlur

Repository files navigation

LCBlur

Travis CocoaPods CocoaPods CocoaPods LeoDev

🌙️ Quick way to add blur effect ~

LCBlur

In me the tiger sniffs the rose.

心有猛虎,细嗅蔷薇。

Welcome to my blog: http://LeoDev.me

中文介绍

Introduction

This is a simple way to add blur effect to UIView ~

You could also add blur to UIImageView, UIWindow... They are the subclasses of UIView.

If you like this project, please give this project a star, thank you! ⭐️

Installation

LCBlur is available on CocoaPods. Just add the following to your project Podfile:

pod 'LCBlur'  # Podfile

Non-CocoaPods Installation

Just drag the LCBlur folder into your project.

Usage

  • Use by including the following import:

    #import "LCBlur.h"
  • Demo code:

    // Blur
    [imageView blurWithRadius:10.0f];
    
    // Quick way
    [imageView blur];
    
    // Remove blur
    [imageView unBlur];

Examples

Release

V 1.0.0

  • First release.

Support

License

MIT License