Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/organizze/zzeblurredlabel
iOS Blurred Label
https://github.com/organizze/zzeblurredlabel
blur blurry ios objective-c uiimage
Last synced: 3 months ago
JSON representation
iOS Blurred Label
- Host: GitHub
- URL: https://github.com/organizze/zzeblurredlabel
- Owner: organizze
- License: mit
- Created: 2017-05-30T17:06:05.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-05-30T20:11:12.000Z (over 7 years ago)
- Last Synced: 2024-09-25T16:02:51.526Z (5 months ago)
- Topics: blur, blurry, ios, objective-c, uiimage
- Language: Ruby
- Size: 78.1 KB
- Stars: 4
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ZzeBlurredLabel
[![Version](https://img.shields.io/cocoapods/v/ZzeBlurredLabel.svg?style=flat)](http://cocoapods.org/pods/ZzeBlurredLabel)
[![Platform](https://img.shields.io/cocoapods/p/ZzeBlurredLabel.svg?style=flat)](http://cocoapods.org/pods/ZzeBlurredLabel)
[![License](https://img.shields.io/cocoapods/l/ZzeBlurredLabel.svg?style=flat)](https://github.com/organizze/ZzeBlurredLabel/blob/master/LICENSE)#### Without filter
![Without Filter](https://github.com/organizze/ZzeBlurredLabel/blob/master/images/without-filter.png)#### Filtered
![With Filter](https://github.com/organizze/ZzeBlurredLabel/blob/master/images/with-filter.png)## Requirements
* iOS 8.0+#### CocoaPods
Add the following line to your `Podfile`:
```
pod 'ZzeBlurredLabel'
```#### Manual
Just import ZzeBlurredLabel to your project.## How to use
#### 1. Create ZzeBlurredLabel
##### ・By coding
```objective-c
label = [[ZzeBlurredLabel alloc] initWithFrame:CGRectMake(0, 64, 100, 100)];
label.text = @"Your Text"
```#### 2. Set blurRadius
##### ・Set value on blurRadius
```objective-c
label.blurRadius = 7.0f;
```#### 3. Call getBlurryImageText
##### ・Method return image blurry
```objective-c
UIImage * convertedImage = [label getBlurryImageText];
```This is method return UIImage create from UILabel text/atrributedText.
#### Extra . Call blurryText
##### ・Blurry text on UILabel```objective-c
[label blurryText];
```## License
This software is released under the MIT License.