title: Getting "Incompatible pointer types sending 'UIImage *' to parameter of type 'CIImage * _Nonnull' with JSQMessagesViewController
body: <p>JSQMessagesViewController 
  Using Xcode 7.0 Beta 5, I'm getting a warning of an "Incompatible pointer types sending 'UIImage *' to parameter of type 'CIImage * _Nonnull' in the copyWithZone method of JSQPhotoMediaItem. </p>
  
  <p>Here's the method:</p>
  
  <pre><code>- (instancetype)copyWithZone:(NSZone *)zone
       {
         JSQPhotoMediaItem *copy = [[[self class] allocWithZone:zone] initWithImage:self.image];
         copy.appliesMediaViewMaskAsOutgoing = self.appliesMediaViewMaskAsOutgoing;
         return copy;
        }
  </code></pre>
  
  <p>The warning is for the first line initializing the JSQPhotoMediaItem, and the initWithImage shows that it expects a (UIImage *)</p>
  
  <pre><code>    - (instancetype)initWithImage:(UIImage *)image
        {
         self = [super init];
         if (self) {
         _image = [image copy];
        _cachedImageView = nil;
        }
        return self;
        }
  </code></pre>
  
  <p>It also reports that: "Passing argument to paramteter 'im' here" referencing CISampler.h, which indeed has an initWithImage(CIImage *) im[![enter image description here][1]][1]</p>
  
  <p>Thanks.</p>