Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/TransitApp/SVBlurView
A simple reimplementation of FXBlurView for iOS 7
https://github.com/TransitApp/SVBlurView
Last synced: about 2 months ago
JSON representation
A simple reimplementation of FXBlurView for iOS 7
- Host: GitHub
- URL: https://github.com/TransitApp/SVBlurView
- Owner: TransitApp
- License: mit
- Archived: true
- Created: 2013-10-19T21:31:48.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-06-28T14:48:36.000Z (over 9 years ago)
- Last Synced: 2024-04-26T06:20:28.635Z (9 months ago)
- Language: Objective-C
- Homepage:
- Size: 1.28 MB
- Stars: 337
- Watchers: 28
- Forks: 26
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome - SVBlurView - A simple reimplementation of FXBlurView for iOS 7. 【 [Priview](https://camo.githubusercontent.com/69cc3bbb72c4e787275c953d7547a4906031afe2/687474703a2f2f662e636c2e6c792f6974656d732f31713144306b3138307a32593075324a337832662f694f5325323053696d756c61746f7225323053637265656e25323073686f7425323031392532304f63742c25323032303133253230352e33342e3231253230504d2e706e67) 】 (OOM-Leaks-Crash / BlurView)
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](http://f.cl.ly/items/1q1D0k180z2Y0u2J3x2f/iOS%20Simulator%20Screen%20shot%2019%20Oct,%202013%205.34.21%20PM.png)
## Installation
### Manually
* Drag the `SVBlurView/SVBlurView` folder into your project.
* `#import "SVBlurView.h"`## Usage
(see sample Xcode project in `/Demo`)
```objective-c
SVBlurView *blurView = [[SVBlurView alloc] initWithFrame:CGRectMake(60, 100, 200, 200)];
[backgroundView addSubview:blurView];
```#### Customization
```objective-c
@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](http://samvermette.com) and [contributors to the project](https://github.com/samvermette/SVBlurView/contributors). If you have feature suggestions or bug reports, feel free to help out by sending pull requests or by [creating new issues](https://github.com/samvermette/SVBlurView/issues/new). If you're using SVBlurView in your project, attribution would be nice.