Documentation Archive Developer
Search

CoreImage Changes for Swift

CoreImage

Modified CIColor
DeclarationProtocols
From
class CIColor : NSObject, NSSecureCoding, NSCopying {
    convenience init(CGColor c: CGColor)
    class func colorWithCGColor(_ c: CGColor) -> Self
    convenience init(red r: CGFloat, green g: CGFloat, blue b: CGFloat, alpha a: CGFloat)
    class func colorWithRed(_ r: CGFloat, green g: CGFloat, blue b: CGFloat, alpha a: CGFloat) -> Self
    convenience init(red r: CGFloat, green g: CGFloat, blue b: CGFloat)
    class func colorWithRed(_ r: CGFloat, green g: CGFloat, blue b: CGFloat) -> Self
    convenience init(string representation: String)
    class func colorWithString(_ representation: String) -> Self
    init(CGColor c: CGColor)
    convenience init(red r: CGFloat, green g: CGFloat, blue b: CGFloat, alpha a: CGFloat)
    var numberOfComponents: Int { get }
    var components: UnsafePointer<CGFloat> { get }
    var alpha: CGFloat { get }
    var colorSpace: CGColorSpace { get }
    var red: CGFloat { get }
    var green: CGFloat { get }
    var blue: CGFloat { get }
    var stringRepresentation: String { get }
}
extension CIColor {
    convenience init?(color color: NSColor)
}
NSCopying, NSSecureCoding
To
class CIColor : NSObject, NSSecureCoding, NSCopying {
    convenience init(cgColor c: CGColor)
    class func withCGColor(_ c: CGColor) -> Self
    convenience init(red r: CGFloat, green g: CGFloat, blue b: CGFloat, alpha a: CGFloat)
    class func withRed(_ r: CGFloat, green g: CGFloat, blue b: CGFloat, alpha a: CGFloat) -> Self
    convenience init(red r: CGFloat, green g: CGFloat, blue b: CGFloat)
    class func withRed(_ r: CGFloat, green g: CGFloat, blue b: CGFloat) -> Self
    convenience init?(red r: CGFloat, green g: CGFloat, blue b: CGFloat, alpha a: CGFloat, colorSpace colorSpace: CGColorSpace)
    class func withRed(_ r: CGFloat, green g: CGFloat, blue b: CGFloat, alpha a: CGFloat, colorSpace colorSpace: CGColorSpace) -> Self?
    convenience init?(red r: CGFloat, green g: CGFloat, blue b: CGFloat, colorSpace colorSpace: CGColorSpace)
    class func withRed(_ r: CGFloat, green g: CGFloat, blue b: CGFloat, colorSpace colorSpace: CGColorSpace) -> Self?
    convenience init(string representation: String)
    class func withString(_ representation: String) -> Self
    init(cgColor c: CGColor)
    convenience init(red r: CGFloat, green g: CGFloat, blue b: CGFloat, alpha a: CGFloat)
    convenience init?(red r: CGFloat, green g: CGFloat, blue b: CGFloat, alpha a: CGFloat, colorSpace colorSpace: CGColorSpace)
    convenience init?(red r: CGFloat, green g: CGFloat, blue b: CGFloat, colorSpace colorSpace: CGColorSpace)
    var numberOfComponents: Int { get }
    var components: UnsafePointer<CGFloat> { get }
    var alpha: CGFloat { get }
    var colorSpace: CGColorSpace { get }
    var red: CGFloat { get }
    var green: CGFloat { get }
    var blue: CGFloat { get }
    var stringRepresentation: String { get }
    class func black() -> Self
    class func white() -> Self
    class func gray() -> Self
    class func red() -> Self
    class func green() -> Self
    class func blue() -> Self
    class func cyan() -> Self
    class func magenta() -> Self
    class func yellow() -> Self
    class func clear() -> Self
    func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?)
    func scriptingIsEqual(to object: Any) -> Bool
    func scriptingIsLessThanOrEqual(to object: Any) -> Bool
    func scriptingIsLessThan(_ object: Any) -> Bool
    func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool
    func scriptingIsGreaterThan(_ object: Any) -> Bool
    func scriptingBegins(with object: Any) -> Bool
    func scriptingEnds(with object: Any) -> Bool
    func scriptingContains(_ object: Any) -> Bool
    func isEqual(to object: Any?) -> Bool
    func isLessThanOrEqual(to object: Any?) -> Bool
    func isLessThan(_ object: Any?) -> Bool
    func isGreaterThanOrEqual(to object: Any?) -> Bool
    func isGreaterThan(_ object: Any?) -> Bool
    func isNotEqual(to object: Any?) -> Bool
    func doesContain(_ object: Any) -> Bool
    func isLike(_ object: String) -> Bool
    func isCaseInsensitiveLike(_ object: String) -> Bool
    var objectSpecifier: NSScriptObjectSpecifier? { get }
    func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]?
    func value(at index: Int, inPropertyWithKey key: String) -> Any?
    func value(withName name: String, inPropertyWithKey key: String) -> Any?
    func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any?
    func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String)
    func removeValue(at index: Int, fromPropertyWithKey key: String)
    func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any)
    func insertValue(_ value: Any, inPropertyWithKey key: String)
    func coerceValue(_ value: Any?, forKey key: String) -> Any?
    var classCode: FourCharCode { get }
    var className: String { get }
    func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any?
    var scriptingProperties: [String : Any]?
    func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any?
    func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any?
    @NSCopying var classDescription: NSClassDescription { get }
    var attributeKeys: [String] { get }
    var toOneRelationshipKeys: [String] { get }
    var toManyRelationshipKeys: [String] { get }
    func inverse(forRelationshipKey relationshipKey: String) -> String?
    var classForPortCoder: AnyClass { get }
    func replacementObject(for coder: NSPortCoder) -> Any?
    var classForArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSArchiver) -> Any?
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String)
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class func useStoredAccessor() -> Bool
    func storedValue(forKey key: String) -> Any?
    func takeStoredValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKeyPath keyPath: String)
    func handleQuery(withUnboundKey key: String) -> Any?
    func handleTakeValue(_ value: Any?, forUnboundKey key: String)
    func unableToSetNil(forKey key: String)
    func values(forKeys keys: [Any]) -> [AnyHashable : Any]
    func takeValues(from properties: [AnyHashable : Any])
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func pose(as aClass: AnyClass)
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func replacementObject(for aCoder: NSCoder) -> Any?
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension CIColor {
    convenience init?(color color: NSColor)
}
extension CIColor : CVarArg {
}
extension CIColor : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding

Declaration
From
init(CGColor c: CGColor)
To
init(cgColor c: CGColor)

Modified CIColorKernel
Declaration
From
class CIColorKernel : CIKernel {
    convenience init?(string string: String)
    class func kernelWithString(_ string: String) -> Self?
    func applyWithExtent(_ extent: CGRect, arguments args: [AnyObject]?) -> CIImage?
}
To
class CIColorKernel : CIKernel {
    convenience init?(string string: String)
    class func withString(_ string: String) -> Self?
    func apply(withExtent extent: CGRect, arguments args: [Any]?) -> CIImage?
}

Declaration
From
func applyWithExtent(_ extent: CGRect, arguments args: [AnyObject]?) -> CIImage?
To
func apply(withExtent extent: CGRect, arguments args: [Any]?) -> CIImage?

Modified CIContext
DeclarationProtocols
From
class CIContext : NSObject {
     init(CGLContext cglctx: CGLContextObj, pixelFormat pixelFormat: CGLPixelFormatObj, colorSpace colorSpace: CGColorSpace?, options options: [String : AnyObject]?)
    class func contextWithCGLContext(_ cglctx: CGLContextObj, pixelFormat pixelFormat: CGLPixelFormatObj, colorSpace colorSpace: CGColorSpace?, options options: [String : AnyObject]?) -> CIContext
     init(CGLContext cglctx: CGLContextObj, pixelFormat pixelFormat: CGLPixelFormatObj, options options: [String : AnyObject]?)
    class func contextWithCGLContext(_ cglctx: CGLContextObj, pixelFormat pixelFormat: CGLPixelFormatObj, options options: [String : AnyObject]?) -> CIContext
     init(CGContext cgctx: CGContext, options options: [String : AnyObject]?)
    class func contextWithCGContext(_ cgctx: CGContext, options options: [String : AnyObject]?) -> CIContext
     init(options options: [String : AnyObject]?)
    class func contextWithOptions(_ options: [String : AnyObject]?) -> CIContext
     init(MTLDevice device: MTLDevice)
    class func contextWithMTLDevice(_ device: MTLDevice) -> CIContext
     init(MTLDevice device: MTLDevice, options options: [String : AnyObject]?)
    class func contextWithMTLDevice(_ device: MTLDevice, options options: [String : AnyObject]?) -> CIContext
    var workingColorSpace: CGColorSpace { get }
    func drawImage(_ image: CIImage, atPoint atPoint: CGPoint, fromRect fromRect: CGRect)
    func drawImage(_ image: CIImage, inRect inRect: CGRect, fromRect fromRect: CGRect)
    func createCGImage(_ image: CIImage, fromRect fromRect: CGRect) -> CGImage
    func createCGImage(_ image: CIImage, fromRect fromRect: CGRect, format format: CIFormat, colorSpace colorSpace: CGColorSpace?) -> CGImage
    func createCGLayerWithSize(_ size: CGSize, info info: CFDictionary?) -> CGLayer
    func render(_ image: CIImage, toBitmap data: UnsafeMutablePointer<Void>, rowBytes rowBytes: Int, bounds bounds: CGRect, format format: CIFormat, colorSpace colorSpace: CGColorSpace?)
    func render(_ image: CIImage, toIOSurface surface: IOSurface, bounds bounds: CGRect, colorSpace colorSpace: CGColorSpace?)
    func render(_ image: CIImage, toCVPixelBuffer buffer: CVPixelBuffer)
    func render(_ image: CIImage, toCVPixelBuffer buffer: CVPixelBuffer, bounds bounds: CGRect, colorSpace colorSpace: CGColorSpace?)
    func render(_ image: CIImage, toMTLTexture texture: MTLTexture, commandBuffer commandBuffer: MTLCommandBuffer?, bounds bounds: CGRect, colorSpace colorSpace: CGColorSpace)
    func reclaimResources()
    func clearCaches()
    func inputImageMaximumSize() -> CGSize
    func outputImageMaximumSize() -> CGSize
}
extension CIContext {
    class func offlineGPUCount() -> UInt32
     init(forOfflineGPUAtIndex index: UInt32)
    class func contextForOfflineGPUAtIndex(_ index: UInt32) -> CIContext
     init(forOfflineGPUAtIndex index: UInt32, colorSpace colorSpace: CGColorSpace?, options options: [String : AnyObject]?, sharedContext sharedContext: CGLContextObj)
    class func contextForOfflineGPUAtIndex(_ index: UInt32, colorSpace colorSpace: CGColorSpace?, options options: [String : AnyObject]?, sharedContext sharedContext: CGLContextObj) -> CIContext
}
--
To
class CIContext : NSObject {
     init(cglContext cglctx: CGLContextObj, pixelFormat pixelFormat: CGLPixelFormatObj?, colorSpace colorSpace: CGColorSpace?, options options: [String : Any]? = nil)
    class func withCGLContext(_ cglctx: CGLContextObj, pixelFormat pixelFormat: CGLPixelFormatObj?, colorSpace colorSpace: CGColorSpace?, options options: [String : Any]? = nil) -> CIContext
     init(cglContext cglctx: CGLContextObj, pixelFormat pixelFormat: CGLPixelFormatObj?, options options: [String : Any]? = nil)
    class func withCGLContext(_ cglctx: CGLContextObj, pixelFormat pixelFormat: CGLPixelFormatObj?, options options: [String : Any]? = nil) -> CIContext
     init(cgContext cgctx: CGContext, options options: [String : Any]? = nil)
    class func withCGContext(_ cgctx: CGContext, options options: [String : Any]? = nil) -> CIContext
     init(options options: [String : Any]? = nil)
    class func withOptions(_ options: [String : Any]? = nil) -> CIContext
     init()
    class func context() -> CIContext
    init(options options: [String : Any]? = nil)
    init()
     init(mtlDevice device: MTLDevice)
    class func withMTLDevice(_ device: MTLDevice) -> CIContext
     init(mtlDevice device: MTLDevice, options options: [String : Any]? = nil)
    class func withMTLDevice(_ device: MTLDevice, options options: [String : Any]? = nil) -> CIContext
    var workingColorSpace: CGColorSpace? { get }
    var workingFormat: CIFormat { get }
    func draw(_ image: CIImage, at atPoint: CGPoint, from fromRect: CGRect)
    func draw(_ image: CIImage, in inRect: CGRect, from fromRect: CGRect)
    func createCGImage(_ image: CIImage, from fromRect: CGRect) -> CGImage?
    func createCGImage(_ image: CIImage, from fromRect: CGRect, format format: CIFormat, colorSpace colorSpace: CGColorSpace?) -> CGImage?
    func createCGImage(_ image: CIImage, from fromRect: CGRect, format format: CIFormat, colorSpace colorSpace: CGColorSpace?, deferred deferred: Bool) -> CGImage?
    func createCGLayer(with size: CGSize, info info: CFDictionary?) -> CGLayer?
    func render(_ image: CIImage, toBitmap data: UnsafeMutableRawPointer, rowBytes rowBytes: Int, bounds bounds: CGRect, format format: CIFormat, colorSpace colorSpace: CGColorSpace?)
    func render(_ image: CIImage, to surface: IOSurfaceRef, bounds bounds: CGRect, colorSpace colorSpace: CGColorSpace?)
    func render(_ image: CIImage, to buffer: CVPixelBuffer)
    func render(_ image: CIImage, to buffer: CVPixelBuffer, bounds bounds: CGRect, colorSpace colorSpace: CGColorSpace?)
    func render(_ image: CIImage, to texture: MTLTexture, commandBuffer commandBuffer: MTLCommandBuffer?, bounds bounds: CGRect, colorSpace colorSpace: CGColorSpace)
    func reclaimResources()
    func clearCaches()
    func inputImageMaximumSize() -> CGSize
    func outputImageMaximumSize() -> CGSize
    func tiffRepresentation(of image: CIImage, format format: CIFormat, colorSpace colorSpace: CGColorSpace, options options: [AnyHashable : Any] = [:]) -> Data?
    func jpegRepresentation(of image: CIImage, colorSpace colorSpace: CGColorSpace, options options: [AnyHashable : Any] = [:]) -> Data?
    func writeTIFFRepresentation(of image: CIImage, to url: URL, format format: CIFormat, colorSpace colorSpace: CGColorSpace, options options: [AnyHashable : Any] = [:]) throws
    func writeJPEGRepresentation(of image: CIImage, to url: URL, colorSpace colorSpace: CGColorSpace, options options: [AnyHashable : Any] = [:]) throws
    class func offlineGPUCount() -> UInt32
     init?(forOfflineGPUAt index: UInt32)
    class func forOfflineGPU(at index: UInt32) -> CIContext?
     init?(forOfflineGPUAt index: UInt32, colorSpace colorSpace: CGColorSpace?, options options: [String : Any]? = nil, sharedContext sharedContext: CGLContextObj?)
    class func forOfflineGPU(at index: UInt32, colorSpace colorSpace: CGColorSpace?, options options: [String : Any]? = nil, sharedContext sharedContext: CGLContextObj?) -> CIContext?
    func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?)
    func scriptingIsEqual(to object: Any) -> Bool
    func scriptingIsLessThanOrEqual(to object: Any) -> Bool
    func scriptingIsLessThan(_ object: Any) -> Bool
    func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool
    func scriptingIsGreaterThan(_ object: Any) -> Bool
    func scriptingBegins(with object: Any) -> Bool
    func scriptingEnds(with object: Any) -> Bool
    func scriptingContains(_ object: Any) -> Bool
    func isEqual(to object: Any?) -> Bool
    func isLessThanOrEqual(to object: Any?) -> Bool
    func isLessThan(_ object: Any?) -> Bool
    func isGreaterThanOrEqual(to object: Any?) -> Bool
    func isGreaterThan(_ object: Any?) -> Bool
    func isNotEqual(to object: Any?) -> Bool
    func doesContain(_ object: Any) -> Bool
    func isLike(_ object: String) -> Bool
    func isCaseInsensitiveLike(_ object: String) -> Bool
    var objectSpecifier: NSScriptObjectSpecifier? { get }
    func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]?
    func value(at index: Int, inPropertyWithKey key: String) -> Any?
    func value(withName name: String, inPropertyWithKey key: String) -> Any?
    func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any?
    func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String)
    func removeValue(at index: Int, fromPropertyWithKey key: String)
    func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any)
    func insertValue(_ value: Any, inPropertyWithKey key: String)
    func coerceValue(_ value: Any?, forKey key: String) -> Any?
    var classCode: FourCharCode { get }
    var className: String { get }
    func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any?
    var scriptingProperties: [String : Any]?
    func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any?
    func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any?
    @NSCopying var classDescription: NSClassDescription { get }
    var attributeKeys: [String] { get }
    var toOneRelationshipKeys: [String] { get }
    var toManyRelationshipKeys: [String] { get }
    func inverse(forRelationshipKey relationshipKey: String) -> String?
    var classForPortCoder: AnyClass { get }
    func replacementObject(for coder: NSPortCoder) -> Any?
    var classForArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSArchiver) -> Any?
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String)
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class func useStoredAccessor() -> Bool
    func storedValue(forKey key: String) -> Any?
    func takeStoredValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKeyPath keyPath: String)
    func handleQuery(withUnboundKey key: String) -> Any?
    func handleTakeValue(_ value: Any?, forUnboundKey key: String)
    func unableToSetNil(forKey key: String)
    func values(forKeys keys: [Any]) -> [AnyHashable : Any]
    func takeValues(from properties: [AnyHashable : Any])
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func pose(as aClass: AnyClass)
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func replacementObject(for aCoder: NSCoder) -> Any?
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension CIContext : CVarArg {
}
extension CIContext : Equatable, Hashable {
    var hashValue: Int { get }
}
extension CIContext {
    class func offlineGPUCount() -> UInt32
     init?(forOfflineGPUAt index: UInt32)
    class func forOfflineGPU(at index: UInt32) -> CIContext?
     init?(forOfflineGPUAt index: UInt32, colorSpace colorSpace: CGColorSpace?, options options: [String : Any]? = nil, sharedContext sharedContext: CGLContextObj?)
    class func forOfflineGPU(at index: UInt32, colorSpace colorSpace: CGColorSpace?, options options: [String : Any]? = nil, sharedContext sharedContext: CGLContextObj?) -> CIContext?
}
extension CIContext {
    func tiffRepresentation(of image: CIImage, format format: CIFormat, colorSpace colorSpace: CGColorSpace, options options: [AnyHashable : Any] = [:]) -> Data?
    func jpegRepresentation(of image: CIImage, colorSpace colorSpace: CGColorSpace, options options: [AnyHashable : Any] = [:]) -> Data?
    func writeTIFFRepresentation(of image: CIImage, to url: URL, format format: CIFormat, colorSpace colorSpace: CGColorSpace, options options: [AnyHashable : Any] = [:]) throws
    func writeJPEGRepresentation(of image: CIImage, to url: URL, colorSpace colorSpace: CGColorSpace, options options: [AnyHashable : Any] = [:]) throws
}
CVarArg, Equatable, Hashable

Declaration
From
func createCGImage(_ image: CIImage, fromRect fromRect: CGRect) -> CGImage
To
func createCGImage(_ image: CIImage, from fromRect: CGRect) -> CGImage?

Declaration
From
func createCGImage(_ image: CIImage, fromRect fromRect: CGRect, format format: CIFormat, colorSpace colorSpace: CGColorSpace?) -> CGImage
To
func createCGImage(_ image: CIImage, from fromRect: CGRect, format format: CIFormat, colorSpace colorSpace: CGColorSpace?) -> CGImage?

Declaration
From
func createCGLayerWithSize(_ size: CGSize, info info: CFDictionary?) -> CGLayer
To
func createCGLayer(with size: CGSize, info info: CFDictionary?) -> CGLayer?

Declaration
From
func drawImage(_ image: CIImage, inRect inRect: CGRect, fromRect fromRect: CGRect)
To
func draw(_ image: CIImage, in inRect: CGRect, from fromRect: CGRect)

Declaration
From
init(CGContext cgctx: CGContext, options options: [String : AnyObject]?)
To
init(cgContext cgctx: CGContext, options options: [String : Any]? = nil)

Declaration
From
init(CGLContext cglctx: CGLContextObj, pixelFormat pixelFormat: CGLPixelFormatObj, colorSpace colorSpace: CGColorSpace?, options options: [String : AnyObject]?)
To
init(cglContext cglctx: CGLContextObj, pixelFormat pixelFormat: CGLPixelFormatObj?, colorSpace colorSpace: CGColorSpace?, options options: [String : Any]? = nil)

Declaration
From
init(forOfflineGPUAtIndex index: UInt32)
To
init?(forOfflineGPUAt index: UInt32)

Declaration
From
init(forOfflineGPUAtIndex index: UInt32, colorSpace colorSpace: CGColorSpace?, options options: [String : AnyObject]?, sharedContext sharedContext: CGLContextObj)
To
init?(forOfflineGPUAt index: UInt32, colorSpace colorSpace: CGColorSpace?, options options: [String : Any]? = nil, sharedContext sharedContext: CGLContextObj?)

Declaration
From
init(MTLDevice device: MTLDevice)
To
init(mtlDevice device: MTLDevice)

Declaration
From
init(MTLDevice device: MTLDevice, options options: [String : AnyObject]?)
To
init(mtlDevice device: MTLDevice, options options: [String : Any]? = nil)

DeclarationIntroduction
From
init(options options: [String : AnyObject]?)
OS X 10.11
To
init(options options: [String : Any]? = nil)
OS X 10.4

Declaration
From
func render(_ image: CIImage, toCVPixelBuffer buffer: CVPixelBuffer)
To
func render(_ image: CIImage, to buffer: CVPixelBuffer)

Declaration
From
func render(_ image: CIImage, toIOSurface surface: IOSurface, bounds bounds: CGRect, colorSpace colorSpace: CGColorSpace?)
To
func render(_ image: CIImage, to surface: IOSurfaceRef, bounds bounds: CGRect, colorSpace colorSpace: CGColorSpace?)

Declaration
From
func render(_ image: CIImage, toCVPixelBuffer buffer: CVPixelBuffer, bounds bounds: CGRect, colorSpace colorSpace: CGColorSpace?)
To
func render(_ image: CIImage, to buffer: CVPixelBuffer, bounds bounds: CGRect, colorSpace colorSpace: CGColorSpace?)

Declaration
From
func render(_ image: CIImage, toMTLTexture texture: MTLTexture, commandBuffer commandBuffer: MTLCommandBuffer?, bounds bounds: CGRect, colorSpace colorSpace: CGColorSpace)
To
func render(_ image: CIImage, to texture: MTLTexture, commandBuffer commandBuffer: MTLCommandBuffer?, bounds bounds: CGRect, colorSpace colorSpace: CGColorSpace)

Declaration
From
func render(_ image: CIImage, toBitmap data: UnsafeMutablePointer<Void>, rowBytes rowBytes: Int, bounds bounds: CGRect, format format: CIFormat, colorSpace colorSpace: CGColorSpace?)
To
func render(_ image: CIImage, toBitmap data: UnsafeMutableRawPointer, rowBytes rowBytes: Int, bounds bounds: CGRect, format format: CIFormat, colorSpace colorSpace: CGColorSpace?)

Declaration
From
var workingColorSpace: CGColorSpace { get }
To
var workingColorSpace: CGColorSpace? { get }

Modified CIDetector
DeclarationProtocols
From
class CIDetector : NSObject {
     init(ofType type: String, context context: CIContext?, options options: [String : AnyObject]?)
    class func detectorOfType(_ type: String, context context: CIContext?, options options: [String : AnyObject]?) -> CIDetector
    func featuresInImage(_ image: CIImage) -> [CIFeature]
    func featuresInImage(_ image: CIImage, options options: [String : AnyObject]?) -> [CIFeature]
}
--
To
class CIDetector : NSObject {
     init?(ofType type: String, context context: CIContext?, options options: [String : Any]? = nil)
    class func ofType(_ type: String, context context: CIContext?, options options: [String : Any]? = nil) -> CIDetector?
    func features(in image: CIImage) -> [CIFeature]
    func features(in image: CIImage, options options: [String : Any]? = nil) -> [CIFeature]
    func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?)
    func scriptingIsEqual(to object: Any) -> Bool
    func scriptingIsLessThanOrEqual(to object: Any) -> Bool
    func scriptingIsLessThan(_ object: Any) -> Bool
    func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool
    func scriptingIsGreaterThan(_ object: Any) -> Bool
    func scriptingBegins(with object: Any) -> Bool
    func scriptingEnds(with object: Any) -> Bool
    func scriptingContains(_ object: Any) -> Bool
    func isEqual(to object: Any?) -> Bool
    func isLessThanOrEqual(to object: Any?) -> Bool
    func isLessThan(_ object: Any?) -> Bool
    func isGreaterThanOrEqual(to object: Any?) -> Bool
    func isGreaterThan(_ object: Any?) -> Bool
    func isNotEqual(to object: Any?) -> Bool
    func doesContain(_ object: Any) -> Bool
    func isLike(_ object: String) -> Bool
    func isCaseInsensitiveLike(_ object: String) -> Bool
    var objectSpecifier: NSScriptObjectSpecifier? { get }
    func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]?
    func value(at index: Int, inPropertyWithKey key: String) -> Any?
    func value(withName name: String, inPropertyWithKey key: String) -> Any?
    func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any?
    func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String)
    func removeValue(at index: Int, fromPropertyWithKey key: String)
    func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any)
    func insertValue(_ value: Any, inPropertyWithKey key: String)
    func coerceValue(_ value: Any?, forKey key: String) -> Any?
    var classCode: FourCharCode { get }
    var className: String { get }
    func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any?
    var scriptingProperties: [String : Any]?
    func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any?
    func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any?
    @NSCopying var classDescription: NSClassDescription { get }
    var attributeKeys: [String] { get }
    var toOneRelationshipKeys: [String] { get }
    var toManyRelationshipKeys: [String] { get }
    func inverse(forRelationshipKey relationshipKey: String) -> String?
    var classForPortCoder: AnyClass { get }
    func replacementObject(for coder: NSPortCoder) -> Any?
    var classForArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSArchiver) -> Any?
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String)
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class func useStoredAccessor() -> Bool
    func storedValue(forKey key: String) -> Any?
    func takeStoredValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKeyPath keyPath: String)
    func handleQuery(withUnboundKey key: String) -> Any?
    func handleTakeValue(_ value: Any?, forUnboundKey key: String)
    func unableToSetNil(forKey key: String)
    func values(forKeys keys: [Any]) -> [AnyHashable : Any]
    func takeValues(from properties: [AnyHashable : Any])
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func pose(as aClass: AnyClass)
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func replacementObject(for aCoder: NSCoder) -> Any?
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension CIDetector : CVarArg {
}
extension CIDetector : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable

Declaration
From
func featuresInImage(_ image: CIImage) -> [CIFeature]
To
func features(in image: CIImage) -> [CIFeature]

Declaration
From
func featuresInImage(_ image: CIImage, options options: [String : AnyObject]?) -> [CIFeature]
To
func features(in image: CIImage, options options: [String : Any]? = nil) -> [CIFeature]

Declaration
From
init(ofType type: String, context context: CIContext?, options options: [String : AnyObject]?)
To
init?(ofType type: String, context context: CIContext?, options options: [String : Any]? = nil)

Modified CIFeature
DeclarationProtocols
From
class CIFeature : NSObject {
    var type: String { get }
    var bounds: CGRect { get }
}
--
To
class CIFeature : NSObject {
    var type: String { get }
    var bounds: CGRect { get }
    func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?)
    func scriptingIsEqual(to object: Any) -> Bool
    func scriptingIsLessThanOrEqual(to object: Any) -> Bool
    func scriptingIsLessThan(_ object: Any) -> Bool
    func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool
    func scriptingIsGreaterThan(_ object: Any) -> Bool
    func scriptingBegins(with object: Any) -> Bool
    func scriptingEnds(with object: Any) -> Bool
    func scriptingContains(_ object: Any) -> Bool
    func isEqual(to object: Any?) -> Bool
    func isLessThanOrEqual(to object: Any?) -> Bool
    func isLessThan(_ object: Any?) -> Bool
    func isGreaterThanOrEqual(to object: Any?) -> Bool
    func isGreaterThan(_ object: Any?) -> Bool
    func isNotEqual(to object: Any?) -> Bool
    func doesContain(_ object: Any) -> Bool
    func isLike(_ object: String) -> Bool
    func isCaseInsensitiveLike(_ object: String) -> Bool
    var objectSpecifier: NSScriptObjectSpecifier? { get }
    func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]?
    func value(at index: Int, inPropertyWithKey key: String) -> Any?
    func value(withName name: String, inPropertyWithKey key: String) -> Any?
    func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any?
    func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String)
    func removeValue(at index: Int, fromPropertyWithKey key: String)
    func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any)
    func insertValue(_ value: Any, inPropertyWithKey key: String)
    func coerceValue(_ value: Any?, forKey key: String) -> Any?
    var classCode: FourCharCode { get }
    var className: String { get }
    func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any?
    var scriptingProperties: [String : Any]?
    func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any?
    func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any?
    @NSCopying var classDescription: NSClassDescription { get }
    var attributeKeys: [String] { get }
    var toOneRelationshipKeys: [String] { get }
    var toManyRelationshipKeys: [String] { get }
    func inverse(forRelationshipKey relationshipKey: String) -> String?
    var classForPortCoder: AnyClass { get }
    func replacementObject(for coder: NSPortCoder) -> Any?
    var classForArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSArchiver) -> Any?
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String)
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class func useStoredAccessor() -> Bool
    func storedValue(forKey key: String) -> Any?
    func takeStoredValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKeyPath keyPath: String)
    func handleQuery(withUnboundKey key: String) -> Any?
    func handleTakeValue(_ value: Any?, forUnboundKey key: String)
    func unableToSetNil(forKey key: String)
    func values(forKeys keys: [Any]) -> [AnyHashable : Any]
    func takeValues(from properties: [AnyHashable : Any])
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func pose(as aClass: AnyClass)
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func replacementObject(for aCoder: NSCoder) -> Any?
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension CIFeature : CVarArg {
}
extension CIFeature : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable

Modified CIFilter
DeclarationProtocols
From
class CIFilter : NSObject, NSSecureCoding, NSCopying {
    var outputImage: CIImage? { get }
    var name: String
    var enabled: Bool
    var inputKeys: [String] { get }
    var outputKeys: [String] { get }
    func setDefaults()
    var attributes: [String : AnyObject] { get }
    func apply(_ k: CIKernel, arguments args: [AnyObject]?, options dict: [String : AnyObject]?) -> CIImage?
}
extension CIFilter {
     init?(name name: String)
    class func filterWithName(_ name: String) -> CIFilter?
     init?(name name: String, withInputParameters params: [String : AnyObject]?)
    class func filterWithName(_ name: String, withInputParameters params: [String : AnyObject]?) -> CIFilter?
    class func filterNamesInCategory(_ category: String?) -> [String]
    class func filterNamesInCategories(_ categories: [String]?) -> [String]
    class func registerFilterName(_ name: String, constructor anObject: CIFilterConstructor, classAttributes attributes: [String : AnyObject])
    class func localizedNameForFilterName(_ filterName: String) -> String?
    class func localizedNameForCategory(_ category: String) -> String
    class func localizedDescriptionForFilterName(_ filterName: String) -> String?
    class func localizedReferenceDocumentationForFilterName(_ filterName: String) -> NSURL?
}
extension CIFilter {
    class func serializedXMPFromFilters(_ filters: [CIFilter], inputImageExtent extent: CGRect) -> NSData
    class func filterArrayFromSerializedXMP(_ xmpData: NSData, inputImageExtent extent: CGRect, error outError: NSErrorPointer) -> [CIFilter]
}
extension CIFilter {
     init!(imageURL url: NSURL!, options options: [NSObject : AnyObject]!)
    class func filterWithImageURL(_ url: NSURL!, options options: [NSObject : AnyObject]!) -> CIFilter!
     init!(imageData data: NSData!, options options: [NSObject : AnyObject]!)
    class func filterWithImageData(_ data: NSData!, options options: [NSObject : AnyObject]!) -> CIFilter!
}
extension CIFilter {
    func viewForUIConfiguration(_ inUIConfiguration: [NSObject : AnyObject]!, excludedKeys inKeys: [AnyObject]!) -> IKFilterUIView!
}
NSCopying, NSSecureCoding
To
class CIFilter : NSObject, NSSecureCoding, NSCopying {
    var outputImage: CIImage? { get }
    var name: String
    var isEnabled: Bool
    var inputKeys: [String] { get }
    var outputKeys: [String] { get }
    func setDefaults()
    var attributes: [String : Any] { get }
    func apply(_ k: CIKernel, arguments args: [Any]?, options dict: [String : Any]? = nil) -> CIImage?
     init!(imageURL url: URL!, options options: [AnyHashable : Any]! = [:])
    class func withImageURL(_ url: URL!, options options: [AnyHashable : Any]! = [:]) -> CIFilter!
     init!(imageData data: Data!, options options: [AnyHashable : Any]! = [:])
    class func withImageData(_ data: Data!, options options: [AnyHashable : Any]! = [:]) -> CIFilter!
     init!(cvPixelBuffer pixelBuffer: CVPixelBuffer!, properties properties: [AnyHashable : Any]!, options options: [AnyHashable : Any]! = [:])
    class func withCVPixelBuffer(_ pixelBuffer: CVPixelBuffer!, properties properties: [AnyHashable : Any]!, options options: [AnyHashable : Any]! = [:]) -> CIFilter!
    class func serializedXMP(from filters: [CIFilter], inputImageExtent extent: CGRect) -> Data?
    class func filterArray(fromSerializedXMP xmpData: Data, inputImageExtent extent: CGRect, error outError: NSErrorPointer) -> [CIFilter]
     init?(name name: String)
    class func withName(_ name: String) -> CIFilter?
     init?(name name: String, withInputParameters params: [String : Any]?)
    class func withName(_ name: String, withInputParameters params: [String : Any]?) -> CIFilter?
    class func filterNames(inCategory category: String?) -> [String]
    class func filterNames(inCategories categories: [String]?) -> [String]
    class func registerName(_ name: String, constructor anObject: CIFilterConstructor, classAttributes attributes: [String : Any] = [:])
    class func localizedName(forFilterName filterName: String) -> String?
    class func localizedName(forCategory category: String) -> String
    class func localizedDescription(forFilterName filterName: String) -> String?
    class func localizedReferenceDocumentation(forFilterName filterName: String) -> URL?
    func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?)
    func scriptingIsEqual(to object: Any) -> Bool
    func scriptingIsLessThanOrEqual(to object: Any) -> Bool
    func scriptingIsLessThan(_ object: Any) -> Bool
    func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool
    func scriptingIsGreaterThan(_ object: Any) -> Bool
    func scriptingBegins(with object: Any) -> Bool
    func scriptingEnds(with object: Any) -> Bool
    func scriptingContains(_ object: Any) -> Bool
    func isEqual(to object: Any?) -> Bool
    func isLessThanOrEqual(to object: Any?) -> Bool
    func isLessThan(_ object: Any?) -> Bool
    func isGreaterThanOrEqual(to object: Any?) -> Bool
    func isGreaterThan(_ object: Any?) -> Bool
    func isNotEqual(to object: Any?) -> Bool
    func doesContain(_ object: Any) -> Bool
    func isLike(_ object: String) -> Bool
    func isCaseInsensitiveLike(_ object: String) -> Bool
    var objectSpecifier: NSScriptObjectSpecifier? { get }
    func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]?
    func value(at index: Int, inPropertyWithKey key: String) -> Any?
    func value(withName name: String, inPropertyWithKey key: String) -> Any?
    func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any?
    func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String)
    func removeValue(at index: Int, fromPropertyWithKey key: String)
    func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any)
    func insertValue(_ value: Any, inPropertyWithKey key: String)
    func coerceValue(_ value: Any?, forKey key: String) -> Any?
    var classCode: FourCharCode { get }
    var className: String { get }
    func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any?
    var scriptingProperties: [String : Any]?
    func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any?
    func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any?
    @NSCopying var classDescription: NSClassDescription { get }
    var attributeKeys: [String] { get }
    var toOneRelationshipKeys: [String] { get }
    var toManyRelationshipKeys: [String] { get }
    func inverse(forRelationshipKey relationshipKey: String) -> String?
    var classForPortCoder: AnyClass { get }
    func replacementObject(for coder: NSPortCoder) -> Any?
    var classForArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSArchiver) -> Any?
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String)
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class func useStoredAccessor() -> Bool
    func storedValue(forKey key: String) -> Any?
    func takeStoredValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKeyPath keyPath: String)
    func handleQuery(withUnboundKey key: String) -> Any?
    func handleTakeValue(_ value: Any?, forUnboundKey key: String)
    func unableToSetNil(forKey key: String)
    func values(forKeys keys: [Any]) -> [AnyHashable : Any]
    func takeValues(from properties: [AnyHashable : Any])
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func pose(as aClass: AnyClass)
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func replacementObject(for aCoder: NSCoder) -> Any?
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension CIFilter : CVarArg {
}
extension CIFilter : Equatable, Hashable {
    var hashValue: Int { get }
}
extension CIFilter {
     init?(name name: String)
    class func withName(_ name: String) -> CIFilter?
     init?(name name: String, withInputParameters params: [String : Any]?)
    class func withName(_ name: String, withInputParameters params: [String : Any]?) -> CIFilter?
    class func filterNames(inCategory category: String?) -> [String]
    class func filterNames(inCategories categories: [String]?) -> [String]
    class func registerName(_ name: String, constructor anObject: CIFilterConstructor, classAttributes attributes: [String : Any] = [:])
    class func localizedName(forFilterName filterName: String) -> String?
    class func localizedName(forCategory category: String) -> String
    class func localizedDescription(forFilterName filterName: String) -> String?
    class func localizedReferenceDocumentation(forFilterName filterName: String) -> URL?
}
extension CIFilter {
    class func serializedXMP(from filters: [CIFilter], inputImageExtent extent: CGRect) -> Data?
    class func filterArray(fromSerializedXMP xmpData: Data, inputImageExtent extent: CGRect, error outError: NSErrorPointer) -> [CIFilter]
}
extension CIFilter {
     init!(imageURL url: URL!, options options: [AnyHashable : Any]! = [:])
    class func withImageURL(_ url: URL!, options options: [AnyHashable : Any]! = [:]) -> CIFilter!
     init!(imageData data: Data!, options options: [AnyHashable : Any]! = [:])
    class func withImageData(_ data: Data!, options options: [AnyHashable : Any]! = [:]) -> CIFilter!
     init!(cvPixelBuffer pixelBuffer: CVPixelBuffer!, properties properties: [AnyHashable : Any]!, options options: [AnyHashable : Any]! = [:])
    class func withCVPixelBuffer(_ pixelBuffer: CVPixelBuffer!, properties properties: [AnyHashable : Any]!, options options: [AnyHashable : Any]! = [:]) -> CIFilter!
}
extension CIFilter {
    func view(forUIConfiguration inUIConfiguration: [AnyHashable : Any]!, excludedKeys inKeys: [Any]!) -> IKFilterUIView!
}
CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding

Declaration
From
func apply(_ k: CIKernel, arguments args: [AnyObject]?, options dict: [String : AnyObject]?) -> CIImage?
To
func apply(_ k: CIKernel, arguments args: [Any]?, options dict: [String : Any]? = nil) -> CIImage?

Declaration
From
var attributes: [String : AnyObject] { get }
To
var attributes: [String : Any] { get }

Declaration
From
class func filterArrayFromSerializedXMP(_ xmpData: NSData, inputImageExtent extent: CGRect, error outError: NSErrorPointer) -> [CIFilter]
To
class func filterArray(fromSerializedXMP xmpData: Data, inputImageExtent extent: CGRect, error outError: NSErrorPointer) -> [CIFilter]

Declaration
From
class func filterNamesInCategories(_ categories: [String]?) -> [String]
To
class func filterNames(inCategories categories: [String]?) -> [String]

Declaration
From
class func filterNamesInCategory(_ category: String?) -> [String]
To
class func filterNames(inCategory category: String?) -> [String]

DeclarationIntroduction
From
init!(imageData data: NSData!, options options: [NSObject : AnyObject]!)
OS X 10.10
To
init!(imageData data: Data!, options options: [AnyHashable : Any]! = [:])
OS X 10.5

DeclarationIntroduction
From
init!(imageURL url: NSURL!, options options: [NSObject : AnyObject]!)
OS X 10.10
To
init!(imageURL url: URL!, options options: [AnyHashable : Any]! = [:])
OS X 10.5

Declaration
From
init?(name name: String, withInputParameters params: [String : AnyObject]?)
To
init?(name name: String, withInputParameters params: [String : Any]?)

Declaration
From
var enabled: Bool
To
var isEnabled: Bool

Declaration
From
class func localizedDescriptionForFilterName(_ filterName: String) -> String?
To
class func localizedDescription(forFilterName filterName: String) -> String?

Declaration
From
class func localizedNameForCategory(_ category: String) -> String
To
class func localizedName(forCategory category: String) -> String

Declaration
From
class func localizedNameForFilterName(_ filterName: String) -> String?
To
class func localizedName(forFilterName filterName: String) -> String?

Declaration
From
class func localizedReferenceDocumentationForFilterName(_ filterName: String) -> NSURL?
To
class func localizedReferenceDocumentation(forFilterName filterName: String) -> URL?

Declaration
From
class func registerFilterName(_ name: String, constructor anObject: CIFilterConstructor, classAttributes attributes: [String : AnyObject])
To
class func registerName(_ name: String, constructor anObject: CIFilterConstructor, classAttributes attributes: [String : Any] = [:])

Declaration
From
class func serializedXMPFromFilters(_ filters: [CIFilter], inputImageExtent extent: CGRect) -> NSData
To
class func serializedXMP(from filters: [CIFilter], inputImageExtent extent: CGRect) -> Data?

Declaration
From
protocol CIFilterConstructor {
    func filterWithName(_ name: String) -> CIFilter?
}
To
protocol CIFilterConstructor {
    func filter(withName name: String) -> CIFilter?
}

Declaration
From
func filterWithName(_ name: String) -> CIFilter?
To
func filter(withName name: String) -> CIFilter?

DeclarationProtocols
From
class CIFilterGenerator : NSObject, NSSecureCoding, NSCopying, CIFilterConstructor {
     init()
    class func filterGenerator() -> CIFilterGenerator
     init?(contentsOfURL aURL: NSURL)
    class func filterGeneratorWithContentsOfURL(_ aURL: NSURL) -> CIFilterGenerator?
    init?(contentsOfURL aURL: NSURL)
    func connectObject(_ sourceObject: AnyObject, withKey sourceKey: String?, toObject targetObject: AnyObject, withKey targetKey: String)
    func disconnectObject(_ sourceObject: AnyObject, withKey key: String, toObject targetObject: AnyObject, withKey targetKey: String)
    func exportKey(_ key: String, fromObject targetObject: AnyObject, withName exportedKeyName: String?)
    func removeExportedKey(_ exportedKeyName: String)
    var exportedKeys: [NSObject : AnyObject] { get }
    func setAttributes(_ attributes: [NSObject : AnyObject], forExportedKey key: String)
    var classAttributes: [NSObject : AnyObject]
    func filter() -> CIFilter
    func registerFilterName(_ name: String)
    func writeToURL(_ aURL: NSURL, atomically flag: Bool) -> Bool
}
CIFilterConstructor, NSCopying, NSSecureCoding
To
class CIFilterGenerator : NSObject, NSSecureCoding, NSCopying, CIFilterConstructor {
     init()
    class func filterGenerator() -> CIFilterGenerator
     init?(contentsOf aURL: URL)
    class func withContentsOf(_ aURL: URL) -> CIFilterGenerator?
    init?(contentsOf aURL: URL)
    func connect(_ sourceObject: Any, withKey sourceKey: String?, to targetObject: Any, withKey targetKey: String)
    func disconnectObject(_ sourceObject: Any, withKey sourceKey: String, to targetObject: Any, withKey targetKey: String)
    func exportKey(_ key: String, from targetObject: Any, withName exportedKeyName: String?)
    func removeExportedKey(_ exportedKeyName: String)
    var exportedKeys: [AnyHashable : Any] { get }
    func setAttributes(_ attributes: [AnyHashable : Any], forExportedKey key: String)
    var classAttributes: [AnyHashable : Any]
    func filter() -> CIFilter
    func registerFilterName(_ name: String)
    func write(to aURL: URL, atomically flag: Bool) -> Bool
    func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?)
    func scriptingIsEqual(to object: Any) -> Bool
    func scriptingIsLessThanOrEqual(to object: Any) -> Bool
    func scriptingIsLessThan(_ object: Any) -> Bool
    func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool
    func scriptingIsGreaterThan(_ object: Any) -> Bool
    func scriptingBegins(with object: Any) -> Bool
    func scriptingEnds(with object: Any) -> Bool
    func scriptingContains(_ object: Any) -> Bool
    func isEqual(to object: Any?) -> Bool
    func isLessThanOrEqual(to object: Any?) -> Bool
    func isLessThan(_ object: Any?) -> Bool
    func isGreaterThanOrEqual(to object: Any?) -> Bool
    func isGreaterThan(_ object: Any?) -> Bool
    func isNotEqual(to object: Any?) -> Bool
    func doesContain(_ object: Any) -> Bool
    func isLike(_ object: String) -> Bool
    func isCaseInsensitiveLike(_ object: String) -> Bool
    var objectSpecifier: NSScriptObjectSpecifier? { get }
    func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]?
    func value(at index: Int, inPropertyWithKey key: String) -> Any?
    func value(withName name: String, inPropertyWithKey key: String) -> Any?
    func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any?
    func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String)
    func removeValue(at index: Int, fromPropertyWithKey key: String)
    func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any)
    func insertValue(_ value: Any, inPropertyWithKey key: String)
    func coerceValue(_ value: Any?, forKey key: String) -> Any?
    var classCode: FourCharCode { get }
    var className: String { get }
    func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any?
    var scriptingProperties: [String : Any]?
    func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any?
    func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any?
    @NSCopying var classDescription: NSClassDescription { get }
    var attributeKeys: [String] { get }
    var toOneRelationshipKeys: [String] { get }
    var toManyRelationshipKeys: [String] { get }
    func inverse(forRelationshipKey relationshipKey: String) -> String?
    var classForPortCoder: AnyClass { get }
    func replacementObject(for coder: NSPortCoder) -> Any?
    var classForArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSArchiver) -> Any?
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String)
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class func useStoredAccessor() -> Bool
    func storedValue(forKey key: String) -> Any?
    func takeStoredValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKeyPath keyPath: String)
    func handleQuery(withUnboundKey key: String) -> Any?
    func handleTakeValue(_ value: Any?, forUnboundKey key: String)
    func unableToSetNil(forKey key: String)
    func values(forKeys keys: [Any]) -> [AnyHashable : Any]
    func takeValues(from properties: [AnyHashable : Any])
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func pose(as aClass: AnyClass)
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func replacementObject(for aCoder: NSCoder) -> Any?
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension CIFilterGenerator : CVarArg {
}
extension CIFilterGenerator : Equatable, Hashable {
    var hashValue: Int { get }
}
CIFilterConstructor, CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding

Declaration
From
var classAttributes: [NSObject : AnyObject]
To
var classAttributes: [AnyHashable : Any]

Declaration
From
func connectObject(_ sourceObject: AnyObject, withKey sourceKey: String?, toObject targetObject: AnyObject, withKey targetKey: String)
To
func connect(_ sourceObject: Any, withKey sourceKey: String?, to targetObject: Any, withKey targetKey: String)

Declaration
From
func disconnectObject(_ sourceObject: AnyObject, withKey key: String, toObject targetObject: AnyObject, withKey targetKey: String)
To
func disconnectObject(_ sourceObject: Any, withKey sourceKey: String, to targetObject: Any, withKey targetKey: String)

Declaration
From
var exportedKeys: [NSObject : AnyObject] { get }
To
var exportedKeys: [AnyHashable : Any] { get }

Declaration
From
func exportKey(_ key: String, fromObject targetObject: AnyObject, withName exportedKeyName: String?)
To
func exportKey(_ key: String, from targetObject: Any, withName exportedKeyName: String?)

Declaration
From
init?(contentsOfURL aURL: NSURL)
To
init?(contentsOf aURL: URL)

Declaration
From
func setAttributes(_ attributes: [NSObject : AnyObject], forExportedKey key: String)
To
func setAttributes(_ attributes: [AnyHashable : Any], forExportedKey key: String)

Declaration
From
func writeToURL(_ aURL: NSURL, atomically flag: Bool) -> Bool
To
func write(to aURL: URL, atomically flag: Bool) -> Bool

Modified CIFilterShape
DeclarationProtocols
From
class CIFilterShape : NSObject, NSCopying {
    convenience init(rect r: CGRect)
    class func shapeWithRect(_ r: CGRect) -> Self
    init(rect r: CGRect)
    func transformBy(_ m: CGAffineTransform, interior flag: Bool) -> CIFilterShape
    func insetByX(_ dx: Int32, y dy: Int32) -> CIFilterShape
    func unionWith(_ s2: CIFilterShape) -> CIFilterShape
    func unionWithRect(_ r: CGRect) -> CIFilterShape
    func intersectWith(_ s2: CIFilterShape) -> CIFilterShape
    func intersectWithRect(_ r: CGRect) -> CIFilterShape
    var extent: CGRect { get }
}
NSCopying
To
class CIFilterShape : NSObject, NSCopying {
    convenience init(rect r: CGRect)
    class func withRect(_ r: CGRect) -> Self
    init(rect r: CGRect)
    func transform(by m: CGAffineTransform, interior flag: Bool) -> CIFilterShape
    func insetBy(x dx: Int32, y dy: Int32) -> CIFilterShape
    func union(with s2: CIFilterShape) -> CIFilterShape
    func union(with r: CGRect) -> CIFilterShape
    func intersect(with s2: CIFilterShape) -> CIFilterShape
    func intersect(with r: CGRect) -> CIFilterShape
    var extent: CGRect { get }
    func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?)
    func scriptingIsEqual(to object: Any) -> Bool
    func scriptingIsLessThanOrEqual(to object: Any) -> Bool
    func scriptingIsLessThan(_ object: Any) -> Bool
    func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool
    func scriptingIsGreaterThan(_ object: Any) -> Bool
    func scriptingBegins(with object: Any) -> Bool
    func scriptingEnds(with object: Any) -> Bool
    func scriptingContains(_ object: Any) -> Bool
    func isEqual(to object: Any?) -> Bool
    func isLessThanOrEqual(to object: Any?) -> Bool
    func isLessThan(_ object: Any?) -> Bool
    func isGreaterThanOrEqual(to object: Any?) -> Bool
    func isGreaterThan(_ object: Any?) -> Bool
    func isNotEqual(to object: Any?) -> Bool
    func doesContain(_ object: Any) -> Bool
    func isLike(_ object: String) -> Bool
    func isCaseInsensitiveLike(_ object: String) -> Bool
    var objectSpecifier: NSScriptObjectSpecifier? { get }
    func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]?
    func value(at index: Int, inPropertyWithKey key: String) -> Any?
    func value(withName name: String, inPropertyWithKey key: String) -> Any?
    func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any?
    func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String)
    func removeValue(at index: Int, fromPropertyWithKey key: String)
    func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any)
    func insertValue(_ value: Any, inPropertyWithKey key: String)
    func coerceValue(_ value: Any?, forKey key: String) -> Any?
    var classCode: FourCharCode { get }
    var className: String { get }
    func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any?
    var scriptingProperties: [String : Any]?
    func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any?
    func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any?
    @NSCopying var classDescription: NSClassDescription { get }
    var attributeKeys: [String] { get }
    var toOneRelationshipKeys: [String] { get }
    var toManyRelationshipKeys: [String] { get }
    func inverse(forRelationshipKey relationshipKey: String) -> String?
    var classForPortCoder: AnyClass { get }
    func replacementObject(for coder: NSPortCoder) -> Any?
    var classForArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSArchiver) -> Any?
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String)
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class func useStoredAccessor() -> Bool
    func storedValue(forKey key: String) -> Any?
    func takeStoredValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKeyPath keyPath: String)
    func handleQuery(withUnboundKey key: String) -> Any?
    func handleTakeValue(_ value: Any?, forUnboundKey key: String)
    func unableToSetNil(forKey key: String)
    func values(forKeys keys: [Any]) -> [AnyHashable : Any]
    func takeValues(from properties: [AnyHashable : Any])
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func pose(as aClass: AnyClass)
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func replacementObject(for aCoder: NSCoder) -> Any?
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension CIFilterShape : CVarArg {
}
extension CIFilterShape : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable, NSCopying

Declaration
From
func insetByX(_ dx: Int32, y dy: Int32) -> CIFilterShape
To
func insetBy(x dx: Int32, y dy: Int32) -> CIFilterShape

Declaration
From
func intersectWith(_ s2: CIFilterShape) -> CIFilterShape
To
func intersect(with s2: CIFilterShape) -> CIFilterShape

Declaration
From
func intersectWithRect(_ r: CGRect) -> CIFilterShape
To
func intersect(with r: CGRect) -> CIFilterShape

Declaration
From
func transformBy(_ m: CGAffineTransform, interior flag: Bool) -> CIFilterShape
To
func transform(by m: CGAffineTransform, interior flag: Bool) -> CIFilterShape

Declaration
From
func unionWith(_ s2: CIFilterShape) -> CIFilterShape
To
func union(with s2: CIFilterShape) -> CIFilterShape

Declaration
From
func unionWithRect(_ r: CGRect) -> CIFilterShape
To
func union(with r: CGRect) -> CIFilterShape

Modified CIImage
DeclarationProtocols
From
class CIImage : NSObject, NSSecureCoding, NSCopying {
     init(CGImage image: CGImage)
    class func imageWithCGImage(_ image: CGImage) -> CIImage
     init(CGImage image: CGImage, options options: [String : AnyObject]?)
    class func imageWithCGImage(_ image: CGImage, options options: [String : AnyObject]?) -> CIImage
     init(CGLayer layer: CGLayer)
    class func imageWithCGLayer(_ layer: CGLayer) -> CIImage
     init(CGLayer layer: CGLayer, options options: [String : AnyObject]?)
    class func imageWithCGLayer(_ layer: CGLayer, options options: [String : AnyObject]?) -> CIImage
     init(bitmapData data: NSData, bytesPerRow bytesPerRow: Int, size size: CGSize, format format: CIFormat, colorSpace colorSpace: CGColorSpace?)
    class func imageWithBitmapData(_ data: NSData, bytesPerRow bytesPerRow: Int, size size: CGSize, format format: CIFormat, colorSpace colorSpace: CGColorSpace?) -> CIImage
     init(texture name: UInt32, size size: CGSize, flipped flipped: Bool, colorSpace colorSpace: CGColorSpace?)
    class func imageWithTexture(_ name: UInt32, size size: CGSize, flipped flipped: Bool, colorSpace colorSpace: CGColorSpace?) -> CIImage
     init(texture name: UInt32, size size: CGSize, flipped flipped: Bool, options options: [String : AnyObject]?)
    class func imageWithTexture(_ name: UInt32, size size: CGSize, flipped flipped: Bool, options options: [String : AnyObject]?) -> CIImage
     init(MTLTexture texture: MTLTexture, options options: [String : AnyObject]?)
    class func imageWithMTLTexture(_ texture: MTLTexture, options options: [String : AnyObject]?) -> CIImage
     init?(contentsOfURL url: NSURL)
    class func imageWithContentsOfURL(_ url: NSURL) -> CIImage?
     init?(contentsOfURL url: NSURL, options options: [String : AnyObject]?)
    class func imageWithContentsOfURL(_ url: NSURL, options options: [String : AnyObject]?) -> CIImage?
     init?(data data: NSData)
    class func imageWithData(_ data: NSData) -> CIImage?
     init?(data data: NSData, options options: [String : AnyObject]?)
    class func imageWithData(_ data: NSData, options options: [String : AnyObject]?) -> CIImage?
     init(CVImageBuffer imageBuffer: CVImageBuffer)
    class func imageWithCVImageBuffer(_ imageBuffer: CVImageBuffer) -> CIImage
     init(CVImageBuffer imageBuffer: CVImageBuffer, options options: [String : AnyObject]?)
    class func imageWithCVImageBuffer(_ imageBuffer: CVImageBuffer, options options: [String : AnyObject]?) -> CIImage
     init(CVPixelBuffer pixelBuffer: CVPixelBuffer)
    class func imageWithCVPixelBuffer(_ pixelBuffer: CVPixelBuffer) -> CIImage
     init(CVPixelBuffer pixelBuffer: CVPixelBuffer, options options: [String : AnyObject]?)
    class func imageWithCVPixelBuffer(_ pixelBuffer: CVPixelBuffer, options options: [String : AnyObject]?) -> CIImage
     init(IOSurface surface: IOSurface)
    class func imageWithIOSurface(_ surface: IOSurface) -> CIImage
     init(IOSurface surface: IOSurface, options options: [String : AnyObject]?)
    class func imageWithIOSurface(_ surface: IOSurface, options options: [String : AnyObject]?) -> CIImage
     init(color color: CIColor)
    class func imageWithColor(_ color: CIColor) -> CIImage
    class func emptyImage() -> CIImage
    init(CGImage image: CGImage)
    init(CGImage image: CGImage, options options: [String : AnyObject]?)
    init(CGLayer layer: CGLayer)
    init(CGLayer layer: CGLayer, options options: [String : AnyObject]?)
    init?(data data: NSData)
    init?(data data: NSData, options options: [String : AnyObject]?)
    init(bitmapData data: NSData, bytesPerRow bytesPerRow: Int, size size: CGSize, format format: CIFormat, colorSpace colorSpace: CGColorSpace?)
    init(texture name: UInt32, size size: CGSize, flipped flipped: Bool, colorSpace colorSpace: CGColorSpace?)
    init(texture name: UInt32, size size: CGSize, flipped flipped: Bool, options options: [String : AnyObject]?)
    init(MTLTexture texture: MTLTexture, options options: [String : AnyObject]?)
    init?(contentsOfURL url: NSURL)
    init?(contentsOfURL url: NSURL, options options: [String : AnyObject]?)
    init(IOSurface surface: IOSurface)
    init(IOSurface surface: IOSurface, options options: [String : AnyObject]?)
    init(IOSurface surface: IOSurface, plane plane: Int, format format: CIFormat, options options: [String : AnyObject]?)
    init(CVImageBuffer imageBuffer: CVImageBuffer)
    init(CVImageBuffer imageBuffer: CVImageBuffer, options options: [String : AnyObject]?)
    init(CVPixelBuffer pixelBuffer: CVPixelBuffer)
    init(CVPixelBuffer pixelBuffer: CVPixelBuffer, options options: [String : AnyObject]?)
    init(color color: CIColor)
    func imageByApplyingTransform(_ matrix: CGAffineTransform) -> CIImage
    func imageByApplyingOrientation(_ orientation: Int32) -> CIImage
    func imageTransformForOrientation(_ orientation: Int32) -> CGAffineTransform
    func imageByCompositingOverImage(_ dest: CIImage) -> CIImage
    func imageByCroppingToRect(_ rect: CGRect) -> CIImage
    func imageByClampingToExtent() -> CIImage
    func imageByApplyingFilter(_ filterName: String, withInputParameters params: [String : AnyObject]?) -> CIImage
    var extent: CGRect { get }
    var properties: [String : AnyObject] { get }
    var definition: CIFilterShape { get }
    var url: NSURL? { get }
    var colorSpace: CGColorSpace? { get }
    func regionOfInterestForImage(_ image: CIImage, inRect rect: CGRect) -> CGRect
}
extension CIImage {
    init?(bitmapImageRep bitmapImageRep: NSBitmapImageRep)
    func drawInRect(_ rect: NSRect, fromRect fromRect: NSRect, operation op: NSCompositingOperation, fraction delta: CGFloat)
    func drawAtPoint(_ point: NSPoint, fromRect fromRect: NSRect, operation op: NSCompositingOperation, fraction delta: CGFloat)
}
extension CIImage {
    func autoAdjustmentFiltersWithOptions(_ options: [String : AnyObject]?) -> [CIFilter]
}
extension CIImage {
     init(imageProvider p: AnyObject, size width: Int, _ height: Int, format f: CIFormat, colorSpace cs: CGColorSpace?, options options: [String : AnyObject]?)
    class func imageWithImageProvider(_ p: AnyObject, size width: Int, _ height: Int, format f: CIFormat, colorSpace cs: CGColorSpace?, options options: [String : AnyObject]?) -> CIImage
    init(imageProvider p: AnyObject, size width: Int, _ height: Int, format f: CIFormat, colorSpace cs: CGColorSpace?, options options: [String : AnyObject]?)
}
NSCopying, NSSecureCoding
To
class CIImage : NSObject, NSSecureCoding, NSCopying {
     init(cgImage image: CGImage)
    class func withCGImage(_ image: CGImage) -> CIImage
     init(cgImage image: CGImage, options options: [String : Any]? = nil)
    class func withCGImage(_ image: CGImage, options options: [String : Any]? = nil) -> CIImage
     init(cgLayer layer: CGLayer)
    class func withCGLayer(_ layer: CGLayer) -> CIImage
     init(cgLayer layer: CGLayer, options options: [String : Any]? = nil)
    class func withCGLayer(_ layer: CGLayer, options options: [String : Any]? = nil) -> CIImage
     init(bitmapData data: Data, bytesPerRow bytesPerRow: Int, size size: CGSize, format format: CIFormat, colorSpace colorSpace: CGColorSpace?)
    class func withBitmapData(_ data: Data, bytesPerRow bytesPerRow: Int, size size: CGSize, format format: CIFormat, colorSpace colorSpace: CGColorSpace?) -> CIImage
     init(texture name: UInt32, size size: CGSize, flipped flipped: Bool, colorSpace colorSpace: CGColorSpace?)
    class func withTexture(_ name: UInt32, size size: CGSize, flipped flipped: Bool, colorSpace colorSpace: CGColorSpace?) -> CIImage
     init(texture name: UInt32, size size: CGSize, flipped flipped: Bool, options options: [String : Any]? = nil)
    class func withTexture(_ name: UInt32, size size: CGSize, flipped flipped: Bool, options options: [String : Any]? = nil) -> CIImage
     init?(mtlTexture texture: MTLTexture, options options: [String : Any]? = nil)
    class func withMTLTexture(_ texture: MTLTexture, options options: [String : Any]? = nil) -> CIImage?
     init?(contentsOf url: URL)
    class func withContentsOf(_ url: URL) -> CIImage?
     init?(contentsOf url: URL, options options: [String : Any]? = nil)
    class func withContentsOf(_ url: URL, options options: [String : Any]? = nil) -> CIImage?
     init?(data data: Data)
    class func withData(_ data: Data) -> CIImage?
     init?(data data: Data, options options: [String : Any]? = nil)
    class func withData(_ data: Data, options options: [String : Any]? = nil) -> CIImage?
     init(cvImageBuffer imageBuffer: CVImageBuffer)
    class func withCVImageBuffer(_ imageBuffer: CVImageBuffer) -> CIImage
     init(cvImageBuffer imageBuffer: CVImageBuffer, options options: [String : Any]? = nil)
    class func withCVImageBuffer(_ imageBuffer: CVImageBuffer, options options: [String : Any]? = nil) -> CIImage
     init(cvPixelBuffer pixelBuffer: CVPixelBuffer)
    class func withCVPixelBuffer(_ pixelBuffer: CVPixelBuffer) -> CIImage
     init(cvPixelBuffer pixelBuffer: CVPixelBuffer, options options: [String : Any]? = nil)
    class func withCVPixelBuffer(_ pixelBuffer: CVPixelBuffer, options options: [String : Any]? = nil) -> CIImage
     init(ioSurface surface: IOSurfaceRef)
    class func withIOSurface(_ surface: IOSurfaceRef) -> CIImage
     init(ioSurface surface: IOSurfaceRef, options options: [String : Any]? = nil)
    class func withIOSurface(_ surface: IOSurfaceRef, options options: [String : Any]? = nil) -> CIImage
     init(color color: CIColor)
    class func withColor(_ color: CIColor) -> CIImage
    class func empty() -> CIImage
    init(cgImage image: CGImage)
    init(cgImage image: CGImage, options options: [String : Any]? = nil)
    init(cgLayer layer: CGLayer)
    init(cgLayer layer: CGLayer, options options: [String : Any]? = nil)
    init?(data data: Data)
    init?(data data: Data, options options: [String : Any]? = nil)
    init(bitmapData data: Data, bytesPerRow bytesPerRow: Int, size size: CGSize, format format: CIFormat, colorSpace colorSpace: CGColorSpace?)
    init(texture name: UInt32, size size: CGSize, flipped flipped: Bool, colorSpace colorSpace: CGColorSpace?)
    init(texture name: UInt32, size size: CGSize, flipped flipped: Bool, options options: [String : Any]? = nil)
    init?(mtlTexture texture: MTLTexture, options options: [String : Any]? = nil)
    init?(contentsOf url: URL)
    init?(contentsOf url: URL, options options: [String : Any]? = nil)
    init(ioSurface surface: IOSurfaceRef)
    init(ioSurface surface: IOSurfaceRef, options options: [String : Any]? = nil)
    init(ioSurface surface: IOSurfaceRef, plane plane: Int, format format: CIFormat, options options: [String : Any]? = nil)
    init(cvImageBuffer imageBuffer: CVImageBuffer)
    init(cvImageBuffer imageBuffer: CVImageBuffer, options options: [String : Any]? = nil)
    init(cvPixelBuffer pixelBuffer: CVPixelBuffer)
    init(cvPixelBuffer pixelBuffer: CVPixelBuffer, options options: [String : Any]? = nil)
    init(color color: CIColor)
    func applying(_ matrix: CGAffineTransform) -> CIImage
    func applyingOrientation(_ orientation: Int32) -> CIImage
    func imageTransform(forOrientation orientation: Int32) -> CGAffineTransform
    func compositingOverImage(_ dest: CIImage) -> CIImage
    func cropping(to rect: CGRect) -> CIImage
    func clampingToExtent() -> CIImage
    func clamping(to rect: CGRect) -> CIImage
    func applyingFilter(_ filterName: String, withInputParameters params: [String : Any]?) -> CIImage
    func matchedToWorkingSpace(from colorSpace: CGColorSpace) -> CIImage?
    func matchedFromWorkingSpace(to colorSpace: CGColorSpace) -> CIImage?
    func premultiplyingAlpha() -> CIImage
    func unpremultiplyingAlpha() -> CIImage
    func settingAlphaOne(inExtent extent: CGRect) -> CIImage
    func applyingGaussianBlur(withSigma sigma: Double) -> CIImage
    func settingProperties(_ properties: [AnyHashable : Any]) -> CIImage
    var extent: CGRect { get }
    var properties: [String : Any] { get }
    var definition: CIFilterShape { get }
    var url: URL? { get }
    var colorSpace: CGColorSpace? { get }
    var pixelBuffer: CVPixelBuffer? { get }
    var cgImage: CGImage? { get }
    func regionOfInterest(for image: CIImage, in rect: CGRect) -> CGRect
     init(imageProvider p: Any, size width: Int, _ height: Int, format f: CIFormat, colorSpace cs: CGColorSpace?, options options: [String : Any]? = nil)
    class func withImageProvider(_ p: Any, size width: Int, _ height: Int, format f: CIFormat, colorSpace cs: CGColorSpace?, options options: [String : Any]? = nil) -> CIImage
    init(imageProvider p: Any, size width: Int, _ height: Int, format f: CIFormat, colorSpace cs: CGColorSpace?, options options: [String : Any]? = nil)
    func autoAdjustmentFilters() -> [CIFilter]
    func autoAdjustmentFilters(options options: [String : Any]? = nil) -> [CIFilter]
    func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?)
    func scriptingIsEqual(to object: Any) -> Bool
    func scriptingIsLessThanOrEqual(to object: Any) -> Bool
    func scriptingIsLessThan(_ object: Any) -> Bool
    func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool
    func scriptingIsGreaterThan(_ object: Any) -> Bool
    func scriptingBegins(with object: Any) -> Bool
    func scriptingEnds(with object: Any) -> Bool
    func scriptingContains(_ object: Any) -> Bool
    func isEqual(to object: Any?) -> Bool
    func isLessThanOrEqual(to object: Any?) -> Bool
    func isLessThan(_ object: Any?) -> Bool
    func isGreaterThanOrEqual(to object: Any?) -> Bool
    func isGreaterThan(_ object: Any?) -> Bool
    func isNotEqual(to object: Any?) -> Bool
    func doesContain(_ object: Any) -> Bool
    func isLike(_ object: String) -> Bool
    func isCaseInsensitiveLike(_ object: String) -> Bool
    var objectSpecifier: NSScriptObjectSpecifier? { get }
    func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]?
    func value(at index: Int, inPropertyWithKey key: String) -> Any?
    func value(withName name: String, inPropertyWithKey key: String) -> Any?
    func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any?
    func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String)
    func removeValue(at index: Int, fromPropertyWithKey key: String)
    func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any)
    func insertValue(_ value: Any, inPropertyWithKey key: String)
    func coerceValue(_ value: Any?, forKey key: String) -> Any?
    var classCode: FourCharCode { get }
    var className: String { get }
    func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any?
    var scriptingProperties: [String : Any]?
    func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any?
    func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any?
    @NSCopying var classDescription: NSClassDescription { get }
    var attributeKeys: [String] { get }
    var toOneRelationshipKeys: [String] { get }
    var toManyRelationshipKeys: [String] { get }
    func inverse(forRelationshipKey relationshipKey: String) -> String?
    var classForPortCoder: AnyClass { get }
    func replacementObject(for coder: NSPortCoder) -> Any?
    var classForArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSArchiver) -> Any?
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String)
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class func useStoredAccessor() -> Bool
    func storedValue(forKey key: String) -> Any?
    func takeStoredValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKeyPath keyPath: String)
    func handleQuery(withUnboundKey key: String) -> Any?
    func handleTakeValue(_ value: Any?, forUnboundKey key: String)
    func unableToSetNil(forKey key: String)
    func values(forKeys keys: [Any]) -> [AnyHashable : Any]
    func takeValues(from properties: [AnyHashable : Any])
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func pose(as aClass: AnyClass)
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func replacementObject(for aCoder: NSCoder) -> Any?
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension CIImage {
    init?(bitmapImageRep bitmapImageRep: NSBitmapImageRep)
    func draw(in rect: NSRect, from fromRect: NSRect, operation op: NSCompositingOperation, fraction delta: CGFloat)
    func draw(at point: NSPoint, from fromRect: NSRect, operation op: NSCompositingOperation, fraction delta: CGFloat)
}
extension CIImage : CVarArg {
}
extension CIImage : Equatable, Hashable {
    var hashValue: Int { get }
}
extension CIImage {
    func autoAdjustmentFilters() -> [CIFilter]
    func autoAdjustmentFilters(options options: [String : Any]? = nil) -> [CIFilter]
}
extension CIImage {
     init(imageProvider p: Any, size width: Int, _ height: Int, format f: CIFormat, colorSpace cs: CGColorSpace?, options options: [String : Any]? = nil)
    class func withImageProvider(_ p: Any, size width: Int, _ height: Int, format f: CIFormat, colorSpace cs: CGColorSpace?, options options: [String : Any]? = nil) -> CIImage
    init(imageProvider p: Any, size width: Int, _ height: Int, format f: CIFormat, colorSpace cs: CGColorSpace?, options options: [String : Any]? = nil)
}
CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding

Declaration
From
func imageByApplyingTransform(_ matrix: CGAffineTransform) -> CIImage
To
func applying(_ matrix: CGAffineTransform) -> CIImage

Declaration
From
func imageByApplyingFilter(_ filterName: String, withInputParameters params: [String : AnyObject]?) -> CIImage
To
func applyingFilter(_ filterName: String, withInputParameters params: [String : Any]?) -> CIImage

Declaration
From
func imageByApplyingOrientation(_ orientation: Int32) -> CIImage
To
func applyingOrientation(_ orientation: Int32) -> CIImage

Declaration
From
func autoAdjustmentFiltersWithOptions(_ options: [String : AnyObject]?) -> [CIFilter]
To
func autoAdjustmentFilters(options options: [String : Any]? = nil) -> [CIFilter]

Declaration
From
func imageByClampingToExtent() -> CIImage
To
func clampingToExtent() -> CIImage

Declaration
From
func imageByCompositingOverImage(_ dest: CIImage) -> CIImage
To
func compositingOverImage(_ dest: CIImage) -> CIImage

Declaration
From
func imageByCroppingToRect(_ rect: CGRect) -> CIImage
To
func cropping(to rect: CGRect) -> CIImage

Declaration
From
class func emptyImage() -> CIImage
To
class func empty() -> CIImage

Declaration
From
func imageTransformForOrientation(_ orientation: Int32) -> CGAffineTransform
To
func imageTransform(forOrientation orientation: Int32) -> CGAffineTransform

Declaration
From
init(bitmapData data: NSData, bytesPerRow bytesPerRow: Int, size size: CGSize, format format: CIFormat, colorSpace colorSpace: CGColorSpace?)
To
init(bitmapData data: Data, bytesPerRow bytesPerRow: Int, size size: CGSize, format format: CIFormat, colorSpace colorSpace: CGColorSpace?)

Declaration
From
init(CGImage image: CGImage)
To
init(cgImage image: CGImage)

Declaration
From
init(CGImage image: CGImage, options options: [String : AnyObject]?)
To
init(cgImage image: CGImage, options options: [String : Any]? = nil)

Declaration
From
init(CGLayer layer: CGLayer)
To
init(cgLayer layer: CGLayer)

Declaration
From
init(CGLayer layer: CGLayer, options options: [String : AnyObject]?)
To
init(cgLayer layer: CGLayer, options options: [String : Any]? = nil)

Declaration
From
init?(contentsOfURL url: NSURL)
To
init?(contentsOf url: URL)

Declaration
From
init?(contentsOfURL url: NSURL, options options: [String : AnyObject]?)
To
init?(contentsOf url: URL, options options: [String : Any]? = nil)

Declaration
From
init(CVImageBuffer imageBuffer: CVImageBuffer)
To
init(cvImageBuffer imageBuffer: CVImageBuffer)

Declaration
From
init(CVImageBuffer imageBuffer: CVImageBuffer, options options: [String : AnyObject]?)
To
init(cvImageBuffer imageBuffer: CVImageBuffer, options options: [String : Any]? = nil)

Declaration
From
init(CVPixelBuffer pixelBuffer: CVPixelBuffer)
To
init(cvPixelBuffer pixelBuffer: CVPixelBuffer)

Declaration
From
init(CVPixelBuffer pixelBuffer: CVPixelBuffer, options options: [String : AnyObject]?)
To
init(cvPixelBuffer pixelBuffer: CVPixelBuffer, options options: [String : Any]? = nil)

Declaration
From
init?(data data: NSData)
To
init?(data data: Data)

Declaration
From
init?(data data: NSData, options options: [String : AnyObject]?)
To
init?(data data: Data, options options: [String : Any]? = nil)

Declaration
From
init(imageProvider p: AnyObject, size width: Int, _ height: Int, format f: CIFormat, colorSpace cs: CGColorSpace?, options options: [String : AnyObject]?)
To
init(imageProvider p: Any, size width: Int, _ height: Int, format f: CIFormat, colorSpace cs: CGColorSpace?, options options: [String : Any]? = nil)

Declaration
From
init(IOSurface surface: IOSurface)
To
init(ioSurface surface: IOSurfaceRef)

Declaration
From
init(IOSurface surface: IOSurface, options options: [String : AnyObject]?)
To
init(ioSurface surface: IOSurfaceRef, options options: [String : Any]? = nil)

Declaration
From
init(IOSurface surface: IOSurface, plane plane: Int, format format: CIFormat, options options: [String : AnyObject]?)
To
init(ioSurface surface: IOSurfaceRef, plane plane: Int, format format: CIFormat, options options: [String : Any]? = nil)

Declaration
From
init(MTLTexture texture: MTLTexture, options options: [String : AnyObject]?)
To
init?(mtlTexture texture: MTLTexture, options options: [String : Any]? = nil)

Declaration
From
init(texture name: UInt32, size size: CGSize, flipped flipped: Bool, options options: [String : AnyObject]?)
To
init(texture name: UInt32, size size: CGSize, flipped flipped: Bool, options options: [String : Any]? = nil)

Declaration
From
var properties: [String : AnyObject] { get }
To
var properties: [String : Any] { get }

Declaration
From
func regionOfInterestForImage(_ image: CIImage, inRect rect: CGRect) -> CGRect
To
func regionOfInterest(for image: CIImage, in rect: CGRect) -> CGRect

Modified CIImage.url
Declaration
From
var url: NSURL? { get }
To
var url: URL? { get }

DeclarationProtocols
From
class CIImageAccumulator : NSObject {
    convenience init(extent extent: CGRect, format format: CIFormat)
    class func imageAccumulatorWithExtent(_ extent: CGRect, format format: CIFormat) -> Self
    convenience init(extent extent: CGRect, format format: CIFormat, colorSpace colorSpace: CGColorSpace)
    class func imageAccumulatorWithExtent(_ extent: CGRect, format format: CIFormat, colorSpace colorSpace: CGColorSpace) -> Self
    init(extent extent: CGRect, format format: CIFormat)
    init(extent extent: CGRect, format format: CIFormat, colorSpace colorSpace: CGColorSpace)
    var extent: CGRect { get }
    var format: CIFormat { get }
    func image() -> CIImage
    func setImage(_ image: CIImage)
    func setImage(_ image: CIImage, dirtyRect dirtyRect: CGRect)
    func clear()
}
--
To
class CIImageAccumulator : NSObject {
    convenience init?(extent extent: CGRect, format format: CIFormat)
    class func withExtent(_ extent: CGRect, format format: CIFormat) -> Self?
    convenience init?(extent extent: CGRect, format format: CIFormat, colorSpace colorSpace: CGColorSpace)
    class func withExtent(_ extent: CGRect, format format: CIFormat, colorSpace colorSpace: CGColorSpace) -> Self?
    init?(extent extent: CGRect, format format: CIFormat)
    init?(extent extent: CGRect, format format: CIFormat, colorSpace colorSpace: CGColorSpace)
    var extent: CGRect { get }
    var format: CIFormat { get }
    func image() -> CIImage
    func setImage(_ image: CIImage)
    func setImage(_ image: CIImage, dirtyRect dirtyRect: CGRect)
    func clear()
    func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?)
    func scriptingIsEqual(to object: Any) -> Bool
    func scriptingIsLessThanOrEqual(to object: Any) -> Bool
    func scriptingIsLessThan(_ object: Any) -> Bool
    func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool
    func scriptingIsGreaterThan(_ object: Any) -> Bool
    func scriptingBegins(with object: Any) -> Bool
    func scriptingEnds(with object: Any) -> Bool
    func scriptingContains(_ object: Any) -> Bool
    func isEqual(to object: Any?) -> Bool
    func isLessThanOrEqual(to object: Any?) -> Bool
    func isLessThan(_ object: Any?) -> Bool
    func isGreaterThanOrEqual(to object: Any?) -> Bool
    func isGreaterThan(_ object: Any?) -> Bool
    func isNotEqual(to object: Any?) -> Bool
    func doesContain(_ object: Any) -> Bool
    func isLike(_ object: String) -> Bool
    func isCaseInsensitiveLike(_ object: String) -> Bool
    var objectSpecifier: NSScriptObjectSpecifier? { get }
    func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]?
    func value(at index: Int, inPropertyWithKey key: String) -> Any?
    func value(withName name: String, inPropertyWithKey key: String) -> Any?
    func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any?
    func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String)
    func removeValue(at index: Int, fromPropertyWithKey key: String)
    func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any)
    func insertValue(_ value: Any, inPropertyWithKey key: String)
    func coerceValue(_ value: Any?, forKey key: String) -> Any?
    var classCode: FourCharCode { get }
    var className: String { get }
    func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any?
    var scriptingProperties: [String : Any]?
    func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any?
    func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any?
    @NSCopying var classDescription: NSClassDescription { get }
    var attributeKeys: [String] { get }
    var toOneRelationshipKeys: [String] { get }
    var toManyRelationshipKeys: [String] { get }
    func inverse(forRelationshipKey relationshipKey: String) -> String?
    var classForPortCoder: AnyClass { get }
    func replacementObject(for coder: NSPortCoder) -> Any?
    var classForArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSArchiver) -> Any?
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String)
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class func useStoredAccessor() -> Bool
    func storedValue(forKey key: String) -> Any?
    func takeStoredValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKeyPath keyPath: String)
    func handleQuery(withUnboundKey key: String) -> Any?
    func handleTakeValue(_ value: Any?, forUnboundKey key: String)
    func unableToSetNil(forKey key: String)
    func values(forKeys keys: [Any]) -> [AnyHashable : Any]
    func takeValues(from properties: [AnyHashable : Any])
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func pose(as aClass: AnyClass)
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func replacementObject(for aCoder: NSCoder) -> Any?
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension CIImageAccumulator : CVarArg {
}
extension CIImageAccumulator : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable

Declaration
From
init(extent extent: CGRect, format format: CIFormat)
To
init?(extent extent: CGRect, format format: CIFormat)

Declaration
From
init(extent extent: CGRect, format format: CIFormat, colorSpace colorSpace: CGColorSpace)
To
init?(extent extent: CGRect, format format: CIFormat, colorSpace colorSpace: CGColorSpace)

Modified CIKernel
DeclarationProtocols
From
class CIKernel : NSObject {
    class func kernelsWithString(_ string: String) -> [CIKernel]?
    convenience init?(string string: String)
    class func kernelWithString(_ string: String) -> Self?
    var name: String { get }
    func setROISelector(_ method: Selector)
    func applyWithExtent(_ extent: CGRect, roiCallback callback: CIKernelROICallback, arguments args: [AnyObject]?) -> CIImage?
}
--
To
class CIKernel : NSObject {
    class func kernels(with string: String) -> [CIKernel]?
    convenience init?(string string: String)
    class func withString(_ string: String) -> Self?
    var name: String { get }
    func setROISelector(_ method: Selector)
    func apply(withExtent extent: CGRect, roiCallback callback: CoreImage.CIKernelROICallback, arguments args: [Any]?) -> CIImage?
    func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?)
    func scriptingIsEqual(to object: Any) -> Bool
    func scriptingIsLessThanOrEqual(to object: Any) -> Bool
    func scriptingIsLessThan(_ object: Any) -> Bool
    func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool
    func scriptingIsGreaterThan(_ object: Any) -> Bool
    func scriptingBegins(with object: Any) -> Bool
    func scriptingEnds(with object: Any) -> Bool
    func scriptingContains(_ object: Any) -> Bool
    func isEqual(to object: Any?) -> Bool
    func isLessThanOrEqual(to object: Any?) -> Bool
    func isLessThan(_ object: Any?) -> Bool
    func isGreaterThanOrEqual(to object: Any?) -> Bool
    func isGreaterThan(_ object: Any?) -> Bool
    func isNotEqual(to object: Any?) -> Bool
    func doesContain(_ object: Any) -> Bool
    func isLike(_ object: String) -> Bool
    func isCaseInsensitiveLike(_ object: String) -> Bool
    var objectSpecifier: NSScriptObjectSpecifier? { get }
    func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]?
    func value(at index: Int, inPropertyWithKey key: String) -> Any?
    func value(withName name: String, inPropertyWithKey key: String) -> Any?
    func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any?
    func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String)
    func removeValue(at index: Int, fromPropertyWithKey key: String)
    func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any)
    func insertValue(_ value: Any, inPropertyWithKey key: String)
    func coerceValue(_ value: Any?, forKey key: String) -> Any?
    var classCode: FourCharCode { get }
    var className: String { get }
    func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any?
    var scriptingProperties: [String : Any]?
    func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any?
    func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any?
    @NSCopying var classDescription: NSClassDescription { get }
    var attributeKeys: [String] { get }
    var toOneRelationshipKeys: [String] { get }
    var toManyRelationshipKeys: [String] { get }
    func inverse(forRelationshipKey relationshipKey: String) -> String?
    var classForPortCoder: AnyClass { get }
    func replacementObject(for coder: NSPortCoder) -> Any?
    var classForArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSArchiver) -> Any?
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String)
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class func useStoredAccessor() -> Bool
    func storedValue(forKey key: String) -> Any?
    func takeStoredValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKeyPath keyPath: String)
    func handleQuery(withUnboundKey key: String) -> Any?
    func handleTakeValue(_ value: Any?, forUnboundKey key: String)
    func unableToSetNil(forKey key: String)
    func values(forKeys keys: [Any]) -> [AnyHashable : Any]
    func takeValues(from properties: [AnyHashable : Any])
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func pose(as aClass: AnyClass)
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func replacementObject(for aCoder: NSCoder) -> Any?
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension CIKernel : CVarArg {
}
extension CIKernel : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable

Declaration
From
func applyWithExtent(_ extent: CGRect, roiCallback callback: CIKernelROICallback, arguments args: [AnyObject]?) -> CIImage?
To
func apply(withExtent extent: CGRect, roiCallback callback: CoreImage.CIKernelROICallback, arguments args: [Any]?) -> CIImage?

Declaration
From
class func kernelsWithString(_ string: String) -> [CIKernel]?
To
class func kernels(with string: String) -> [CIKernel]?

Modified CIPlugIn
DeclarationProtocols
From
class CIPlugIn : NSObject {
    class func loadAllPlugIns()
    class func loadNonExecutablePlugIns()
    class func loadPlugIn(_ url: NSURL!, allowNonExecutable allowNonExecutable: Bool)
    class func loadPlugIn(_ url: NSURL!, allowExecutableCode allowExecutableCode: Bool)
}
--
To
class CIPlugIn : NSObject {
    class func loadAllPlugIns()
    class func loadNonExecutablePlugIns()
    class func load(_ url: URL!, allowNonExecutable allowNonExecutable: Bool)
    class func load(_ url: URL!, allowExecutableCode allowExecutableCode: Bool)
    func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?)
    func scriptingIsEqual(to object: Any) -> Bool
    func scriptingIsLessThanOrEqual(to object: Any) -> Bool
    func scriptingIsLessThan(_ object: Any) -> Bool
    func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool
    func scriptingIsGreaterThan(_ object: Any) -> Bool
    func scriptingBegins(with object: Any) -> Bool
    func scriptingEnds(with object: Any) -> Bool
    func scriptingContains(_ object: Any) -> Bool
    func isEqual(to object: Any?) -> Bool
    func isLessThanOrEqual(to object: Any?) -> Bool
    func isLessThan(_ object: Any?) -> Bool
    func isGreaterThanOrEqual(to object: Any?) -> Bool
    func isGreaterThan(_ object: Any?) -> Bool
    func isNotEqual(to object: Any?) -> Bool
    func doesContain(_ object: Any) -> Bool
    func isLike(_ object: String) -> Bool
    func isCaseInsensitiveLike(_ object: String) -> Bool
    var objectSpecifier: NSScriptObjectSpecifier? { get }
    func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]?
    func value(at index: Int, inPropertyWithKey key: String) -> Any?
    func value(withName name: String, inPropertyWithKey key: String) -> Any?
    func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any?
    func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String)
    func removeValue(at index: Int, fromPropertyWithKey key: String)
    func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any)
    func insertValue(_ value: Any, inPropertyWithKey key: String)
    func coerceValue(_ value: Any?, forKey key: String) -> Any?
    var classCode: FourCharCode { get }
    var className: String { get }
    func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any?
    var scriptingProperties: [String : Any]?
    func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any?
    func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any?
    @NSCopying var classDescription: NSClassDescription { get }
    var attributeKeys: [String] { get }
    var toOneRelationshipKeys: [String] { get }
    var toManyRelationshipKeys: [String] { get }
    func inverse(forRelationshipKey relationshipKey: String) -> String?
    var classForPortCoder: AnyClass { get }
    func replacementObject(for coder: NSPortCoder) -> Any?
    var classForArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSArchiver) -> Any?
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String)
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class func useStoredAccessor() -> Bool
    func storedValue(forKey key: String) -> Any?
    func takeStoredValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKeyPath keyPath: String)
    func handleQuery(withUnboundKey key: String) -> Any?
    func handleTakeValue(_ value: Any?, forUnboundKey key: String)
    func unableToSetNil(forKey key: String)
    func values(forKeys keys: [Any]) -> [AnyHashable : Any]
    func takeValues(from properties: [AnyHashable : Any])
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func pose(as aClass: AnyClass)
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func replacementObject(for aCoder: NSCoder) -> Any?
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension CIPlugIn : CVarArg {
}
extension CIPlugIn : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable

Declaration
From
class func loadPlugIn(_ url: NSURL!, allowExecutableCode allowExecutableCode: Bool)
To
class func load(_ url: URL!, allowExecutableCode allowExecutableCode: Bool)

Declaration
From
protocol CIPlugInRegistration {
    func load(_ host: UnsafeMutablePointer<Void>) -> Bool
}
To
protocol CIPlugInRegistration {
    func load(_ host: UnsafeMutableRawPointer!) -> Bool
}

Declaration
From
func load(_ host: UnsafeMutablePointer<Void>) -> Bool
To
func load(_ host: UnsafeMutableRawPointer!) -> Bool

Declaration
From
class CIQRCodeFeature : CIFeature {
    var bounds: CGRect { get }
    var topLeft: CGPoint { get }
    var topRight: CGPoint { get }
    var bottomLeft: CGPoint { get }
    var bottomRight: CGPoint { get }
    var messageString: String { get }
}
To
class CIQRCodeFeature : CIFeature {
    var bounds: CGRect { get }
    var topLeft: CGPoint { get }
    var topRight: CGPoint { get }
    var bottomLeft: CGPoint { get }
    var bottomRight: CGPoint { get }
    var messageString: String? { get }
}

Declaration
From
var messageString: String { get }
To
var messageString: String? { get }

Modified CISampler
DeclarationProtocols
From
class CISampler : NSObject, NSCopying {
    convenience init(image im: CIImage)
    class func samplerWithImage(_ im: CIImage) -> Self
    convenience init(image im: CIImage, options dict: [NSObject : AnyObject]?)
    class func samplerWithImage(_ im: CIImage, options dict: [NSObject : AnyObject]?) -> Self
    convenience init(image im: CIImage)
    init(image im: CIImage, options dict: [NSObject : AnyObject]?)
    var definition: CIFilterShape { get }
    var extent: CGRect { get }
}
NSCopying
To
class CISampler : NSObject, NSCopying {
    convenience init(image im: CIImage)
    class func withImage(_ im: CIImage) -> Self
    convenience init(image im: CIImage, options dict: [AnyHashable : Any]? = nil)
    class func withImage(_ im: CIImage, options dict: [AnyHashable : Any]? = nil) -> Self
    convenience init(image im: CIImage)
    init(image im: CIImage, options dict: [AnyHashable : Any]? = nil)
    var definition: CIFilterShape { get }
    var extent: CGRect { get }
    func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?)
    func scriptingIsEqual(to object: Any) -> Bool
    func scriptingIsLessThanOrEqual(to object: Any) -> Bool
    func scriptingIsLessThan(_ object: Any) -> Bool
    func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool
    func scriptingIsGreaterThan(_ object: Any) -> Bool
    func scriptingBegins(with object: Any) -> Bool
    func scriptingEnds(with object: Any) -> Bool
    func scriptingContains(_ object: Any) -> Bool
    func isEqual(to object: Any?) -> Bool
    func isLessThanOrEqual(to object: Any?) -> Bool
    func isLessThan(_ object: Any?) -> Bool
    func isGreaterThanOrEqual(to object: Any?) -> Bool
    func isGreaterThan(_ object: Any?) -> Bool
    func isNotEqual(to object: Any?) -> Bool
    func doesContain(_ object: Any) -> Bool
    func isLike(_ object: String) -> Bool
    func isCaseInsensitiveLike(_ object: String) -> Bool
    var objectSpecifier: NSScriptObjectSpecifier? { get }
    func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]?
    func value(at index: Int, inPropertyWithKey key: String) -> Any?
    func value(withName name: String, inPropertyWithKey key: String) -> Any?
    func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any?
    func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String)
    func removeValue(at index: Int, fromPropertyWithKey key: String)
    func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any)
    func insertValue(_ value: Any, inPropertyWithKey key: String)
    func coerceValue(_ value: Any?, forKey key: String) -> Any?
    var classCode: FourCharCode { get }
    var className: String { get }
    func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any?
    var scriptingProperties: [String : Any]?
    func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any?
    func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any?
    @NSCopying var classDescription: NSClassDescription { get }
    var attributeKeys: [String] { get }
    var toOneRelationshipKeys: [String] { get }
    var toManyRelationshipKeys: [String] { get }
    func inverse(forRelationshipKey relationshipKey: String) -> String?
    var classForPortCoder: AnyClass { get }
    func replacementObject(for coder: NSPortCoder) -> Any?
    var classForArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSArchiver) -> Any?
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String)
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class func useStoredAccessor() -> Bool
    func storedValue(forKey key: String) -> Any?
    func takeStoredValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKeyPath keyPath: String)
    func handleQuery(withUnboundKey key: String) -> Any?
    func handleTakeValue(_ value: Any?, forUnboundKey key: String)
    func unableToSetNil(forKey key: String)
    func values(forKeys keys: [Any]) -> [AnyHashable : Any]
    func takeValues(from properties: [AnyHashable : Any])
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func pose(as aClass: AnyClass)
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func replacementObject(for aCoder: NSCoder) -> Any?
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension CISampler : CVarArg {
}
extension CISampler : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable, NSCopying

Declaration
From
init(image im: CIImage, options dict: [NSObject : AnyObject]?)
To
init(image im: CIImage, options dict: [AnyHashable : Any]? = nil)

Modified CITextFeature
Declaration
From
class CITextFeature : CIFeature {
    var bounds: CGRect { get }
    var topLeft: CGPoint { get }
    var topRight: CGPoint { get }
    var bottomLeft: CGPoint { get }
    var bottomRight: CGPoint { get }
    var subFeatures: [AnyObject] { get }
}
To
class CITextFeature : CIFeature {
    var bounds: CGRect { get }
    var topLeft: CGPoint { get }
    var topRight: CGPoint { get }
    var bottomLeft: CGPoint { get }
    var bottomRight: CGPoint { get }
    var subFeatures: [Any]? { get }
}

Declaration
From
var subFeatures: [AnyObject] { get }
To
var subFeatures: [Any]? { get }

Modified CIVector
DeclarationProtocols
From
class CIVector : NSObject, NSCopying, NSSecureCoding {
    convenience init(values values: UnsafePointer<CGFloat>, count count: Int)
    class func vectorWithValues(_ values: UnsafePointer<CGFloat>, count count: Int) -> Self
    convenience init(x x: CGFloat)
    class func vectorWithX(_ x: CGFloat) -> Self
    convenience init(x x: CGFloat, y y: CGFloat)
    class func vectorWithX(_ x: CGFloat, y y: CGFloat) -> Self
    convenience init(x x: CGFloat, y y: CGFloat, z z: CGFloat)
    class func vectorWithX(_ x: CGFloat, y y: CGFloat, z z: CGFloat) -> Self
    convenience init(x x: CGFloat, y y: CGFloat, z z: CGFloat, w w: CGFloat)
    class func vectorWithX(_ x: CGFloat, y y: CGFloat, z z: CGFloat, w w: CGFloat) -> Self
    convenience init(CGPoint p: CGPoint)
    class func vectorWithCGPoint(_ p: CGPoint) -> Self
    convenience init(CGRect r: CGRect)
    class func vectorWithCGRect(_ r: CGRect) -> Self
    convenience init(CGAffineTransform t: CGAffineTransform)
    class func vectorWithCGAffineTransform(_ t: CGAffineTransform) -> Self
    convenience init(string representation: String)
    class func vectorWithString(_ representation: String) -> Self
    init(values values: UnsafePointer<CGFloat>, count count: Int)
    convenience init(x x: CGFloat)
    convenience init(x x: CGFloat, y y: CGFloat)
    convenience init(x x: CGFloat, y y: CGFloat, z z: CGFloat)
    convenience init(x x: CGFloat, y y: CGFloat, z z: CGFloat, w w: CGFloat)
    convenience init(CGPoint p: CGPoint)
    convenience init(CGRect r: CGRect)
    convenience init(CGAffineTransform r: CGAffineTransform)
    convenience init(string representation: String)
    func valueAtIndex(_ index: Int) -> CGFloat
    var count: Int { get }
    var X: CGFloat { get }
    var Y: CGFloat { get }
    var Z: CGFloat { get }
    var W: CGFloat { get }
    var CGPointValue: CGPoint { get }
    var CGRectValue: CGRect { get }
    var CGAffineTransformValue: CGAffineTransform { get }
    var stringRepresentation: String { get }
}
NSCopying, NSSecureCoding
To
class CIVector : NSObject, NSCopying, NSSecureCoding {
    convenience init(values values: UnsafePointer<CGFloat>, count count: Int)
    class func withValues(_ values: UnsafePointer<CGFloat>, count count: Int) -> Self
    convenience init(x x: CGFloat)
    class func withX(_ x: CGFloat) -> Self
    convenience init(x x: CGFloat, y y: CGFloat)
    class func withX(_ x: CGFloat, y y: CGFloat) -> Self
    convenience init(x x: CGFloat, y y: CGFloat, z z: CGFloat)
    class func withX(_ x: CGFloat, y y: CGFloat, z z: CGFloat) -> Self
    convenience init(x x: CGFloat, y y: CGFloat, z z: CGFloat, w w: CGFloat)
    class func withX(_ x: CGFloat, y y: CGFloat, z z: CGFloat, w w: CGFloat) -> Self
    convenience init(cgPoint p: CGPoint)
    class func withCGPoint(_ p: CGPoint) -> Self
    convenience init(cgRect r: CGRect)
    class func withCGRect(_ r: CGRect) -> Self
    convenience init(cgAffineTransform t: CGAffineTransform)
    class func withCGAffineTransform(_ t: CGAffineTransform) -> Self
    convenience init(string representation: String)
    class func withString(_ representation: String) -> Self
    init(values values: UnsafePointer<CGFloat>, count count: Int)
    convenience init(x x: CGFloat)
    convenience init(x x: CGFloat, y y: CGFloat)
    convenience init(x x: CGFloat, y y: CGFloat, z z: CGFloat)
    convenience init(x x: CGFloat, y y: CGFloat, z z: CGFloat, w w: CGFloat)
    convenience init(cgPoint p: CGPoint)
    convenience init(cgRect r: CGRect)
    convenience init(cgAffineTransform r: CGAffineTransform)
    convenience init(string representation: String)
    func value(at index: Int) -> CGFloat
    var count: Int { get }
    var x: CGFloat { get }
    var y: CGFloat { get }
    var z: CGFloat { get }
    var w: CGFloat { get }
    var cgPointValue: CGPoint { get }
    var cgRectValue: CGRect { get }
    var cgAffineTransformValue: CGAffineTransform { get }
    var stringRepresentation: String { get }
    func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?)
    func scriptingIsEqual(to object: Any) -> Bool
    func scriptingIsLessThanOrEqual(to object: Any) -> Bool
    func scriptingIsLessThan(_ object: Any) -> Bool
    func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool
    func scriptingIsGreaterThan(_ object: Any) -> Bool
    func scriptingBegins(with object: Any) -> Bool
    func scriptingEnds(with object: Any) -> Bool
    func scriptingContains(_ object: Any) -> Bool
    func isEqual(to object: Any?) -> Bool
    func isLessThanOrEqual(to object: Any?) -> Bool
    func isLessThan(_ object: Any?) -> Bool
    func isGreaterThanOrEqual(to object: Any?) -> Bool
    func isGreaterThan(_ object: Any?) -> Bool
    func isNotEqual(to object: Any?) -> Bool
    func doesContain(_ object: Any) -> Bool
    func isLike(_ object: String) -> Bool
    func isCaseInsensitiveLike(_ object: String) -> Bool
    var objectSpecifier: NSScriptObjectSpecifier? { get }
    func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]?
    func value(at index: Int, inPropertyWithKey key: String) -> Any?
    func value(withName name: String, inPropertyWithKey key: String) -> Any?
    func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any?
    func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String)
    func removeValue(at index: Int, fromPropertyWithKey key: String)
    func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any)
    func insertValue(_ value: Any, inPropertyWithKey key: String)
    func coerceValue(_ value: Any?, forKey key: String) -> Any?
    var classCode: FourCharCode { get }
    var className: String { get }
    func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any?
    var scriptingProperties: [String : Any]?
    func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any?
    func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any?
    @NSCopying var classDescription: NSClassDescription { get }
    var attributeKeys: [String] { get }
    var toOneRelationshipKeys: [String] { get }
    var toManyRelationshipKeys: [String] { get }
    func inverse(forRelationshipKey relationshipKey: String) -> String?
    var classForPortCoder: AnyClass { get }
    func replacementObject(for coder: NSPortCoder) -> Any?
    var classForArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSArchiver) -> Any?
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?)
    func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool)
    func performSelector(inBackground aSelector: Selector, with arg: Any?)
    class func classForKeyedUnarchiver() -> AnyClass
    var classForKeyedArchiver: AnyClass? { get }
    func replacementObject(for archiver: NSKeyedArchiver) -> Any?
    class func classFallbacksForKeyedArchiver() -> [String]
    class func setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: String)
    class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String>
    class func automaticallyNotifiesObservers(forKey key: String) -> Bool
    var observationInfo: UnsafeMutableRawPointer?
    func willChangeValue(forKey key: String)
    func didChangeValue(forKey key: String)
    func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String)
    func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>)
    func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?)
    func removeObserver(_ observer: NSObject, forKeyPath keyPath: String)
    func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?)
    class func useStoredAccessor() -> Bool
    func storedValue(forKey key: String) -> Any?
    func takeStoredValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKey key: String)
    func takeValue(_ value: Any?, forKeyPath keyPath: String)
    func handleQuery(withUnboundKey key: String) -> Any?
    func handleTakeValue(_ value: Any?, forUnboundKey key: String)
    func unableToSetNil(forKey key: String)
    func values(forKeys keys: [Any]) -> [AnyHashable : Any]
    func takeValues(from properties: [AnyHashable : Any])
    class var accessInstanceVariablesDirectly: Bool { get }
    func value(forKey key: String) -> Any?
    func setValue(_ value: Any?, forKey key: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws
    func mutableArrayValue(forKey key: String) -> NSMutableArray
    func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet
    func mutableSetValue(forKey key: String) -> NSMutableSet
    func value(forKeyPath keyPath: String) -> Any?
    func setValue(_ value: Any?, forKeyPath keyPath: String)
    func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws
    func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray
    func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet
    func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet
    func value(forUndefinedKey key: String) -> Any?
    func setValue(_ value: Any?, forUndefinedKey key: String)
    func setNilValueForKey(_ key: String)
    func dictionaryWithValues(forKeys keys: [String]) -> [String : Any]
    func setValuesForKeys(_ keyedValues: [String : Any])
    func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool
    func fileManager(_ fm: FileManager, willProcessPath path: String)
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode])
    func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?)
    class func cancelPreviousPerformRequests(withTarget aTarget: Any)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?)
    func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool
    var autoContentAccessingProxy: Any { get }
    class func pose(as aClass: AnyClass)
    class func version() -> Int
    class func setVersion(_ aVersion: Int)
    var classForCoder: AnyClass { get }
    func replacementObject(for aCoder: NSCoder) -> Any?
    func awakeAfter(using aDecoder: NSCoder) -> Any?
}
extension CIVector : CVarArg {
}
extension CIVector : Equatable, Hashable {
    var hashValue: Int { get }
}
CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding

Declaration
From
var CGAffineTransformValue: CGAffineTransform { get }
To
var cgAffineTransformValue: CGAffineTransform { get }

Declaration
From
var CGPointValue: CGPoint { get }
To
var cgPointValue: CGPoint { get }

Declaration
From
var CGRectValue: CGRect { get }
To
var cgRectValue: CGRect { get }

Declaration
From
convenience init(CGAffineTransform r: CGAffineTransform)
To
convenience init(cgAffineTransform r: CGAffineTransform)

Declaration
From
convenience init(CGPoint p: CGPoint)
To
convenience init(cgPoint p: CGPoint)

Declaration
From
convenience init(CGRect r: CGRect)
To
convenience init(cgRect r: CGRect)

Declaration
From
func valueAtIndex(_ index: Int) -> CGFloat
To
func value(at index: Int) -> CGFloat

Modified CIVector.w
Declaration
From
var W: CGFloat { get }
To
var w: CGFloat { get }

Modified CIVector.x
Declaration
From
var X: CGFloat { get }
To
var x: CGFloat { get }

Modified CIVector.y
Declaration
From
var Y: CGFloat { get }
To
var y: CGFloat { get }

Modified CIVector.z
Declaration
From
var Z: CGFloat { get }
To
var z: CGFloat { get }

Modified CIWarpKernel
Declaration
From
class CIWarpKernel : CIKernel {
    convenience init?(string string: String)
    class func kernelWithString(_ string: String) -> Self?
    func applyWithExtent(_ extent: CGRect, roiCallback callback: CIKernelROICallback, inputImage image: CIImage, arguments args: [AnyObject]?) -> CIImage?
}
To
class CIWarpKernel : CIKernel {
    convenience init?(string string: String)
    class func withString(_ string: String) -> Self?
    func apply(withExtent extent: CGRect, roiCallback callback: CoreImage.CIKernelROICallback, inputImage image: CIImage, arguments args: [Any]?) -> CIImage?
}

Declaration
From
func applyWithExtent(_ extent: CGRect, roiCallback callback: CIKernelROICallback, inputImage image: CIImage, arguments args: [AnyObject]?) -> CIImage?
To
func apply(withExtent extent: CGRect, roiCallback callback: CoreImage.CIKernelROICallback, inputImage image: CIImage, arguments args: [Any]?) -> CIImage?

Declaration
From
func provideImageData(_ data: UnsafeMutablePointer<Void>, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: AnyObject?)
To
func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?)