title: CIImage doesn't load into table view cell
body: <p>I have a custom table view cell with an image view. I'm trying to load a <code>CIImage</code> into it. The code works when I load the <code>CIImage</code> into a regular image view on a blank storyboard (for testing the code), but for some reason, when I load the image into my table view cell, the image doesn't show up.</p>
  
  <p>When I load a regular image from Assets into the table cell image view, that shows up. So it's just the <code>CIImage</code> that doesn't load into the table view cell.</p>
  
  <p>Here's the code for my table view cell image. It takes a label, converts it to an image, and applies a blur to it. <code>messageLabel</code> is my <code>@IBOutlet</code> of the label on the table view cell:</p>
  
  <pre><code>func blurMessage() {
      let image = UIImage.imageWithLabel(label: messageLabel)
      let blurFilter = CIFilter(name: "CIGaussianBlur")
      let imageToBlur = CIImage(cgImage: image.cgImage!)
      blurFilter?.setValue(imageToBlur, forKey: kCIInputImageKey)
      blurFilter?.setValue(4.0, forKey: kCIInputRadiusKey)
      let outputImage: CIImage? = blurFilter?.outputImage
      blurredImageview.image = UIImage(ciImage: outputImage!)
  }
  </code></pre>
  
  <p>When I run the app, the image is completely blank and doesn't show up. </p>
  
  <p>Here's my cell in storyboard:</p>
  
  <p><a href="https://i.stack.imgur.com/8azpg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8azpg.png" alt="enter image description here"></a> </p>
  
  <p>Is there a reason a regular image view would be loading in properly but a <code>CIImage</code> wouldn't be? Even when this exact code works in a blank storyboard? Is there a reason a <code>CIImage</code> won't load into a table view cell?</p>
  
  <p>I call <code>blurMessage</code> in <code>viewDidLoad()</code> and it does run (it works when I test with a regular image, just not a <code>CIImage</code>)</p>