CoreGraphics Changes for Swift
CoreGraphics
Removed CGGlypDeprecatedEnum [enum]
Removed CGGlypDeprecatedEnum.GlyphMax
Removed CGGlypDeprecatedEnum.GlyphMin
Added CGColorConverterTransformType [enum]
Added CGColorConverterTransformType.ApplySpace
Added CGColorConverterTransformType.FromSpace
Added CGColorConverterTransformType.ToSpace
Added CGColorConverterCreateSimple(_: CGColorSpace?, _: CGColorSpace?) -> CGColorConverterRef
Added CGColorConverterGetTypeID() -> CFTypeID
Added CGColorConverterRef
Added CGColorConverterRelease(_: CGColorConverterRef)
Added kCGColorSpaceDCIP3
Added kCGColorSpaceDisplayP3
Modified CGBitmapInfo [struct]
Declaration | |
---|---|
From | struct CGBitmapInfo : OptionSetType { init(rawValue rawValue: UInt32) static var AlphaInfoMask: CGBitmapInfo { get } static var FloatComponents: CGBitmapInfo { get } static var ByteOrderMask: CGBitmapInfo { get } static var ByteOrderDefault: CGBitmapInfo { get } static var ByteOrder16Little: CGBitmapInfo { get } static var ByteOrder32Little: CGBitmapInfo { get } static var ByteOrder16Big: CGBitmapInfo { get } static var ByteOrder32Big: CGBitmapInfo { get } } |
To | struct CGBitmapInfo : OptionSetType { init(rawValue rawValue: UInt32) static var AlphaInfoMask: CGBitmapInfo { get } static var FloatInfoMask: CGBitmapInfo { get } static var FloatComponents: CGBitmapInfo { get } static var ByteOrderMask: CGBitmapInfo { get } static var ByteOrderDefault: CGBitmapInfo { get } static var ByteOrder16Little: CGBitmapInfo { get } static var ByteOrder32Little: CGBitmapInfo { get } static var ByteOrder16Big: CGBitmapInfo { get } static var ByteOrder32Big: CGBitmapInfo { get } } |
Modified CGColor
Name | Declaration | |
---|---|---|
From | CGColorRef | typealias CGColorRef = CGColor |
To | CGColor | class CGColor { } |
Modified CGColorSpace
Name | Declaration | |
---|---|---|
From | CGColorSpaceRef | typealias CGColorSpaceRef = CGColorSpace |
To | CGColorSpace | class CGColorSpace { } |
Modified CGContext
Name | Declaration | |
---|---|---|
From | CGContextRef | typealias CGContextRef = CGContext |
To | CGContext | class CGContext { } |
Modified CGDataConsumer
Name | Declaration | |
---|---|---|
From | CGDataConsumerRef | typealias CGDataConsumerRef = CGDataConsumer |
To | CGDataConsumer | class CGDataConsumer { } |
Modified CGDataProvider
Name | Declaration | |
---|---|---|
From | CGDataProviderRef | typealias CGDataProviderRef = CGDataProvider |
To | CGDataProvider | class CGDataProvider { } |
Modified CGFont
Name | Declaration | |
---|---|---|
From | CGFontRef | typealias CGFontRef = CGFont |
To | CGFont | class CGFont { } |
Modified CGFunction
Name | Declaration | |
---|---|---|
From | CGFunctionRef | typealias CGFunctionRef = CGFunction |
To | CGFunction | class CGFunction { } |
Modified CGGradient
Name | Declaration | |
---|---|---|
From | CGGradientRef | typealias CGGradientRef = CGGradient |
To | CGGradient | class CGGradient { } |
Modified CGImage
Name | Declaration | |
---|---|---|
From | CGImageRef | typealias CGImageRef = CGImage |
To | CGImage | class CGImage { } |
Modified CGLayer
Name | Declaration | |
---|---|---|
From | CGLayerRef | typealias CGLayerRef = CGLayer |
To | CGLayer | class CGLayer { } |
Modified CGMutablePath
Name | Declaration | |
---|---|---|
From | CGMutablePathRef | typealias CGMutablePathRef = CGMutablePath |
To | CGMutablePath | class CGMutablePath { } |
Modified CGPath
Name | Declaration | |
---|---|---|
From | CGPathRef | typealias CGPathRef = CGPath |
To | CGPath | class CGPath { } |
Modified CGPattern
Name | Declaration | |
---|---|---|
From | CGPatternRef | typealias CGPatternRef = CGPattern |
To | CGPattern | class CGPattern { } |
Modified CGPDFDocument
Name | Declaration | |
---|---|---|
From | CGPDFDocumentRef | typealias CGPDFDocumentRef = CGPDFDocument |
To | CGPDFDocument | class CGPDFDocument { } |
Modified CGPDFPage
Name | Declaration | |
---|---|---|
From | CGPDFPageRef | typealias CGPDFPageRef = CGPDFPage |
To | CGPDFPage | class CGPDFPage { } |
Modified CGShading
Name | Declaration | |
---|---|---|
From | CGShadingRef | typealias CGShadingRef = CGShading |
To | CGShading | class CGShading { } |
Modified kCGColorSpaceAdobeRGB1998
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 9.0 |
Modified kCGColorSpaceGenericCMYK
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 9.0 |
Modified kCGColorSpaceGenericGrayGamma2_2
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 9.0 |
Modified kCGColorSpaceSRGB
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 9.0 |