CoreGraphics Changes for Swift
CoreGraphics
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 CGDisplayMode
| Name | Declaration | |
|---|---|---|
| From | CGDisplayModeRef | typealias CGDisplayModeRef = CGDisplayMode |
| To | CGDisplayMode | class CGDisplayMode {
} |
Modified CGDisplayStream
| Name | Declaration | |
|---|---|---|
| From | CGDisplayStreamRef | typealias CGDisplayStreamRef = CGDisplayStream |
| To | CGDisplayStream | class CGDisplayStream {
} |
Modified CGDisplayStreamUpdate
| Name | Declaration | |
|---|---|---|
| From | CGDisplayStreamUpdateRef | typealias CGDisplayStreamUpdateRef = CGDisplayStreamUpdate |
| To | CGDisplayStreamUpdate | class CGDisplayStreamUpdate {
} |
Modified CGEvent
| Name | Declaration | |
|---|---|---|
| From | CGEventRef | typealias CGEventRef = CGEvent |
| To | CGEvent | class CGEvent {
} |
Modified CGEventSource
| Name | Declaration | |
|---|---|---|
| From | CGEventSourceRef | typealias CGEventSourceRef = CGEventSource |
| To | CGEventSource | class CGEventSource {
} |
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 CGPSConverter
| Name | Declaration | |
|---|---|---|
| From | CGPSConverterRef | typealias CGPSConverterRef = CGPSConverter |
| To | CGPSConverter | class CGPSConverter {
} |
Modified CGShading
| Name | Declaration | |
|---|---|---|
| From | CGShadingRef | typealias CGShadingRef = CGShading |
| To | CGShading | class CGShading {
} |