SkillAgentSearch skills...

SVBlurView

A simple reimplementation of FXBlurView for iOS 7

Install / Use

/learn @TransitApp/SVBlurView
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

SVBlurView

SVBlurView is a simple reimplementation of FXBlurView for iOS 7. It uses Apple's UIImage+ImageEffects category as well as the new drawViewHierarchyInRect: UIView API. It doesn't do dynamic blurs yet.

SVBlurView

Installation

Manually

  • Drag the SVBlurView/SVBlurView folder into your project.
  • #import "SVBlurView.h"

Usage

(see sample Xcode project in /Demo)

SVBlurView *blurView = [[SVBlurView alloc] initWithFrame:CGRectMake(60, 100, 200, 200)];
[backgroundView addSubview:blurView];

Customization

@property (nonatomic, readwrite) CGFloat blurRadius; // default is 20.0f
@property (nonatomic, readwrite) CGFloat saturationDelta; // default is 1.5
@property (nonatomic, readwrite) UIColor *tintColor; // default nil

Credits

SVBlurView is brought to you by Sam Vermette and contributors to the project. If you have feature suggestions or bug reports, feel free to help out by sending pull requests or by creating new issues. If you're using SVBlurView in your project, attribution would be nice.

Related Skills

View on GitHub
GitHub Stars335
CategoryDevelopment
Updated1y ago
Forks23

Languages

Objective-C

Security Score

80/100

Audited on Oct 12, 2024

No findings