title: Blur Effect using Swift language in iPhone
body: <p>I've been trying to implement the blur effect using an UIImageView in xcode 6 (swift language), I'm trying to implement it so everything that is below the ImageView get blurred.</p>
  
  <p>I cannot make it work, so I'm asking you guys from stack overflow to help me, please.</p>
  
  <p>How can that be done? </p>
  
  <p>the code I wrote so far is:</p>
  
  <hr>
  
  <pre><code>class blurImage: UIImageView {
  
      init(frame: CGRect) {
          super.init(frame: frame)
  
          var blur:UIBlurEffect = UIBlurEffect(style: UIBlurEffectStyle.Light)
          var effectView:UIVisualEffectView = UIVisualEffectView (effect: blur)
  
      }
  
  }
  </code></pre>
  
  <hr>