An iOS 8 Swift extension for UIView that makes adding a blur effect to a view easy.
Grab the "UIView+Blur.swift" file and add it to your project for quick and easy implementation of iOS 8's new UIBlurEffect in a UIVisualEffectView.
3 methods are made available:
- addBlurEffect()
- addBlurEffect(heightConstraintView, widthConstraintView)
- addBlurEffect(heightConstraintView, heightMultiplier, widthConstraintView, widthMultiplier)
The simple method will suffice for most basic implementations of the blur effect.
Try it out now!