Documentation Archive Developer
Search

CoreGraphics Changes for Objective-C

CoreGraphics

CGBitmapContext.h

Declaration
From
CGContextRef CGBitmapContextCreate (
    void *data,
    size_t width,
    size_t height,
    size_t bitsPerComponent,
    size_t bytesPerRow,
    CGColorSpaceRef space,
    CGBitmapInfo bitmapInfo
);
To
CGContextRef _Nullable CGBitmapContextCreate (
    void * _Nullable data,
    size_t width,
    size_t height,
    size_t bitsPerComponent,
    size_t bytesPerRow,
    CGColorSpaceRef _Nullable space,
    uint32_t bitmapInfo
);

Declaration
From
CGImageRef CGBitmapContextCreateImage (
    CGContextRef context
);
To
CGImageRef _Nullable CGBitmapContextCreateImage (
    CGContextRef _Nullable context
);

Declaration
From
CGContextRef CGBitmapContextCreateWithData (
    void *data,
    size_t width,
    size_t height,
    size_t bitsPerComponent,
    size_t bytesPerRow,
    CGColorSpaceRef space,
    CGBitmapInfo bitmapInfo,
    CGBitmapContextReleaseDataCallback releaseCallback,
    void *releaseInfo
);
To
CGContextRef _Nullable CGBitmapContextCreateWithData (
    void * _Nullable data,
    size_t width,
    size_t height,
    size_t bitsPerComponent,
    size_t bytesPerRow,
    CGColorSpaceRef _Nullable space,
    uint32_t bitmapInfo,
    CGBitmapContextReleaseDataCallback _Nullable releaseCallback,
    void * _Nullable releaseInfo
);

Declaration
From
CGImageAlphaInfo CGBitmapContextGetAlphaInfo (
    CGContextRef context
);
To
CGImageAlphaInfo CGBitmapContextGetAlphaInfo (
    CGContextRef _Nullable context
);

Declaration
From
CGBitmapInfo CGBitmapContextGetBitmapInfo (
    CGContextRef context
);
To
CGBitmapInfo CGBitmapContextGetBitmapInfo (
    CGContextRef _Nullable context
);

Declaration
From
size_t CGBitmapContextGetBitsPerComponent (
    CGContextRef context
);
To
size_t CGBitmapContextGetBitsPerComponent (
    CGContextRef _Nullable context
);

Declaration
From
size_t CGBitmapContextGetBitsPerPixel (
    CGContextRef context
);
To
size_t CGBitmapContextGetBitsPerPixel (
    CGContextRef _Nullable context
);

Declaration
From
size_t CGBitmapContextGetBytesPerRow (
    CGContextRef context
);
To
size_t CGBitmapContextGetBytesPerRow (
    CGContextRef _Nullable context
);

Declaration
From
CGColorSpaceRef CGBitmapContextGetColorSpace (
    CGContextRef context
);
To
CGColorSpaceRef _Nullable CGBitmapContextGetColorSpace (
    CGContextRef _Nullable context
);

Declaration
From
void * CGBitmapContextGetData (
    CGContextRef context
);
To
void * _Nullable CGBitmapContextGetData (
    CGContextRef _Nullable context
);

Declaration
From
size_t CGBitmapContextGetHeight (
    CGContextRef context
);
To
size_t CGBitmapContextGetHeight (
    CGContextRef _Nullable context
);

Declaration
From
size_t CGBitmapContextGetWidth (
    CGContextRef context
);
To
size_t CGBitmapContextGetWidth (
    CGContextRef _Nullable context
);

CGColor.h

Declaration
From
CGColorRef CGColorCreate (
    CGColorSpaceRef space,
    const CGFloat components[]
);
To
CGColorRef _Nullable CGColorCreate (
    CGColorSpaceRef _Nullable space,
    const CGFloat * _Nullable components
);

Declaration
From
CGColorRef CGColorCreateCopy (
    CGColorRef color
);
To
CGColorRef _Nullable CGColorCreateCopy (
    CGColorRef _Nullable color
);

Declaration
From
CGColorRef CGColorCreateCopyWithAlpha (
    CGColorRef color,
    CGFloat alpha
);
To
CGColorRef _Nullable CGColorCreateCopyWithAlpha (
    CGColorRef _Nullable color,
    CGFloat alpha
);

Declaration
From
CGColorRef CGColorCreateGenericCMYK (
    CGFloat cyan,
    CGFloat magenta,
    CGFloat yellow,
    CGFloat black,
    CGFloat alpha
);
To
CGColorRef _Nonnull CGColorCreateGenericCMYK (
    CGFloat cyan,
    CGFloat magenta,
    CGFloat yellow,
    CGFloat black,
    CGFloat alpha
);

Declaration
From
CGColorRef CGColorCreateGenericGray (
    CGFloat gray,
    CGFloat alpha
);
To
CGColorRef _Nonnull CGColorCreateGenericGray (
    CGFloat gray,
    CGFloat alpha
);

Declaration
From
CGColorRef CGColorCreateGenericRGB (
    CGFloat red,
    CGFloat green,
    CGFloat blue,
    CGFloat alpha
);
To
CGColorRef _Nonnull CGColorCreateGenericRGB (
    CGFloat red,
    CGFloat green,
    CGFloat blue,
    CGFloat alpha
);

Declaration
From
CGColorRef CGColorCreateWithPattern (
    CGColorSpaceRef space,
    CGPatternRef pattern,
    const CGFloat components[]
);
To
CGColorRef _Nullable CGColorCreateWithPattern (
    CGColorSpaceRef _Nullable space,
    CGPatternRef _Nullable pattern,
    const CGFloat * _Nullable components
);

Declaration
From
bool CGColorEqualToColor (
    CGColorRef color1,
    CGColorRef color2
);
To
bool CGColorEqualToColor (
    CGColorRef _Nullable color1,
    CGColorRef _Nullable color2
);

Declaration
From
CGFloat CGColorGetAlpha (
    CGColorRef color
);
To
CGFloat CGColorGetAlpha (
    CGColorRef _Nullable color
);

Declaration
From
CGColorSpaceRef CGColorGetColorSpace (
    CGColorRef color
);
To
CGColorSpaceRef _Nullable CGColorGetColorSpace (
    CGColorRef _Nullable color
);

Declaration
From
const CGFloat * CGColorGetComponents (
    CGColorRef color
);
To
const CGFloat * _Nullable CGColorGetComponents (
    CGColorRef _Nullable color
);

Declaration
From
CGColorRef CGColorGetConstantColor (
    CFStringRef colorName
);
To
CGColorRef _Nullable CGColorGetConstantColor (
    CFStringRef _Nullable colorName
);

Declaration
From
size_t CGColorGetNumberOfComponents (
    CGColorRef color
);
To
size_t CGColorGetNumberOfComponents (
    CGColorRef _Nullable color
);

Declaration
From
CGPatternRef CGColorGetPattern (
    CGColorRef color
);
To
CGPatternRef _Nullable CGColorGetPattern (
    CGColorRef _Nullable color
);

Declaration
From
void CGColorRelease (
    CGColorRef color
);
To
void CGColorRelease (
    CGColorRef _Nullable color
);

Declaration
From
CGColorRef CGColorRetain (
    CGColorRef color
);
To
CGColorRef _Nullable CGColorRetain (
    CGColorRef _Nullable color
);

CGColorSpace.h

Declaration
From
CFDataRef CGColorSpaceCopyICCProfile (
    CGColorSpaceRef space
);
To
CFDataRef _Nullable CGColorSpaceCopyICCProfile (
    CGColorSpaceRef _Nullable space
);

Declaration
From
CFStringRef CGColorSpaceCopyName (
    CGColorSpaceRef space
);
To
CFStringRef _Nullable CGColorSpaceCopyName (
    CGColorSpaceRef _Nullable space
);

Declaration
From
CGColorSpaceRef CGColorSpaceCreateCalibratedGray (
    const CGFloat whitePoint[3],
    const CGFloat blackPoint[3],
    CGFloat gamma
);
To
CGColorSpaceRef _Nullable CGColorSpaceCreateCalibratedGray (
    const CGFloat whitePoint[3],
    const CGFloat blackPoint[3],
    CGFloat gamma
);

Declaration
From
CGColorSpaceRef CGColorSpaceCreateCalibratedRGB (
    const CGFloat whitePoint[3],
    const CGFloat blackPoint[3],
    const CGFloat gamma[3],
    const CGFloat matrix[9]
);
To
CGColorSpaceRef _Nullable CGColorSpaceCreateCalibratedRGB (
    const CGFloat whitePoint[3],
    const CGFloat blackPoint[3],
    const CGFloat gamma[3],
    const CGFloat matrix[9]
);

Declaration
From
CGColorSpaceRef CGColorSpaceCreateDeviceCMYK (
    void
);
To
CGColorSpaceRef _Nullable CGColorSpaceCreateDeviceCMYK (
    void
);

Declaration
From
CGColorSpaceRef CGColorSpaceCreateDeviceGray (
    void
);
To
CGColorSpaceRef _Nullable CGColorSpaceCreateDeviceGray (
    void
);

Declaration
From
CGColorSpaceRef CGColorSpaceCreateDeviceRGB (
    void
);
To
CGColorSpaceRef _Nullable CGColorSpaceCreateDeviceRGB (
    void
);

Declaration
From
CGColorSpaceRef CGColorSpaceCreateICCBased (
    size_t nComponents,
    const CGFloat *range,
    CGDataProviderRef profile,
    CGColorSpaceRef alternate
);
To
CGColorSpaceRef _Nullable CGColorSpaceCreateICCBased (
    size_t nComponents,
    const CGFloat * _Nullable range,
    CGDataProviderRef _Nullable profile,
    CGColorSpaceRef _Nullable alternate
);

Declaration
From
CGColorSpaceRef CGColorSpaceCreateIndexed (
    CGColorSpaceRef baseSpace,
    size_t lastIndex,
    const unsigned char *colorTable
);
To
CGColorSpaceRef _Nullable CGColorSpaceCreateIndexed (
    CGColorSpaceRef _Nullable baseSpace,
    size_t lastIndex,
    const unsigned char * _Nullable colorTable
);

Declaration
From
CGColorSpaceRef CGColorSpaceCreateLab (
    const CGFloat whitePoint[3],
    const CGFloat blackPoint[3],
    const CGFloat range[4]
);
To
CGColorSpaceRef _Nullable CGColorSpaceCreateLab (
    const CGFloat whitePoint[3],
    const CGFloat blackPoint[3],
    const CGFloat range[4]
);

Declaration
From
CGColorSpaceRef CGColorSpaceCreatePattern (
    CGColorSpaceRef baseSpace
);
To
CGColorSpaceRef _Nullable CGColorSpaceCreatePattern (
    CGColorSpaceRef _Nullable baseSpace
);

Declaration
From
CGColorSpaceRef CGColorSpaceCreateWithICCProfile (
    CFDataRef data
);
To
CGColorSpaceRef _Nullable CGColorSpaceCreateWithICCProfile (
    CFDataRef _Nullable data
);

Declaration
From
CGColorSpaceRef CGColorSpaceCreateWithName (
    CFStringRef name
);
To
CGColorSpaceRef _Nullable CGColorSpaceCreateWithName (
    CFStringRef _Nullable name
);

Declaration
From
CGColorSpaceRef CGColorSpaceCreateWithPlatformColorSpace (
    const void *ref
);
To
CGColorSpaceRef _Nullable CGColorSpaceCreateWithPlatformColorSpace (
    const void * _Nullable ref
);

Declaration
From
CGColorSpaceRef CGColorSpaceGetBaseColorSpace (
    CGColorSpaceRef space
);
To
CGColorSpaceRef _Nullable CGColorSpaceGetBaseColorSpace (
    CGColorSpaceRef _Nullable space
);

Declaration
From
void CGColorSpaceGetColorTable (
    CGColorSpaceRef space,
    uint8_t *table
);
To
void CGColorSpaceGetColorTable (
    CGColorSpaceRef _Nullable space,
    uint8_t * _Nullable table
);

Declaration
From
size_t CGColorSpaceGetColorTableCount (
    CGColorSpaceRef space
);
To
size_t CGColorSpaceGetColorTableCount (
    CGColorSpaceRef _Nullable space
);

Declaration
From
CGColorSpaceModel CGColorSpaceGetModel (
    CGColorSpaceRef space
);
To
CGColorSpaceModel CGColorSpaceGetModel (
    CGColorSpaceRef _Nullable space
);

Declaration
From
size_t CGColorSpaceGetNumberOfComponents (
    CGColorSpaceRef space
);
To
size_t CGColorSpaceGetNumberOfComponents (
    CGColorSpaceRef _Nullable space
);

Declaration
From
void CGColorSpaceRelease (
    CGColorSpaceRef space
);
To
void CGColorSpaceRelease (
    CGColorSpaceRef _Nullable space
);

Declaration
From
CGColorSpaceRef CGColorSpaceRetain (
    CGColorSpaceRef space
);
To
CGColorSpaceRef _Nullable CGColorSpaceRetain (
    CGColorSpaceRef _Nullable space
);

CGContext.h

Declaration
From
void CGContextAddArc (
    CGContextRef c,
    CGFloat x,
    CGFloat y,
    CGFloat radius,
    CGFloat startAngle,
    CGFloat endAngle,
    int clockwise
);
To
void CGContextAddArc (
    CGContextRef _Nullable c,
    CGFloat x,
    CGFloat y,
    CGFloat radius,
    CGFloat startAngle,
    CGFloat endAngle,
    int clockwise
);

Declaration
From
void CGContextAddArcToPoint (
    CGContextRef c,
    CGFloat x1,
    CGFloat y1,
    CGFloat x2,
    CGFloat y2,
    CGFloat radius
);
To
void CGContextAddArcToPoint (
    CGContextRef _Nullable c,
    CGFloat x1,
    CGFloat y1,
    CGFloat x2,
    CGFloat y2,
    CGFloat radius
);

Declaration
From
void CGContextAddCurveToPoint (
    CGContextRef c,
    CGFloat cp1x,
    CGFloat cp1y,
    CGFloat cp2x,
    CGFloat cp2y,
    CGFloat x,
    CGFloat y
);
To
void CGContextAddCurveToPoint (
    CGContextRef _Nullable c,
    CGFloat cp1x,
    CGFloat cp1y,
    CGFloat cp2x,
    CGFloat cp2y,
    CGFloat x,
    CGFloat y
);

Declaration
From
void CGContextAddEllipseInRect (
    CGContextRef context,
    CGRect rect
);
To
void CGContextAddEllipseInRect (
    CGContextRef _Nullable c,
    CGRect rect
);

Declaration
From
void CGContextAddLines (
    CGContextRef c,
    const CGPoint points[],
    size_t count
);
To
void CGContextAddLines (
    CGContextRef _Nullable c,
    const CGPoint * _Nullable points,
    size_t count
);

Declaration
From
void CGContextAddLineToPoint (
    CGContextRef c,
    CGFloat x,
    CGFloat y
);
To
void CGContextAddLineToPoint (
    CGContextRef _Nullable c,
    CGFloat x,
    CGFloat y
);

Declaration
From
void CGContextAddPath (
    CGContextRef context,
    CGPathRef path
);
To
void CGContextAddPath (
    CGContextRef _Nullable c,
    CGPathRef _Nullable path
);

Declaration
From
void CGContextAddQuadCurveToPoint (
    CGContextRef c,
    CGFloat cpx,
    CGFloat cpy,
    CGFloat x,
    CGFloat y
);
To
void CGContextAddQuadCurveToPoint (
    CGContextRef _Nullable c,
    CGFloat cpx,
    CGFloat cpy,
    CGFloat x,
    CGFloat y
);

Declaration
From
void CGContextAddRect (
    CGContextRef c,
    CGRect rect
);
To
void CGContextAddRect (
    CGContextRef _Nullable c,
    CGRect rect
);

Declaration
From
void CGContextAddRects (
    CGContextRef c,
    const CGRect rects[],
    size_t count
);
To
void CGContextAddRects (
    CGContextRef _Nullable c,
    const CGRect * _Nullable rects,
    size_t count
);

Declaration
From
void CGContextBeginPage (
    CGContextRef c,
    const CGRect *mediaBox
);
To
void CGContextBeginPage (
    CGContextRef _Nullable c,
    const CGRect * _Nullable mediaBox
);

Declaration
From
void CGContextBeginPath (
    CGContextRef c
);
To
void CGContextBeginPath (
    CGContextRef _Nullable c
);

Declaration
From
void CGContextBeginTransparencyLayer (
    CGContextRef context,
    CFDictionaryRef auxiliaryInfo
);
To
void CGContextBeginTransparencyLayer (
    CGContextRef _Nullable c,
    CFDictionaryRef _Nullable auxiliaryInfo
);

Declaration
From
void CGContextBeginTransparencyLayerWithRect (
    CGContextRef context,
    CGRect rect,
    CFDictionaryRef auxiliaryInfo
);
To
void CGContextBeginTransparencyLayerWithRect (
    CGContextRef _Nullable c,
    CGRect rect,
    CFDictionaryRef _Nullable auxInfo
);

Declaration
From
void CGContextClearRect (
    CGContextRef c,
    CGRect rect
);
To
void CGContextClearRect (
    CGContextRef _Nullable c,
    CGRect rect
);

Declaration
From
void CGContextClip (
    CGContextRef c
);
To
void CGContextClip (
    CGContextRef _Nullable c
);

Declaration
From
void CGContextClipToMask (
    CGContextRef c,
    CGRect rect,
    CGImageRef mask
);
To
void CGContextClipToMask (
    CGContextRef _Nullable c,
    CGRect rect,
    CGImageRef _Nullable mask
);

Declaration
From
void CGContextClipToRect (
    CGContextRef c,
    CGRect rect
);
To
void CGContextClipToRect (
    CGContextRef _Nullable c,
    CGRect rect
);

Declaration
From
void CGContextClipToRects (
    CGContextRef c,
    const CGRect rects[],
    size_t count
);
To
void CGContextClipToRects (
    CGContextRef _Nullable c,
    const CGRect * _Nonnull rects,
    size_t count
);

Declaration
From
void CGContextClosePath (
    CGContextRef c
);
To
void CGContextClosePath (
    CGContextRef _Nullable c
);

Declaration
From
void CGContextConcatCTM (
    CGContextRef c,
    CGAffineTransform transform
);
To
void CGContextConcatCTM (
    CGContextRef _Nullable c,
    CGAffineTransform transform
);

Declaration
From
CGPoint CGContextConvertPointToDeviceSpace (
    CGContextRef context,
    CGPoint point
);
To
CGPoint CGContextConvertPointToDeviceSpace (
    CGContextRef _Nullable c,
    CGPoint point
);

Declaration
From
CGPoint CGContextConvertPointToUserSpace (
    CGContextRef context,
    CGPoint point
);
To
CGPoint CGContextConvertPointToUserSpace (
    CGContextRef _Nullable c,
    CGPoint point
);

Declaration
From
CGRect CGContextConvertRectToDeviceSpace (
    CGContextRef context,
    CGRect rect
);
To
CGRect CGContextConvertRectToDeviceSpace (
    CGContextRef _Nullable c,
    CGRect rect
);

Declaration
From
CGRect CGContextConvertRectToUserSpace (
    CGContextRef context,
    CGRect rect
);
To
CGRect CGContextConvertRectToUserSpace (
    CGContextRef _Nullable c,
    CGRect rect
);

Declaration
From
CGSize CGContextConvertSizeToDeviceSpace (
    CGContextRef context,
    CGSize size
);
To
CGSize CGContextConvertSizeToDeviceSpace (
    CGContextRef _Nullable c,
    CGSize size
);

Declaration
From
CGSize CGContextConvertSizeToUserSpace (
    CGContextRef context,
    CGSize size
);
To
CGSize CGContextConvertSizeToUserSpace (
    CGContextRef _Nullable c,
    CGSize size
);

Declaration
From
CGPathRef CGContextCopyPath (
    CGContextRef context
);
To
CGPathRef _Nullable CGContextCopyPath (
    CGContextRef _Nullable c
);

Declaration
From
void CGContextDrawImage (
    CGContextRef c,
    CGRect rect,
    CGImageRef image
);
To
void CGContextDrawImage (
    CGContextRef _Nullable c,
    CGRect rect,
    CGImageRef _Nullable image
);

Declaration
From
void CGContextDrawLinearGradient (
    CGContextRef context,
    CGGradientRef gradient,
    CGPoint startPoint,
    CGPoint endPoint,
    CGGradientDrawingOptions options
);
To
void CGContextDrawLinearGradient (
    CGContextRef _Nullable c,
    CGGradientRef _Nullable gradient,
    CGPoint startPoint,
    CGPoint endPoint,
    CGGradientDrawingOptions options
);

Declaration
From
void CGContextDrawPath (
    CGContextRef c,
    CGPathDrawingMode mode
);
To
void CGContextDrawPath (
    CGContextRef _Nullable c,
    CGPathDrawingMode mode
);

Declaration
From
void CGContextDrawPDFDocument (
    CGContextRef c,
    CGRect rect,
    CGPDFDocumentRef document,
    int page
);
To
void CGContextDrawPDFDocument (
    CGContextRef _Nullable c,
    CGRect rect,
    CGPDFDocumentRef _Nullable document,
    int page
);

Declaration
From
void CGContextDrawPDFPage (
    CGContextRef c,
    CGPDFPageRef page
);
To
void CGContextDrawPDFPage (
    CGContextRef _Nullable c,
    CGPDFPageRef _Nullable page
);

Declaration
From
void CGContextDrawRadialGradient (
    CGContextRef context,
    CGGradientRef gradient,
    CGPoint startCenter,
    CGFloat startRadius,
    CGPoint endCenter,
    CGFloat endRadius,
    CGGradientDrawingOptions options
);
To
void CGContextDrawRadialGradient (
    CGContextRef _Nullable c,
    CGGradientRef _Nullable gradient,
    CGPoint startCenter,
    CGFloat startRadius,
    CGPoint endCenter,
    CGFloat endRadius,
    CGGradientDrawingOptions options
);

Declaration
From
void CGContextDrawShading (
    CGContextRef context,
    CGShadingRef shading
);
To
void CGContextDrawShading (
    CGContextRef _Nullable c,
    CGShadingRef _Nullable shading
);

Declaration
From
void CGContextDrawTiledImage (
    CGContextRef c,
    CGRect rect,
    CGImageRef image
);
To
void CGContextDrawTiledImage (
    CGContextRef _Nullable c,
    CGRect rect,
    CGImageRef _Nullable image
);

Declaration
From
void CGContextEndPage (
    CGContextRef c
);
To
void CGContextEndPage (
    CGContextRef _Nullable c
);

Declaration
From
void CGContextEndTransparencyLayer (
    CGContextRef context
);
To
void CGContextEndTransparencyLayer (
    CGContextRef _Nullable c
);

Declaration
From
void CGContextEOClip (
    CGContextRef c
);
To
void CGContextEOClip (
    CGContextRef _Nullable c
);

Declaration
From
void CGContextEOFillPath (
    CGContextRef c
);
To
void CGContextEOFillPath (
    CGContextRef _Nullable c
);

Declaration
From
void CGContextFillEllipseInRect (
    CGContextRef context,
    CGRect rect
);
To
void CGContextFillEllipseInRect (
    CGContextRef _Nullable c,
    CGRect rect
);

Declaration
From
void CGContextFillPath (
    CGContextRef c
);
To
void CGContextFillPath (
    CGContextRef _Nullable c
);

Declaration
From
void CGContextFillRect (
    CGContextRef c,
    CGRect rect
);
To
void CGContextFillRect (
    CGContextRef _Nullable c,
    CGRect rect
);

Declaration
From
void CGContextFillRects (
    CGContextRef c,
    const CGRect rects[],
    size_t count
);
To
void CGContextFillRects (
    CGContextRef _Nullable c,
    const CGRect * _Nullable rects,
    size_t count
);

Declaration
From
void CGContextFlush (
    CGContextRef c
);
To
void CGContextFlush (
    CGContextRef _Nullable c
);

Declaration
From
CGRect CGContextGetClipBoundingBox (
    CGContextRef c
);
To
CGRect CGContextGetClipBoundingBox (
    CGContextRef _Nullable c
);

Declaration
From
CGAffineTransform CGContextGetCTM (
    CGContextRef c
);
To
CGAffineTransform CGContextGetCTM (
    CGContextRef _Nullable c
);

Declaration
From
CGInterpolationQuality CGContextGetInterpolationQuality (
    CGContextRef context
);
To
CGInterpolationQuality CGContextGetInterpolationQuality (
    CGContextRef _Nullable c
);

Declaration
From
CGRect CGContextGetPathBoundingBox (
    CGContextRef context
);
To
CGRect CGContextGetPathBoundingBox (
    CGContextRef _Nullable c
);

Declaration
From
CGPoint CGContextGetPathCurrentPoint (
    CGContextRef context
);
To
CGPoint CGContextGetPathCurrentPoint (
    CGContextRef _Nullable c
);

Declaration
From
CGAffineTransform CGContextGetTextMatrix (
    CGContextRef c
);
To
CGAffineTransform CGContextGetTextMatrix (
    CGContextRef _Nullable c
);

Declaration
From
CGPoint CGContextGetTextPosition (
    CGContextRef context
);
To
CGPoint CGContextGetTextPosition (
    CGContextRef _Nullable c
);

Declaration
From
CGAffineTransform CGContextGetUserSpaceToDeviceSpaceTransform (
    CGContextRef context
);
To
CGAffineTransform CGContextGetUserSpaceToDeviceSpaceTransform (
    CGContextRef _Nullable c
);

Declaration
From
bool CGContextIsPathEmpty (
    CGContextRef context
);
To
bool CGContextIsPathEmpty (
    CGContextRef _Nullable c
);

Declaration
From
void CGContextMoveToPoint (
    CGContextRef c,
    CGFloat x,
    CGFloat y
);
To
void CGContextMoveToPoint (
    CGContextRef _Nullable c,
    CGFloat x,
    CGFloat y
);

Declaration
From
bool CGContextPathContainsPoint (
    CGContextRef context,
    CGPoint point,
    CGPathDrawingMode mode
);
To
bool CGContextPathContainsPoint (
    CGContextRef _Nullable c,
    CGPoint point,
    CGPathDrawingMode mode
);

Declaration
From
void CGContextRelease (
    CGContextRef c
);
To
void CGContextRelease (
    CGContextRef _Nullable c
);

Declaration
From
void CGContextReplacePathWithStrokedPath (
    CGContextRef c
);
To
void CGContextReplacePathWithStrokedPath (
    CGContextRef _Nullable c
);

Declaration
From
void CGContextRestoreGState (
    CGContextRef c
);
To
void CGContextRestoreGState (
    CGContextRef _Nullable c
);

Declaration
From
CGContextRef CGContextRetain (
    CGContextRef c
);
To
CGContextRef _Nullable CGContextRetain (
    CGContextRef _Nullable c
);

Declaration
From
void CGContextRotateCTM (
    CGContextRef c,
    CGFloat angle
);
To
void CGContextRotateCTM (
    CGContextRef _Nullable c,
    CGFloat angle
);

Declaration
From
void CGContextSaveGState (
    CGContextRef c
);
To
void CGContextSaveGState (
    CGContextRef _Nullable c
);

Declaration
From
void CGContextScaleCTM (
    CGContextRef c,
    CGFloat sx,
    CGFloat sy
);
To
void CGContextScaleCTM (
    CGContextRef _Nullable c,
    CGFloat sx,
    CGFloat sy
);

Declaration
From
void CGContextSelectFont (
    CGContextRef c,
    const char *name,
    CGFloat size,
    CGTextEncoding textEncoding
);
To
void CGContextSelectFont (
    CGContextRef _Nullable c,
    const char * _Nullable name,
    CGFloat size,
    CGTextEncoding textEncoding
);

Declaration
From
void CGContextSetAllowsAntialiasing (
    CGContextRef context,
    bool allowsAntialiasing
);
To
void CGContextSetAllowsAntialiasing (
    CGContextRef _Nullable c,
    bool allowsAntialiasing
);

Declaration
From
void CGContextSetAllowsFontSmoothing (
    CGContextRef context,
    bool allowsFontSmoothing
);
To
void CGContextSetAllowsFontSmoothing (
    CGContextRef _Nullable c,
    bool allowsFontSmoothing
);

Declaration
From
void CGContextSetAllowsFontSubpixelPositioning (
    CGContextRef context,
    bool allowsFontSubpixelPositioning
);
To
void CGContextSetAllowsFontSubpixelPositioning (
    CGContextRef _Nullable c,
    bool allowsFontSubpixelPositioning
);

Declaration
From
void CGContextSetAllowsFontSubpixelQuantization (
    CGContextRef context,
    bool allowsFontSubpixelQuantization
);
To
void CGContextSetAllowsFontSubpixelQuantization (
    CGContextRef _Nullable c,
    bool allowsFontSubpixelQuantization
);

Declaration
From
void CGContextSetAlpha (
    CGContextRef c,
    CGFloat alpha
);
To
void CGContextSetAlpha (
    CGContextRef _Nullable c,
    CGFloat alpha
);

Declaration
From
void CGContextSetBlendMode (
    CGContextRef context,
    CGBlendMode mode
);
To
void CGContextSetBlendMode (
    CGContextRef _Nullable c,
    CGBlendMode mode
);

Declaration
From
void CGContextSetCharacterSpacing (
    CGContextRef context,
    CGFloat spacing
);
To
void CGContextSetCharacterSpacing (
    CGContextRef _Nullable c,
    CGFloat spacing
);

Declaration
From
void CGContextSetCMYKFillColor (
    CGContextRef context,
    CGFloat cyan,
    CGFloat magenta,
    CGFloat yellow,
    CGFloat black,
    CGFloat alpha
);
To
void CGContextSetCMYKFillColor (
    CGContextRef _Nullable c,
    CGFloat cyan,
    CGFloat magenta,
    CGFloat yellow,
    CGFloat black,
    CGFloat alpha
);

Declaration
From
void CGContextSetCMYKStrokeColor (
    CGContextRef context,
    CGFloat cyan,
    CGFloat magenta,
    CGFloat yellow,
    CGFloat black,
    CGFloat alpha
);
To
void CGContextSetCMYKStrokeColor (
    CGContextRef _Nullable c,
    CGFloat cyan,
    CGFloat magenta,
    CGFloat yellow,
    CGFloat black,
    CGFloat alpha
);

Declaration
From
void CGContextSetFillColor (
    CGContextRef context,
    const CGFloat components[]
);
To
void CGContextSetFillColor (
    CGContextRef _Nullable c,
    const CGFloat * _Nullable components
);

Declaration
From
void CGContextSetFillColorSpace (
    CGContextRef context,
    CGColorSpaceRef space
);
To
void CGContextSetFillColorSpace (
    CGContextRef _Nullable c,
    CGColorSpaceRef _Nullable space
);

Declaration
From
void CGContextSetFillColorWithColor (
    CGContextRef c,
    CGColorRef color
);
To
void CGContextSetFillColorWithColor (
    CGContextRef _Nullable c,
    CGColorRef _Nullable color
);

Declaration
From
void CGContextSetFillPattern (
    CGContextRef context,
    CGPatternRef pattern,
    const CGFloat components[]
);
To
void CGContextSetFillPattern (
    CGContextRef _Nullable c,
    CGPatternRef _Nullable pattern,
    const CGFloat * _Nullable components
);

Declaration
From
void CGContextSetFlatness (
    CGContextRef c,
    CGFloat flatness
);
To
void CGContextSetFlatness (
    CGContextRef _Nullable c,
    CGFloat flatness
);

Declaration
From
void CGContextSetFont (
    CGContextRef c,
    CGFontRef font
);
To
void CGContextSetFont (
    CGContextRef _Nullable c,
    CGFontRef _Nullable font
);

Declaration
From
void CGContextSetFontSize (
    CGContextRef c,
    CGFloat size
);
To
void CGContextSetFontSize (
    CGContextRef _Nullable c,
    CGFloat size
);

Declaration
From
void CGContextSetGrayFillColor (
    CGContextRef context,
    CGFloat gray,
    CGFloat alpha
);
To
void CGContextSetGrayFillColor (
    CGContextRef _Nullable c,
    CGFloat gray,
    CGFloat alpha
);

Declaration
From
void CGContextSetGrayStrokeColor (
    CGContextRef context,
    CGFloat gray,
    CGFloat alpha
);
To
void CGContextSetGrayStrokeColor (
    CGContextRef _Nullable c,
    CGFloat gray,
    CGFloat alpha
);

Declaration
From
void CGContextSetInterpolationQuality (
    CGContextRef context,
    CGInterpolationQuality quality
);
To
void CGContextSetInterpolationQuality (
    CGContextRef _Nullable c,
    CGInterpolationQuality quality
);

Declaration
From
void CGContextSetLineCap (
    CGContextRef c,
    CGLineCap cap
);
To
void CGContextSetLineCap (
    CGContextRef _Nullable c,
    CGLineCap cap
);

Declaration
From
void CGContextSetLineDash (
    CGContextRef c,
    CGFloat phase,
    const CGFloat lengths[],
    size_t count
);
To
void CGContextSetLineDash (
    CGContextRef _Nullable c,
    CGFloat phase,
    const CGFloat * _Nullable lengths,
    size_t count
);

Declaration
From
void CGContextSetLineJoin (
    CGContextRef c,
    CGLineJoin join
);
To
void CGContextSetLineJoin (
    CGContextRef _Nullable c,
    CGLineJoin join
);

Declaration
From
void CGContextSetLineWidth (
    CGContextRef c,
    CGFloat width
);
To
void CGContextSetLineWidth (
    CGContextRef _Nullable c,
    CGFloat width
);

Declaration
From
void CGContextSetMiterLimit (
    CGContextRef c,
    CGFloat limit
);
To
void CGContextSetMiterLimit (
    CGContextRef _Nullable c,
    CGFloat limit
);

Declaration
From
void CGContextSetPatternPhase (
    CGContextRef context,
    CGSize phase
);
To
void CGContextSetPatternPhase (
    CGContextRef _Nullable c,
    CGSize phase
);

Declaration
From
void CGContextSetRenderingIntent (
    CGContextRef context,
    CGColorRenderingIntent intent
);
To
void CGContextSetRenderingIntent (
    CGContextRef _Nullable c,
    CGColorRenderingIntent intent
);

Declaration
From
void CGContextSetRGBFillColor (
    CGContextRef context,
    CGFloat red,
    CGFloat green,
    CGFloat blue,
    CGFloat alpha
);
To
void CGContextSetRGBFillColor (
    CGContextRef _Nullable c,
    CGFloat red,
    CGFloat green,
    CGFloat blue,
    CGFloat alpha
);

Declaration
From
void CGContextSetRGBStrokeColor (
    CGContextRef context,
    CGFloat red,
    CGFloat green,
    CGFloat blue,
    CGFloat alpha
);
To
void CGContextSetRGBStrokeColor (
    CGContextRef _Nullable c,
    CGFloat red,
    CGFloat green,
    CGFloat blue,
    CGFloat alpha
);

Declaration
From
void CGContextSetShadow (
    CGContextRef context,
    CGSize offset,
    CGFloat blur
);
To
void CGContextSetShadow (
    CGContextRef _Nullable c,
    CGSize offset,
    CGFloat blur
);

Declaration
From
void CGContextSetShadowWithColor (
    CGContextRef context,
    CGSize offset,
    CGFloat blur,
    CGColorRef color
);
To
void CGContextSetShadowWithColor (
    CGContextRef _Nullable c,
    CGSize offset,
    CGFloat blur,
    CGColorRef _Nullable color
);

Declaration
From
void CGContextSetShouldAntialias (
    CGContextRef context,
    bool shouldAntialias
);
To
void CGContextSetShouldAntialias (
    CGContextRef _Nullable c,
    bool shouldAntialias
);

Declaration
From
void CGContextSetShouldSmoothFonts (
    CGContextRef context,
    bool shouldSmoothFonts
);
To
void CGContextSetShouldSmoothFonts (
    CGContextRef _Nullable c,
    bool shouldSmoothFonts
);

Declaration
From
void CGContextSetShouldSubpixelPositionFonts (
    CGContextRef context,
    bool shouldSubpixelPositionFonts
);
To
void CGContextSetShouldSubpixelPositionFonts (
    CGContextRef _Nullable c,
    bool shouldSubpixelPositionFonts
);

Declaration
From
void CGContextSetShouldSubpixelQuantizeFonts (
    CGContextRef context,
    bool shouldSubpixelQuantizeFonts
);
To
void CGContextSetShouldSubpixelQuantizeFonts (
    CGContextRef _Nullable c,
    bool shouldSubpixelQuantizeFonts
);

Declaration
From
void CGContextSetStrokeColor (
    CGContextRef context,
    const CGFloat components[]
);
To
void CGContextSetStrokeColor (
    CGContextRef _Nullable c,
    const CGFloat * _Nullable components
);

Declaration
From
void CGContextSetStrokeColorSpace (
    CGContextRef context,
    CGColorSpaceRef space
);
To
void CGContextSetStrokeColorSpace (
    CGContextRef _Nullable c,
    CGColorSpaceRef _Nullable space
);

Declaration
From
void CGContextSetStrokeColorWithColor (
    CGContextRef c,
    CGColorRef color
);
To
void CGContextSetStrokeColorWithColor (
    CGContextRef _Nullable c,
    CGColorRef _Nullable color
);

Declaration
From
void CGContextSetStrokePattern (
    CGContextRef context,
    CGPatternRef pattern,
    const CGFloat components[]
);
To
void CGContextSetStrokePattern (
    CGContextRef _Nullable c,
    CGPatternRef _Nullable pattern,
    const CGFloat * _Nullable components
);

Declaration
From
void CGContextSetTextDrawingMode (
    CGContextRef c,
    CGTextDrawingMode mode
);
To
void CGContextSetTextDrawingMode (
    CGContextRef _Nullable c,
    CGTextDrawingMode mode
);

Declaration
From
void CGContextSetTextMatrix (
    CGContextRef c,
    CGAffineTransform t
);
To
void CGContextSetTextMatrix (
    CGContextRef _Nullable c,
    CGAffineTransform t
);

Declaration
From
void CGContextSetTextPosition (
    CGContextRef c,
    CGFloat x,
    CGFloat y
);
To
void CGContextSetTextPosition (
    CGContextRef _Nullable c,
    CGFloat x,
    CGFloat y
);

Declaration
From
void CGContextShowGlyphs (
    CGContextRef c,
    const CGGlyph g[],
    size_t count
);
To
void CGContextShowGlyphs (
    CGContextRef _Nullable c,
    const CGGlyph * _Nullable g,
    size_t count
);

Declaration
From
void CGContextShowGlyphsAtPoint (
    CGContextRef context,
    CGFloat x,
    CGFloat y,
    const CGGlyph glyphs[],
    size_t count
);
To
void CGContextShowGlyphsAtPoint (
    CGContextRef _Nullable c,
    CGFloat x,
    CGFloat y,
    const CGGlyph * _Nullable glyphs,
    size_t count
);

Declaration
From
void CGContextShowGlyphsAtPositions (
    CGContextRef context,
    const CGGlyph glyphs[],
    const CGPoint positions[],
    size_t count
);
To
void CGContextShowGlyphsAtPositions (
    CGContextRef _Nullable c,
    const CGGlyph * _Nullable glyphs,
    const CGPoint * _Nullable Lpositions,
    size_t count
);

Declaration
From
void CGContextShowGlyphsWithAdvances (
    CGContextRef context,
    const CGGlyph glyphs[],
    const CGSize advances[],
    size_t count
);
To
void CGContextShowGlyphsWithAdvances (
    CGContextRef _Nullable c,
    const CGGlyph * _Nullable glyphs,
    const CGSize * _Nullable advances,
    size_t count
);

Declaration
From
void CGContextShowText (
    CGContextRef c,
    const char *string,
    size_t length
);
To
void CGContextShowText (
    CGContextRef _Nullable c,
    const char * _Nullable string,
    size_t length
);

Declaration
From
void CGContextShowTextAtPoint (
    CGContextRef c,
    CGFloat x,
    CGFloat y,
    const char *string,
    size_t length
);
To
void CGContextShowTextAtPoint (
    CGContextRef _Nullable c,
    CGFloat x,
    CGFloat y,
    const char * _Nullable string,
    size_t length
);

Declaration
From
void CGContextStrokeEllipseInRect (
    CGContextRef context,
    CGRect rect
);
To
void CGContextStrokeEllipseInRect (
    CGContextRef _Nullable c,
    CGRect rect
);

Declaration
From
void CGContextStrokeLineSegments (
    CGContextRef c,
    const CGPoint points[],
    size_t count
);
To
void CGContextStrokeLineSegments (
    CGContextRef _Nullable c,
    const CGPoint * _Nullable points,
    size_t count
);

Declaration
From
void CGContextStrokePath (
    CGContextRef c
);
To
void CGContextStrokePath (
    CGContextRef _Nullable c
);

Declaration
From
void CGContextStrokeRect (
    CGContextRef c,
    CGRect rect
);
To
void CGContextStrokeRect (
    CGContextRef _Nullable c,
    CGRect rect
);

Declaration
From
void CGContextStrokeRectWithWidth (
    CGContextRef c,
    CGRect rect,
    CGFloat width
);
To
void CGContextStrokeRectWithWidth (
    CGContextRef _Nullable c,
    CGRect rect,
    CGFloat width
);

Declaration
From
void CGContextSynchronize (
    CGContextRef c
);
To
void CGContextSynchronize (
    CGContextRef _Nullable c
);

Declaration
From
void CGContextTranslateCTM (
    CGContextRef c,
    CGFloat tx,
    CGFloat ty
);
To
void CGContextTranslateCTM (
    CGContextRef _Nullable c,
    CGFloat tx,
    CGFloat ty
);

Deprecation
FromOS X 10.9
To--

Deprecation
From--
ToOS X 10.9

Deprecation
From--
ToOS X 10.9

CGDataConsumer.h

Declaration
From
CGDataConsumerRef CGDataConsumerCreate (
    void *info,
    const CGDataConsumerCallbacks *callbacks
);
To
CGDataConsumerRef _Nullable CGDataConsumerCreate (
    void * _Nullable info,
    const CGDataConsumerCallbacks * _Nullable cbks
);

Declaration
From
CGDataConsumerRef CGDataConsumerCreateWithCFData (
    CFMutableDataRef data
);
To
CGDataConsumerRef _Nullable CGDataConsumerCreateWithCFData (
    CFMutableDataRef _Nullable data
);

Declaration
From
CGDataConsumerRef CGDataConsumerCreateWithURL (
    CFURLRef url
);
To
CGDataConsumerRef _Nullable CGDataConsumerCreateWithURL (
    CFURLRef _Nullable url
);

Declaration
From
void CGDataConsumerRelease (
    CGDataConsumerRef consumer
);
To
void CGDataConsumerRelease (
    CGDataConsumerRef _Nullable consumer
);

Declaration
From
CGDataConsumerRef CGDataConsumerRetain (
    CGDataConsumerRef consumer
);
To
CGDataConsumerRef _Nullable CGDataConsumerRetain (
    CGDataConsumerRef _Nullable consumer
);

CGDataProvider.h

Declaration
From
CFDataRef CGDataProviderCopyData (
    CGDataProviderRef provider
);
To
CFDataRef _Nullable CGDataProviderCopyData (
    CGDataProviderRef _Nullable provider
);

Declaration
From
CGDataProviderRef CGDataProviderCreateDirect (
    void *info,
    off_t size,
    const CGDataProviderDirectCallbacks *callbacks
);
To
CGDataProviderRef _Nullable CGDataProviderCreateDirect (
    void * _Nullable info,
    off_t size,
    const CGDataProviderDirectCallbacks * _Nullable callbacks
);

Declaration
From
CGDataProviderRef CGDataProviderCreateSequential (
    void *info,
    const CGDataProviderSequentialCallbacks *callbacks
);
To
CGDataProviderRef _Nullable CGDataProviderCreateSequential (
    void * _Nullable info,
    const CGDataProviderSequentialCallbacks * _Nullable callbacks
);

Declaration
From
CGDataProviderRef CGDataProviderCreateWithCFData (
    CFDataRef data
);
To
CGDataProviderRef _Nullable CGDataProviderCreateWithCFData (
    CFDataRef _Nullable data
);

Declaration
From
CGDataProviderRef CGDataProviderCreateWithData (
    void *info,
    const void *data,
    size_t size,
    CGDataProviderReleaseDataCallback releaseData
);
To
CGDataProviderRef _Nullable CGDataProviderCreateWithData (
    void * _Nullable info,
    const void * _Nullable data,
    size_t size,
    CGDataProviderReleaseDataCallback _Nullable releaseData
);

Declaration
From
CGDataProviderRef CGDataProviderCreateWithFilename (
    const char *filename
);
To
CGDataProviderRef _Nullable CGDataProviderCreateWithFilename (
    const char * _Nullable filename
);

Declaration
From
CGDataProviderRef CGDataProviderCreateWithURL (
    CFURLRef url
);
To
CGDataProviderRef _Nullable CGDataProviderCreateWithURL (
    CFURLRef _Nullable url
);

Declaration
From
void CGDataProviderRelease (
    CGDataProviderRef provider
);
To
void CGDataProviderRelease (
    CGDataProviderRef _Nullable provider
);

Declaration
From
CGDataProviderRef CGDataProviderRetain (
    CGDataProviderRef provider
);
To
CGDataProviderRef _Nullable CGDataProviderRetain (
    CGDataProviderRef _Nullable provider
);

CGDirectDisplay.h

Declaration
From
CFArrayRef CGDisplayAvailableModes (
    CGDirectDisplayID display
);
To
CFArrayRef _Nullable CGDisplayAvailableModes (
    CGDirectDisplayID dsp
);

Declaration
From
CFDictionaryRef CGDisplayBestModeForParameters (
    CGDirectDisplayID display,
    size_t bitsPerPixel,
    size_t width,
    size_t height,
    boolean_t *exactMatch
);
To
CFDictionaryRef _Nullable CGDisplayBestModeForParameters (
    CGDirectDisplayID display,
    size_t bitsPerPixel,
    size_t width,
    size_t height,
    boolean_t * _Nullable exactMatch
);

Declaration
From
CFDictionaryRef CGDisplayBestModeForParametersAndRefreshRate (
    CGDirectDisplayID display,
    size_t bitsPerPixel,
    size_t width,
    size_t height,
    CGRefreshRate refreshRate,
    boolean_t *exactMatch
);
To
CFDictionaryRef _Nullable CGDisplayBestModeForParametersAndRefreshRate (
    CGDirectDisplayID display,
    size_t bitsPerPixel,
    size_t width,
    size_t height,
    CGRefreshRate refreshRate,
    boolean_t * _Nullable exactMatch
);

Declaration
From
CFArrayRef CGDisplayCopyAllDisplayModes (
    CGDirectDisplayID display,
    CFDictionaryRef options
);
To
CFArrayRef _Nullable CGDisplayCopyAllDisplayModes (
    CGDirectDisplayID display,
    CFDictionaryRef _Nullable options
);

Declaration
From
CGDisplayModeRef CGDisplayCopyDisplayMode (
    CGDirectDisplayID display
);
To
CGDisplayModeRef _Nullable CGDisplayCopyDisplayMode (
    CGDirectDisplayID display
);

Declaration
From
CGImageRef CGDisplayCreateImage (
    CGDirectDisplayID displayID
);
To
CGImageRef _Nullable CGDisplayCreateImage (
    CGDirectDisplayID displayID
);

Declaration
From
CGImageRef CGDisplayCreateImageForRect (
    CGDirectDisplayID display,
    CGRect rect
);
To
CGImageRef _Nullable CGDisplayCreateImageForRect (
    CGDirectDisplayID display,
    CGRect rect
);

Declaration
From
CFDictionaryRef CGDisplayCurrentMode (
    CGDirectDisplayID display
);
To
CFDictionaryRef _Nullable CGDisplayCurrentMode (
    CGDirectDisplayID display
);

Declaration
From
CGContextRef CGDisplayGetDrawingContext (
    CGDirectDisplayID display
);
To
CGContextRef _Nullable CGDisplayGetDrawingContext (
    CGDirectDisplayID display
);

DeclarationDeprecation
From
CFStringRef CGDisplayModeCopyPixelEncoding (
    CGDisplayModeRef mode
);
--
To
CFStringRef _Nullable CGDisplayModeCopyPixelEncoding (
    CGDisplayModeRef _Nullable mode
);
OS X 10.11

Declaration
From
size_t CGDisplayModeGetHeight (
    CGDisplayModeRef mode
);
To
size_t CGDisplayModeGetHeight (
    CGDisplayModeRef _Nullable mode
);

Declaration
From
int32_t CGDisplayModeGetIODisplayModeID (
    CGDisplayModeRef mode
);
To
int32_t CGDisplayModeGetIODisplayModeID (
    CGDisplayModeRef _Nullable mode
);

Declaration
From
uint32_t CGDisplayModeGetIOFlags (
    CGDisplayModeRef mode
);
To
uint32_t CGDisplayModeGetIOFlags (
    CGDisplayModeRef _Nullable mode
);

Declaration
From
size_t CGDisplayModeGetPixelHeight (
    CGDisplayModeRef mode
);
To
size_t CGDisplayModeGetPixelHeight (
    CGDisplayModeRef _Nullable mode
);

Declaration
From
size_t CGDisplayModeGetPixelWidth (
    CGDisplayModeRef mode
);
To
size_t CGDisplayModeGetPixelWidth (
    CGDisplayModeRef _Nullable mode
);

Declaration
From
double CGDisplayModeGetRefreshRate (
    CGDisplayModeRef mode
);
To
double CGDisplayModeGetRefreshRate (
    CGDisplayModeRef _Nullable mode
);

Declaration
From
size_t CGDisplayModeGetWidth (
    CGDisplayModeRef mode
);
To
size_t CGDisplayModeGetWidth (
    CGDisplayModeRef _Nullable mode
);

Declaration
From
bool CGDisplayModeIsUsableForDesktopGUI (
    CGDisplayModeRef mode
);
To
bool CGDisplayModeIsUsableForDesktopGUI (
    CGDisplayModeRef _Nullable mode
);

Declaration
From
void CGDisplayModeRelease (
    CGDisplayModeRef mode
);
To
void CGDisplayModeRelease (
    CGDisplayModeRef _Nullable mode
);

Declaration
From
CGDisplayModeRef CGDisplayModeRetain (
    CGDisplayModeRef mode
);
To
CGDisplayModeRef _Nullable CGDisplayModeRetain (
    CGDisplayModeRef _Nullable mode
);

Declaration
From
CGError CGDisplaySetDisplayMode (
    CGDirectDisplayID display,
    CGDisplayModeRef mode,
    CFDictionaryRef options
);
To
CGError CGDisplaySetDisplayMode (
    CGDirectDisplayID display,
    CGDisplayModeRef _Nullable mode,
    CFDictionaryRef _Nullable options
);

Declaration
From
CGError CGDisplaySwitchToMode (
    CGDirectDisplayID display,
    CFDictionaryRef mode
);
To
CGError CGDisplaySwitchToMode (
    CGDirectDisplayID display,
    CFDictionaryRef _Nullable mode
);

Declaration
From
CGError CGGetActiveDisplayList (
    uint32_t maxDisplays,
    CGDirectDisplayID *activeDisplays,
    uint32_t *displayCount
);
To
CGError CGGetActiveDisplayList (
    uint32_t maxDisplays,
    CGDirectDisplayID * _Nullable activeDisplays,
    uint32_t * _Nullable displayCount
);

Declaration
From
CGError CGGetDisplaysWithOpenGLDisplayMask (
    CGOpenGLDisplayMask mask,
    uint32_t maxDisplays,
    CGDirectDisplayID *displays,
    uint32_t *matchingDisplayCount
);
To
CGError CGGetDisplaysWithOpenGLDisplayMask (
    CGOpenGLDisplayMask mask,
    uint32_t maxDisplays,
    CGDirectDisplayID * _Nullable displays,
    uint32_t * _Nullable matchingDisplayCount
);

Declaration
From
CGError CGGetDisplaysWithPoint (
    CGPoint point,
    uint32_t maxDisplays,
    CGDirectDisplayID *displays,
    uint32_t *matchingDisplayCount
);
To
CGError CGGetDisplaysWithPoint (
    CGPoint point,
    uint32_t maxDisplays,
    CGDirectDisplayID * _Nullable displays,
    uint32_t * _Nullable matchingDisplayCount
);

Declaration
From
CGError CGGetDisplaysWithRect (
    CGRect rect,
    uint32_t maxDisplays,
    CGDirectDisplayID *displays,
    uint32_t *matchingDisplayCount
);
To
CGError CGGetDisplaysWithRect (
    CGRect rect,
    uint32_t maxDisplays,
    CGDirectDisplayID * _Nullable displays,
    uint32_t * _Nullable matchingDisplayCount
);

Declaration
From
CGError CGGetDisplayTransferByFormula (
    CGDirectDisplayID display,
    CGGammaValue *redMin,
    CGGammaValue *redMax,
    CGGammaValue *redGamma,
    CGGammaValue *greenMin,
    CGGammaValue *greenMax,
    CGGammaValue *greenGamma,
    CGGammaValue *blueMin,
    CGGammaValue *blueMax,
    CGGammaValue *blueGamma
);
To
CGError CGGetDisplayTransferByFormula (
    CGDirectDisplayID display,
    CGGammaValue * _Nullable redMin,
    CGGammaValue * _Nullable redMax,
    CGGammaValue * _Nullable redGamma,
    CGGammaValue * _Nullable greenMin,
    CGGammaValue * _Nullable greenMax,
    CGGammaValue * _Nullable greenGamma,
    CGGammaValue * _Nullable blueMin,
    CGGammaValue * _Nullable blueMax,
    CGGammaValue * _Nullable blueGamma
);

Declaration
From
CGError CGGetDisplayTransferByTable (
    CGDirectDisplayID display,
    uint32_t capacity,
    CGGammaValue *redTable,
    CGGammaValue *greenTable,
    CGGammaValue *blueTable,
    uint32_t *sampleCount
);
To
CGError CGGetDisplayTransferByTable (
    CGDirectDisplayID display,
    uint32_t capacity,
    CGGammaValue * _Nullable redTable,
    CGGammaValue * _Nullable greenTable,
    CGGammaValue * _Nullable blueTable,
    uint32_t * _Nullable sampleCount
);

Declaration
From
void CGGetLastMouseDelta (
    int32_t *deltaX,
    int32_t *deltaY
);
To
void CGGetLastMouseDelta (
    int32_t * _Nullable deltaX,
    int32_t * _Nullable deltaY
);

Declaration
From
CGError CGGetOnlineDisplayList (
    uint32_t maxDisplays,
    CGDirectDisplayID *onlineDisplays,
    uint32_t *displayCount
);
To
CGError CGGetOnlineDisplayList (
    uint32_t maxDisplays,
    CGDirectDisplayID * _Nullable onlineDisplays,
    uint32_t * _Nullable displayCount
);

Declaration
From
CGError CGSetDisplayTransferByByteTable (
    CGDirectDisplayID display,
    uint32_t tableSize,
    const uint8_t *redTable,
    const uint8_t *greenTable,
    const uint8_t *blueTable
);
To
CGError CGSetDisplayTransferByByteTable (
    CGDirectDisplayID display,
    uint32_t tableSize,
    const uint8_t * _Nonnull redTable,
    const uint8_t * _Nonnull greenTable,
    const uint8_t * _Nonnull blueTable
);

Declaration
From
CGError CGSetDisplayTransferByTable (
    CGDirectDisplayID display,
    uint32_t tableSize,
    const CGGammaValue *redTable,
    const CGGammaValue *greenTable,
    const CGGammaValue *blueTable
);
To
CGError CGSetDisplayTransferByTable (
    CGDirectDisplayID display,
    uint32_t tableSize,
    const CGGammaValue * _Nullable redTable,
    const CGGammaValue * _Nullable greenTable,
    const CGGammaValue * _Nullable blueTable
);

CGDirectDisplayMetal.h (Added)

CGDisplayConfiguration.h

Declaration
From
CGError CGBeginDisplayConfiguration (
    CGDisplayConfigRef *config
);
To
CGError CGBeginDisplayConfiguration (
    CGDisplayConfigRef  _Nullable * _Nullable config
);

Declaration
From
CGError CGCancelDisplayConfiguration (
    CGDisplayConfigRef config
);
To
CGError CGCancelDisplayConfiguration (
    CGDisplayConfigRef _Nullable config
);

Declaration
From
CGError CGCompleteDisplayConfiguration (
    CGDisplayConfigRef config,
    CGConfigureOption option
);
To
CGError CGCompleteDisplayConfiguration (
    CGDisplayConfigRef _Nullable config,
    CGConfigureOption option
);

Declaration
From
CGError CGConfigureDisplayMirrorOfDisplay (
    CGDisplayConfigRef config,
    CGDirectDisplayID display,
    CGDirectDisplayID master
);
To
CGError CGConfigureDisplayMirrorOfDisplay (
    CGDisplayConfigRef _Nullable config,
    CGDirectDisplayID display,
    CGDirectDisplayID master
);

Declaration
From
CGError CGConfigureDisplayMode (
    CGDisplayConfigRef config,
    CGDirectDisplayID display,
    CFDictionaryRef mode
);
To
CGError CGConfigureDisplayMode (
    CGDisplayConfigRef _Nullable config,
    CGDirectDisplayID display,
    CFDictionaryRef _Nullable mode
);

Declaration
From
CGError CGConfigureDisplayOrigin (
    CGDisplayConfigRef config,
    CGDirectDisplayID display,
    int32_t x,
    int32_t y
);
To
CGError CGConfigureDisplayOrigin (
    CGDisplayConfigRef _Nullable config,
    CGDirectDisplayID display,
    int32_t x,
    int32_t y
);

Declaration
From
CGError CGConfigureDisplayStereoOperation (
    CGDisplayConfigRef config,
    CGDirectDisplayID display,
    boolean_t stereo,
    boolean_t forceBlueLine
);
To
CGError CGConfigureDisplayStereoOperation (
    CGDisplayConfigRef _Nullable config,
    CGDirectDisplayID display,
    boolean_t stereo,
    boolean_t forceBlueLine
);

Declaration
From
CGError CGConfigureDisplayWithDisplayMode (
    CGDisplayConfigRef config,
    CGDirectDisplayID display,
    CGDisplayModeRef mode,
    CFDictionaryRef options
);
To
CGError CGConfigureDisplayWithDisplayMode (
    CGDisplayConfigRef _Nullable config,
    CGDirectDisplayID display,
    CGDisplayModeRef _Nullable mode,
    CFDictionaryRef _Nullable options
);

Declaration
From
CGColorSpaceRef CGDisplayCopyColorSpace (
    CGDirectDisplayID display
);
To
CGColorSpaceRef _Nonnull CGDisplayCopyColorSpace (
    CGDirectDisplayID display
);

Declaration
From
CGError CGDisplayRegisterReconfigurationCallback (
    CGDisplayReconfigurationCallBack callback,
    void *userInfo
);
To
CGError CGDisplayRegisterReconfigurationCallback (
    CGDisplayReconfigurationCallBack _Nullable callback,
    void * _Nullable userInfo
);

Declaration
From
CGError CGDisplayRemoveReconfigurationCallback (
    CGDisplayReconfigurationCallBack callback,
    void *userInfo
);
To
CGError CGDisplayRemoveReconfigurationCallback (
    CGDisplayReconfigurationCallBack _Nullable callback,
    void * _Nullable userInfo
);

CGDisplayFade.h

Declaration
From
CGError CGAcquireDisplayFadeReservation (
    CGDisplayReservationInterval seconds,
    CGDisplayFadeReservationToken *token
);
To
CGError CGAcquireDisplayFadeReservation (
    CGDisplayReservationInterval seconds,
    CGDisplayFadeReservationToken * _Nullable token
);

Declaration
From
CGError CGConfigureDisplayFadeEffect (
    CGDisplayConfigRef config,
    CGDisplayFadeInterval fadeOutSeconds,
    CGDisplayFadeInterval fadeInSeconds,
    float fadeRed,
    float fadeGreen,
    float fadeBlue
);
To
CGError CGConfigureDisplayFadeEffect (
    CGDisplayConfigRef _Nullable config,
    CGDisplayFadeInterval fadeOutSeconds,
    CGDisplayFadeInterval fadeInSeconds,
    float fadeRed,
    float fadeGreen,
    float fadeBlue
);

CGDisplayStream.h

Declaration
From
CGDisplayStreamRef CGDisplayStreamCreate (
    CGDirectDisplayID display,
    size_t outputWidth,
    size_t outputHeight,
    int32_t pixelFormat,
    CFDictionaryRef properties,
    CGDisplayStreamFrameAvailableHandler handler
);
To
CGDisplayStreamRef _Nullable CGDisplayStreamCreate (
    CGDirectDisplayID display,
    size_t outputWidth,
    size_t outputHeight,
    int32_t pixelFormat,
    CFDictionaryRef _Nullable properties,
    CGDisplayStreamFrameAvailableHandler _Nullable handler
);

Declaration
From
CGDisplayStreamRef CGDisplayStreamCreateWithDispatchQueue (
    CGDirectDisplayID display,
    size_t outputWidth,
    size_t outputHeight,
    int32_t pixelFormat,
    CFDictionaryRef properties,
    dispatch_queue_t queue,
    CGDisplayStreamFrameAvailableHandler handler
);
To
CGDisplayStreamRef _Nullable CGDisplayStreamCreateWithDispatchQueue (
    CGDirectDisplayID display,
    size_t outputWidth,
    size_t outputHeight,
    int32_t pixelFormat,
    CFDictionaryRef _Nullable properties,
    dispatch_queue_t _Nonnull queue,
    CGDisplayStreamFrameAvailableHandler _Nullable handler
);

Declaration
From
CFRunLoopSourceRef CGDisplayStreamGetRunLoopSource (
    CGDisplayStreamRef displayStream
);
To
CFRunLoopSourceRef _Nullable CGDisplayStreamGetRunLoopSource (
    CGDisplayStreamRef _Nullable displayStream
);

Declaration
From
CGError CGDisplayStreamStart (
    CGDisplayStreamRef displayStream
);
To
CGError CGDisplayStreamStart (
    CGDisplayStreamRef _Nullable displayStream
);

Declaration
From
CGError CGDisplayStreamStop (
    CGDisplayStreamRef displayStream
);
To
CGError CGDisplayStreamStop (
    CGDisplayStreamRef _Nullable displayStream
);

Declaration
From
CGDisplayStreamUpdateRef CGDisplayStreamUpdateCreateMergedUpdate (
    CGDisplayStreamUpdateRef firstUpdate,
    CGDisplayStreamUpdateRef secondUpdate
);
To
CGDisplayStreamUpdateRef _Nullable CGDisplayStreamUpdateCreateMergedUpdate (
    CGDisplayStreamUpdateRef _Nullable firstUpdate,
    CGDisplayStreamUpdateRef _Nullable secondUpdate
);

Declaration
From
size_t CGDisplayStreamUpdateGetDropCount (
    CGDisplayStreamUpdateRef updateRef
);
To
size_t CGDisplayStreamUpdateGetDropCount (
    CGDisplayStreamUpdateRef _Nullable updateRef
);

Declaration
From
void CGDisplayStreamUpdateGetMovedRectsDelta (
    CGDisplayStreamUpdateRef updateRef,
    CGFloat *dx,
    CGFloat *dy
);
To
void CGDisplayStreamUpdateGetMovedRectsDelta (
    CGDisplayStreamUpdateRef _Nullable updateRef,
    CGFloat * _Nonnull dx,
    CGFloat * _Nonnull dy
);

Declaration
From
const CGRect * CGDisplayStreamUpdateGetRects (
    CGDisplayStreamUpdateRef updateRef,
    CGDisplayStreamUpdateRectType rectType,
    size_t *rectCount
);
To
const CGRect * _Nullable CGDisplayStreamUpdateGetRects (
    CGDisplayStreamUpdateRef _Nullable updateRef,
    CGDisplayStreamUpdateRectType rectType,
    size_t * _Nonnull rectCount
);

CGEvent.h

Declaration
From
CGEventRef CGEventCreate (
    CGEventSourceRef source
);
To
CGEventRef _Nullable CGEventCreate (
    CGEventSourceRef _Nullable source
);

Declaration
From
CGEventRef CGEventCreateCopy (
    CGEventRef event
);
To
CGEventRef _Nullable CGEventCreateCopy (
    CGEventRef _Nullable event
);

Declaration
From
CFDataRef CGEventCreateData (
    CFAllocatorRef allocator,
    CGEventRef event
);
To
CFDataRef _Nullable CGEventCreateData (
    CFAllocatorRef _Nullable allocator,
    CGEventRef _Nullable event
);

Declaration
From
CGEventRef CGEventCreateFromData (
    CFAllocatorRef allocator,
    CFDataRef data
);
To
CGEventRef _Nullable CGEventCreateFromData (
    CFAllocatorRef _Nullable allocator,
    CFDataRef _Nullable data
);

Declaration
From
CGEventRef CGEventCreateKeyboardEvent (
    CGEventSourceRef source,
    CGKeyCode virtualKey,
    bool keyDown
);
To
CGEventRef _Nullable CGEventCreateKeyboardEvent (
    CGEventSourceRef _Nullable source,
    CGKeyCode virtualKey,
    bool keyDown
);

Declaration
From
CGEventRef CGEventCreateMouseEvent (
    CGEventSourceRef source,
    CGEventType mouseType,
    CGPoint mouseCursorPosition,
    CGMouseButton mouseButton
);
To
CGEventRef _Nullable CGEventCreateMouseEvent (
    CGEventSourceRef _Nullable source,
    CGEventType mouseType,
    CGPoint mouseCursorPosition,
    CGMouseButton mouseButton
);

Declaration
From
CGEventRef CGEventCreateScrollWheelEvent (
    CGEventSourceRef source,
    CGScrollEventUnit units,
    uint32_t wheelCount,
    int32_t wheel1,
    ...
);
To
CGEventRef _Nullable CGEventCreateScrollWheelEvent (
    CGEventSourceRef _Nullable source,
    CGScrollEventUnit units,
    uint32_t wheelCount,
    int32_t wheel1,
    ...
);

Declaration
From
CGEventSourceRef CGEventCreateSourceFromEvent (
    CGEventRef event
);
To
CGEventSourceRef _Nullable CGEventCreateSourceFromEvent (
    CGEventRef _Nullable event
);

Declaration
From
double CGEventGetDoubleValueField (
    CGEventRef event,
    CGEventField field
);
To
double CGEventGetDoubleValueField (
    CGEventRef _Nullable event,
    CGEventField field
);

Declaration
From
CGEventFlags CGEventGetFlags (
    CGEventRef event
);
To
CGEventFlags CGEventGetFlags (
    CGEventRef _Nullable event
);

Declaration
From
int64_t CGEventGetIntegerValueField (
    CGEventRef event,
    CGEventField field
);
To
int64_t CGEventGetIntegerValueField (
    CGEventRef _Nullable event,
    CGEventField field
);

Declaration
From
CGPoint CGEventGetLocation (
    CGEventRef event
);
To
CGPoint CGEventGetLocation (
    CGEventRef _Nullable event
);

Declaration
From
CGEventTimestamp CGEventGetTimestamp (
    CGEventRef event
);
To
CGEventTimestamp CGEventGetTimestamp (
    CGEventRef _Nullable event
);

Declaration
From
CGEventType CGEventGetType (
    CGEventRef event
);
To
CGEventType CGEventGetType (
    CGEventRef _Nullable event
);

Declaration
From
CGPoint CGEventGetUnflippedLocation (
    CGEventRef event
);
To
CGPoint CGEventGetUnflippedLocation (
    CGEventRef _Nullable event
);

Declaration
From
void CGEventKeyboardGetUnicodeString (
    CGEventRef event,
    UniCharCount maxStringLength,
    UniCharCount *actualStringLength,
    UniChar unicodeString[]
);
To
void CGEventKeyboardGetUnicodeString (
    CGEventRef _Nullable event,
    UniCharCount maxStringLength,
    UniCharCount * _Nullable actualStringLength,
    UniChar * _Nullable unicodeString
);

Declaration
From
void CGEventKeyboardSetUnicodeString (
    CGEventRef event,
    UniCharCount stringLength,
    const UniChar unicodeString[]
);
To
void CGEventKeyboardSetUnicodeString (
    CGEventRef _Nullable event,
    UniCharCount stringLength,
    const UniChar * _Nullable unicodeString
);

Modified CGEventPost()
Declaration
From
void CGEventPost (
    CGEventTapLocation tap,
    CGEventRef event
);
To
void CGEventPost (
    CGEventTapLocation tap,
    CGEventRef _Nullable event
);

Declaration
From
void CGEventPostToPSN (
    void *processSerialNumber,
    CGEventRef event
);
To
void CGEventPostToPSN (
    void * _Nullable processSerialNumber,
    CGEventRef _Nullable event
);

Declaration
From
void CGEventSetDoubleValueField (
    CGEventRef event,
    CGEventField field,
    double value
);
To
void CGEventSetDoubleValueField (
    CGEventRef _Nullable event,
    CGEventField field,
    double value
);

Declaration
From
void CGEventSetFlags (
    CGEventRef event,
    CGEventFlags flags
);
To
void CGEventSetFlags (
    CGEventRef _Nullable event,
    CGEventFlags flags
);

Declaration
From
void CGEventSetIntegerValueField (
    CGEventRef event,
    CGEventField field,
    int64_t value
);
To
void CGEventSetIntegerValueField (
    CGEventRef _Nullable event,
    CGEventField field,
    int64_t value
);

Declaration
From
void CGEventSetLocation (
    CGEventRef event,
    CGPoint location
);
To
void CGEventSetLocation (
    CGEventRef _Nullable event,
    CGPoint location
);

Declaration
From
void CGEventSetSource (
    CGEventRef event,
    CGEventSourceRef source
);
To
void CGEventSetSource (
    CGEventRef _Nullable event,
    CGEventSourceRef _Nullable source
);

Declaration
From
void CGEventSetTimestamp (
    CGEventRef event,
    CGEventTimestamp timestamp
);
To
void CGEventSetTimestamp (
    CGEventRef _Nullable event,
    CGEventTimestamp timestamp
);

Declaration
From
void CGEventSetType (
    CGEventRef event,
    CGEventType type
);
To
void CGEventSetType (
    CGEventRef _Nullable event,
    CGEventType type
);

Declaration
From
CFMachPortRef CGEventTapCreate (
    CGEventTapLocation tap,
    CGEventTapPlacement place,
    CGEventTapOptions options,
    CGEventMask eventsOfInterest,
    CGEventTapCallBack callback,
    void *userInfo
);
To
CFMachPortRef _Nullable CGEventTapCreate (
    CGEventTapLocation tap,
    CGEventTapPlacement place,
    CGEventTapOptions options,
    CGEventMask eventsOfInterest,
    CGEventTapCallBack _Nullable callback,
    void * _Nullable userInfo
);

Declaration
From
CFMachPortRef CGEventTapCreateForPSN (
    void *processSerialNumber,
    CGEventTapPlacement place,
    CGEventTapOptions options,
    CGEventMask eventsOfInterest,
    CGEventTapCallBack callback,
    void *userInfo
);
To
CFMachPortRef _Nullable CGEventTapCreateForPSN (
    void * _Nonnull processSerialNumber,
    CGEventTapPlacement place,
    CGEventTapOptions options,
    CGEventMask eventsOfInterest,
    CGEventTapCallBack _Nullable callback,
    void * _Nullable userInfo
);

Declaration
From
void CGEventTapEnable (
    CFMachPortRef tap,
    bool enable
);
To
void CGEventTapEnable (
    CFMachPortRef _Nonnull tap,
    bool enable
);

Declaration
From
bool CGEventTapIsEnabled (
    CFMachPortRef tap
);
To
bool CGEventTapIsEnabled (
    CFMachPortRef _Nonnull tap
);

Declaration
From
void CGEventTapPostEvent (
    CGEventTapProxy proxy,
    CGEventRef event
);
To
void CGEventTapPostEvent (
    CGEventTapProxy _Nullable proxy,
    CGEventRef _Nullable event
);

Declaration
From
CGError CGGetEventTapList (
    uint32_t maxNumberOfTaps,
    CGEventTapInformation tapList[],
    uint32_t *eventTapCount
);
To
CGError CGGetEventTapList (
    uint32_t maxNumberOfTaps,
    CGEventTapInformation * _Nullable tapList,
    uint32_t * _Nullable eventTapCount
);

CGEventSource.h

Declaration
From
CGEventSourceRef CGEventSourceCreate (
    CGEventSourceStateID stateID
);
To
CGEventSourceRef _Nullable CGEventSourceCreate (
    CGEventSourceStateID stateID
);

Declaration
From
CGEventSourceKeyboardType CGEventSourceGetKeyboardType (
    CGEventSourceRef source
);
To
CGEventSourceKeyboardType CGEventSourceGetKeyboardType (
    CGEventSourceRef _Nullable source
);

Declaration
From
CGEventFilterMask CGEventSourceGetLocalEventsFilterDuringSuppressionState (
    CGEventSourceRef source,
    CGEventSuppressionState state
);
To
CGEventFilterMask CGEventSourceGetLocalEventsFilterDuringSuppressionState (
    CGEventSourceRef _Nullable source,
    CGEventSuppressionState state
);

Declaration
From
CFTimeInterval CGEventSourceGetLocalEventsSuppressionInterval (
    CGEventSourceRef source
);
To
CFTimeInterval CGEventSourceGetLocalEventsSuppressionInterval (
    CGEventSourceRef _Nullable source
);

Declaration
From
double CGEventSourceGetPixelsPerLine (
    CGEventSourceRef source
);
To
double CGEventSourceGetPixelsPerLine (
    CGEventSourceRef _Nullable source
);

Declaration
From
CGEventSourceStateID CGEventSourceGetSourceStateID (
    CGEventSourceRef source
);
To
CGEventSourceStateID CGEventSourceGetSourceStateID (
    CGEventSourceRef _Nullable source
);

Declaration
From
int64_t CGEventSourceGetUserData (
    CGEventSourceRef source
);
To
int64_t CGEventSourceGetUserData (
    CGEventSourceRef _Nullable source
);

Declaration
From
void CGEventSourceSetKeyboardType (
    CGEventSourceRef source,
    CGEventSourceKeyboardType keyboardType
);
To
void CGEventSourceSetKeyboardType (
    CGEventSourceRef _Nullable source,
    CGEventSourceKeyboardType keyboardType
);

Declaration
From
void CGEventSourceSetLocalEventsFilterDuringSuppressionState (
    CGEventSourceRef source,
    CGEventFilterMask filter,
    CGEventSuppressionState state
);
To
void CGEventSourceSetLocalEventsFilterDuringSuppressionState (
    CGEventSourceRef _Nullable source,
    CGEventFilterMask filter,
    CGEventSuppressionState state
);

Declaration
From
void CGEventSourceSetLocalEventsSuppressionInterval (
    CGEventSourceRef source,
    CFTimeInterval seconds
);
To
void CGEventSourceSetLocalEventsSuppressionInterval (
    CGEventSourceRef _Nullable source,
    CFTimeInterval seconds
);

Declaration
From
void CGEventSourceSetPixelsPerLine (
    CGEventSourceRef source,
    double pixelsPerLine
);
To
void CGEventSourceSetPixelsPerLine (
    CGEventSourceRef _Nullable source,
    double pixelsPerLine
);

Declaration
From
void CGEventSourceSetUserData (
    CGEventSourceRef source,
    int64_t userData
);
To
void CGEventSourceSetUserData (
    CGEventSourceRef _Nullable source,
    int64_t userData
);

CGFont.h

Added CGGlypDeprecatedEnum
Declaration
From
bool CGFontCanCreatePostScriptSubset (
    CGFontRef font,
    CGFontPostScriptFormat format
);
To
bool CGFontCanCreatePostScriptSubset (
    CGFontRef _Nullable font,
    CGFontPostScriptFormat format
);

Declaration
From
CFStringRef CGFontCopyFullName (
    CGFontRef font
);
To
CFStringRef _Nullable CGFontCopyFullName (
    CGFontRef _Nullable font
);

Declaration
From
CFStringRef CGFontCopyGlyphNameForGlyph (
    CGFontRef font,
    CGGlyph glyph
);
To
CFStringRef _Nullable CGFontCopyGlyphNameForGlyph (
    CGFontRef _Nullable font,
    CGGlyph glyph
);

Declaration
From
CFStringRef CGFontCopyPostScriptName (
    CGFontRef font
);
To
CFStringRef _Nullable CGFontCopyPostScriptName (
    CGFontRef _Nullable font
);

Declaration
From
CFDataRef CGFontCopyTableForTag (
    CGFontRef font,
    uint32_t tag
);
To
CFDataRef _Nullable CGFontCopyTableForTag (
    CGFontRef _Nullable font,
    uint32_t tag
);

Declaration
From
CFArrayRef CGFontCopyTableTags (
    CGFontRef font
);
To
CFArrayRef _Nullable CGFontCopyTableTags (
    CGFontRef _Nullable font
);

Declaration
From
CFArrayRef CGFontCopyVariationAxes (
    CGFontRef font
);
To
CFArrayRef _Nullable CGFontCopyVariationAxes (
    CGFontRef _Nullable font
);

Declaration
From
CFDictionaryRef CGFontCopyVariations (
    CGFontRef font
);
To
CFDictionaryRef _Nullable CGFontCopyVariations (
    CGFontRef _Nullable font
);

Declaration
From
CGFontRef CGFontCreateCopyWithVariations (
    CGFontRef font,
    CFDictionaryRef variations
);
To
CGFontRef _Nullable CGFontCreateCopyWithVariations (
    CGFontRef _Nullable font,
    CFDictionaryRef _Nullable variations
);

Declaration
From
CFDataRef CGFontCreatePostScriptEncoding (
    CGFontRef font,
    const CGGlyph encoding[256]
);
To
CFDataRef _Nullable CGFontCreatePostScriptEncoding (
    CGFontRef _Nullable font,
    const CGGlyph encoding[256]
);

Declaration
From
CFDataRef CGFontCreatePostScriptSubset (
    CGFontRef font,
    CFStringRef subsetName,
    CGFontPostScriptFormat format,
    const CGGlyph glyphs[],
    size_t count,
    const CGGlyph encoding[256]
);
To
CFDataRef _Nullable CGFontCreatePostScriptSubset (
    CGFontRef _Nullable font,
    CFStringRef _Nullable subsetName,
    CGFontPostScriptFormat format,
    const CGGlyph * _Nullable glyphs,
    size_t count,
    const CGGlyph encoding[256]
);

Declaration
From
CGFontRef CGFontCreateWithDataProvider (
    CGDataProviderRef provider
);
To
CGFontRef _Nullable CGFontCreateWithDataProvider (
    CGDataProviderRef _Nullable provider
);

Declaration
From
CGFontRef CGFontCreateWithFontName (
    CFStringRef name
);
To
CGFontRef _Nullable CGFontCreateWithFontName (
    CFStringRef _Nullable name
);

Declaration
From
CGFontRef CGFontCreateWithPlatformFont (
    void *platformFontReference
);
To
CGFontRef _Nullable CGFontCreateWithPlatformFont (
    void * _Nullable platformFontReference
);

Declaration
From
int CGFontGetAscent (
    CGFontRef font
);
To
int CGFontGetAscent (
    CGFontRef _Nullable font
);

Declaration
From
int CGFontGetCapHeight (
    CGFontRef font
);
To
int CGFontGetCapHeight (
    CGFontRef _Nullable font
);

Declaration
From
int CGFontGetDescent (
    CGFontRef font
);
To
int CGFontGetDescent (
    CGFontRef _Nullable font
);

Declaration
From
CGRect CGFontGetFontBBox (
    CGFontRef font
);
To
CGRect CGFontGetFontBBox (
    CGFontRef _Nullable font
);

Declaration
From
bool CGFontGetGlyphAdvances (
    CGFontRef font,
    const CGGlyph glyphs[],
    size_t count,
    int advances[]
);
To
bool CGFontGetGlyphAdvances (
    CGFontRef _Nullable font,
    const CGGlyph * _Nonnull glyphs,
    size_t count,
    int * _Nonnull advances
);

Declaration
From
bool CGFontGetGlyphBBoxes (
    CGFontRef font,
    const CGGlyph glyphs[],
    size_t count,
    CGRect bboxes[]
);
To
bool CGFontGetGlyphBBoxes (
    CGFontRef _Nullable font,
    const CGGlyph * _Nonnull glyphs,
    size_t count,
    CGRect * _Nonnull bboxes
);

Declaration
From
CGGlyph CGFontGetGlyphWithGlyphName (
    CGFontRef font,
    CFStringRef name
);
To
CGGlyph CGFontGetGlyphWithGlyphName (
    CGFontRef _Nullable font,
    CFStringRef _Nullable name
);

Declaration
From
CGFloat CGFontGetItalicAngle (
    CGFontRef font
);
To
CGFloat CGFontGetItalicAngle (
    CGFontRef _Nullable font
);

Declaration
From
int CGFontGetLeading (
    CGFontRef font
);
To
int CGFontGetLeading (
    CGFontRef _Nullable font
);

Declaration
From
size_t CGFontGetNumberOfGlyphs (
    CGFontRef font
);
To
size_t CGFontGetNumberOfGlyphs (
    CGFontRef _Nullable font
);

Declaration
From
CGFloat CGFontGetStemV (
    CGFontRef font
);
To
CGFloat CGFontGetStemV (
    CGFontRef _Nullable font
);

Declaration
From
int CGFontGetUnitsPerEm (
    CGFontRef font
);
To
int CGFontGetUnitsPerEm (
    CGFontRef _Nullable font
);

Declaration
From
int CGFontGetXHeight (
    CGFontRef font
);
To
int CGFontGetXHeight (
    CGFontRef _Nullable font
);

Declaration
From
void CGFontRelease (
    CGFontRef font
);
To
void CGFontRelease (
    CGFontRef _Nullable font
);

Declaration
From
CGFontRef CGFontRetain (
    CGFontRef font
);
To
CGFontRef _Nullable CGFontRetain (
    CGFontRef _Nullable font
);

CGFunction.h

Declaration
From
CGFunctionRef CGFunctionCreate (
    void *info,
    size_t domainDimension,
    const CGFloat *domain,
    size_t rangeDimension,
    const CGFloat *range,
    const CGFunctionCallbacks *callbacks
);
To
CGFunctionRef _Nullable CGFunctionCreate (
    void * _Nullable info,
    size_t domainDimension,
    const CGFloat * _Nullable domain,
    size_t rangeDimension,
    const CGFloat * _Nullable range,
    const CGFunctionCallbacks * _Nullable callbacks
);

Declaration
From
void CGFunctionRelease (
    CGFunctionRef function
);
To
void CGFunctionRelease (
    CGFunctionRef _Nullable function
);

Declaration
From
CGFunctionRef CGFunctionRetain (
    CGFunctionRef function
);
To
CGFunctionRef _Nullable CGFunctionRetain (
    CGFunctionRef _Nullable function
);

CGGeometry.h

Declaration
From
CFDictionaryRef CGPointCreateDictionaryRepresentation (
    CGPoint point
);
To
CFDictionaryRef _Nonnull CGPointCreateDictionaryRepresentation (
    CGPoint point
);

Declaration
From
bool CGPointMakeWithDictionaryRepresentation (
    CFDictionaryRef dict,
    CGPoint *point
);
To
bool CGPointMakeWithDictionaryRepresentation (
    CFDictionaryRef _Nullable dict,
    CGPoint * _Nullable point
);

Declaration
From
CFDictionaryRef CGRectCreateDictionaryRepresentation (
    CGRect
);
To
CFDictionaryRef _Nonnull CGRectCreateDictionaryRepresentation (
    CGRect
);

Declaration
From
void CGRectDivide (
    CGRect rect,
    CGRect *slice,
    CGRect *remainder,
    CGFloat amount,
    CGRectEdge edge
);
To
void CGRectDivide (
    CGRect rect,
    CGRect * _Nonnull slice,
    CGRect * _Nonnull remainder,
    CGFloat amount,
    CGRectEdge edge
);

Declaration
From
bool CGRectMakeWithDictionaryRepresentation (
    CFDictionaryRef dict,
    CGRect *rect
);
To
bool CGRectMakeWithDictionaryRepresentation (
    CFDictionaryRef _Nullable dict,
    CGRect * _Nullable rect
);

Declaration
From
CFDictionaryRef CGSizeCreateDictionaryRepresentation (
    CGSize size
);
To
CFDictionaryRef _Nonnull CGSizeCreateDictionaryRepresentation (
    CGSize size
);

Declaration
From
bool CGSizeMakeWithDictionaryRepresentation (
    CFDictionaryRef dict,
    CGSize *size
);
To
bool CGSizeMakeWithDictionaryRepresentation (
    CFDictionaryRef _Nullable dict,
    CGSize * _Nullable size
);

CGGradient.h

Declaration
From
CGGradientRef CGGradientCreateWithColorComponents (
    CGColorSpaceRef space,
    const CGFloat components[],
    const CGFloat locations[],
    size_t count
);
To
CGGradientRef _Nullable CGGradientCreateWithColorComponents (
    CGColorSpaceRef _Nullable space,
    const CGFloat * _Nullable components,
    const CGFloat * _Nullable locations,
    size_t count
);

Declaration
From
CGGradientRef CGGradientCreateWithColors (
    CGColorSpaceRef space,
    CFArrayRef colors,
    const CGFloat locations[]
);
To
CGGradientRef _Nullable CGGradientCreateWithColors (
    CGColorSpaceRef _Nullable space,
    CFArrayRef _Nullable colors,
    const CGFloat * _Nullable locations
);

Declaration
From
void CGGradientRelease (
    CGGradientRef gradient
);
To
void CGGradientRelease (
    CGGradientRef _Nullable gradient
);

Declaration
From
CGGradientRef CGGradientRetain (
    CGGradientRef gradient
);
To
CGGradientRef _Nullable CGGradientRetain (
    CGGradientRef _Nullable gradient
);

CGImage.h

Declaration
From
CGImageRef CGImageCreate (
    size_t width,
    size_t height,
    size_t bitsPerComponent,
    size_t bitsPerPixel,
    size_t bytesPerRow,
    CGColorSpaceRef space,
    CGBitmapInfo bitmapInfo,
    CGDataProviderRef provider,
    const CGFloat decode[],
    bool shouldInterpolate,
    CGColorRenderingIntent intent
);
To
CGImageRef _Nullable CGImageCreate (
    size_t width,
    size_t height,
    size_t bitsPerComponent,
    size_t bitsPerPixel,
    size_t bytesPerRow,
    CGColorSpaceRef _Nullable space,
    CGBitmapInfo bitmapInfo,
    CGDataProviderRef _Nullable provider,
    const CGFloat * _Nullable decode,
    bool shouldInterpolate,
    CGColorRenderingIntent intent
);

Declaration
From
CGImageRef CGImageCreateCopy (
    CGImageRef image
);
To
CGImageRef _Nullable CGImageCreateCopy (
    CGImageRef _Nullable image
);

Declaration
From
CGImageRef CGImageCreateCopyWithColorSpace (
    CGImageRef image,
    CGColorSpaceRef space
);
To
CGImageRef _Nullable CGImageCreateCopyWithColorSpace (
    CGImageRef _Nullable image,
    CGColorSpaceRef _Nullable space
);

Declaration
From
CGImageRef CGImageCreateWithImageInRect (
    CGImageRef image,
    CGRect rect
);
To
CGImageRef _Nullable CGImageCreateWithImageInRect (
    CGImageRef _Nullable image,
    CGRect rect
);

Declaration
From
CGImageRef CGImageCreateWithJPEGDataProvider (
    CGDataProviderRef source,
    const CGFloat decode[],
    bool shouldInterpolate,
    CGColorRenderingIntent intent
);
To
CGImageRef _Nullable CGImageCreateWithJPEGDataProvider (
    CGDataProviderRef _Nullable source,
    const CGFloat * _Nullable decode,
    bool shouldInterpolate,
    CGColorRenderingIntent intent
);

Declaration
From
CGImageRef CGImageCreateWithMask (
    CGImageRef image,
    CGImageRef mask
);
To
CGImageRef _Nullable CGImageCreateWithMask (
    CGImageRef _Nullable image,
    CGImageRef _Nullable mask
);

Declaration
From
CGImageRef CGImageCreateWithMaskingColors (
    CGImageRef image,
    const CGFloat components[]
);
To
CGImageRef _Nullable CGImageCreateWithMaskingColors (
    CGImageRef _Nullable image,
    const CGFloat * _Nullable components
);

Declaration
From
CGImageRef CGImageCreateWithPNGDataProvider (
    CGDataProviderRef source,
    const CGFloat decode[],
    bool shouldInterpolate,
    CGColorRenderingIntent intent
);
To
CGImageRef _Nullable CGImageCreateWithPNGDataProvider (
    CGDataProviderRef _Nullable source,
    const CGFloat * _Nullable decode,
    bool shouldInterpolate,
    CGColorRenderingIntent intent
);

Declaration
From
CGImageAlphaInfo CGImageGetAlphaInfo (
    CGImageRef image
);
To
CGImageAlphaInfo CGImageGetAlphaInfo (
    CGImageRef _Nullable image
);

Declaration
From
CGBitmapInfo CGImageGetBitmapInfo (
    CGImageRef image
);
To
CGBitmapInfo CGImageGetBitmapInfo (
    CGImageRef _Nullable image
);

Declaration
From
size_t CGImageGetBitsPerComponent (
    CGImageRef image
);
To
size_t CGImageGetBitsPerComponent (
    CGImageRef _Nullable image
);

Declaration
From
size_t CGImageGetBitsPerPixel (
    CGImageRef image
);
To
size_t CGImageGetBitsPerPixel (
    CGImageRef _Nullable image
);

Declaration
From
size_t CGImageGetBytesPerRow (
    CGImageRef image
);
To
size_t CGImageGetBytesPerRow (
    CGImageRef _Nullable image
);

Declaration
From
CGColorSpaceRef CGImageGetColorSpace (
    CGImageRef image
);
To
CGColorSpaceRef _Nullable CGImageGetColorSpace (
    CGImageRef _Nullable image
);

Declaration
From
CGDataProviderRef CGImageGetDataProvider (
    CGImageRef image
);
To
CGDataProviderRef _Nullable CGImageGetDataProvider (
    CGImageRef _Nullable image
);

Declaration
From
const CGFloat * CGImageGetDecode (
    CGImageRef image
);
To
const CGFloat * _Nullable CGImageGetDecode (
    CGImageRef _Nullable image
);

Declaration
From
size_t CGImageGetHeight (
    CGImageRef image
);
To
size_t CGImageGetHeight (
    CGImageRef _Nullable image
);

Declaration
From
CGColorRenderingIntent CGImageGetRenderingIntent (
    CGImageRef image
);
To
CGColorRenderingIntent CGImageGetRenderingIntent (
    CGImageRef _Nullable image
);

Declaration
From
bool CGImageGetShouldInterpolate (
    CGImageRef image
);
To
bool CGImageGetShouldInterpolate (
    CGImageRef _Nullable image
);

Declaration
From
size_t CGImageGetWidth (
    CGImageRef image
);
To
size_t CGImageGetWidth (
    CGImageRef _Nullable image
);

Declaration
From
bool CGImageIsMask (
    CGImageRef image
);
To
bool CGImageIsMask (
    CGImageRef _Nullable image
);

Declaration
From
CGImageRef CGImageMaskCreate (
    size_t width,
    size_t height,
    size_t bitsPerComponent,
    size_t bitsPerPixel,
    size_t bytesPerRow,
    CGDataProviderRef provider,
    const CGFloat decode[],
    bool shouldInterpolate
);
To
CGImageRef _Nullable CGImageMaskCreate (
    size_t width,
    size_t height,
    size_t bitsPerComponent,
    size_t bitsPerPixel,
    size_t bytesPerRow,
    CGDataProviderRef _Nullable provider,
    const CGFloat * _Nullable decode,
    bool shouldInterpolate
);

Declaration
From
void CGImageRelease (
    CGImageRef image
);
To
void CGImageRelease (
    CGImageRef _Nullable image
);

Declaration
From
CGImageRef CGImageRetain (
    CGImageRef image
);
To
CGImageRef _Nullable CGImageRetain (
    CGImageRef _Nullable image
);

CGLayer.h

Declaration
From
void CGContextDrawLayerAtPoint (
    CGContextRef context,
    CGPoint point,
    CGLayerRef layer
);
To
void CGContextDrawLayerAtPoint (
    CGContextRef _Nullable context,
    CGPoint point,
    CGLayerRef _Nullable layer
);

Declaration
From
void CGContextDrawLayerInRect (
    CGContextRef context,
    CGRect rect,
    CGLayerRef layer
);
To
void CGContextDrawLayerInRect (
    CGContextRef _Nullable context,
    CGRect rect,
    CGLayerRef _Nullable layer
);

Declaration
From
CGLayerRef CGLayerCreateWithContext (
    CGContextRef context,
    CGSize size,
    CFDictionaryRef auxiliaryInfo
);
To
CGLayerRef _Nullable CGLayerCreateWithContext (
    CGContextRef _Nullable context,
    CGSize size,
    CFDictionaryRef _Nullable auxiliaryInfo
);

Declaration
From
CGContextRef CGLayerGetContext (
    CGLayerRef layer
);
To
CGContextRef _Nullable CGLayerGetContext (
    CGLayerRef _Nullable layer
);

Declaration
From
CGSize CGLayerGetSize (
    CGLayerRef layer
);
To
CGSize CGLayerGetSize (
    CGLayerRef _Nullable layer
);

Declaration
From
void CGLayerRelease (
    CGLayerRef layer
);
To
void CGLayerRelease (
    CGLayerRef _Nullable layer
);

Declaration
From
CGLayerRef CGLayerRetain (
    CGLayerRef layer
);
To
CGLayerRef _Nullable CGLayerRetain (
    CGLayerRef _Nullable layer
);

CGPath.h

Declaration
From
void CGPathAddArc (
    CGMutablePathRef path,
    const CGAffineTransform *m,
    CGFloat x,
    CGFloat y,
    CGFloat radius,
    CGFloat startAngle,
    CGFloat endAngle,
    bool clockwise
);
To
void CGPathAddArc (
    CGMutablePathRef _Nullable path,
    const CGAffineTransform * _Nullable m,
    CGFloat x,
    CGFloat y,
    CGFloat radius,
    CGFloat startAngle,
    CGFloat endAngle,
    bool clockwise
);

Declaration
From
void CGPathAddArcToPoint (
    CGMutablePathRef path,
    const CGAffineTransform *m,
    CGFloat x1,
    CGFloat y1,
    CGFloat x2,
    CGFloat y2,
    CGFloat radius
);
To
void CGPathAddArcToPoint (
    CGMutablePathRef _Nullable path,
    const CGAffineTransform * _Nullable m,
    CGFloat x1,
    CGFloat y1,
    CGFloat x2,
    CGFloat y2,
    CGFloat radius
);

Declaration
From
void CGPathAddCurveToPoint (
    CGMutablePathRef path,
    const CGAffineTransform *m,
    CGFloat cp1x,
    CGFloat cp1y,
    CGFloat cp2x,
    CGFloat cp2y,
    CGFloat x,
    CGFloat y
);
To
void CGPathAddCurveToPoint (
    CGMutablePathRef _Nullable path,
    const CGAffineTransform * _Nullable m,
    CGFloat cp1x,
    CGFloat cp1y,
    CGFloat cp2x,
    CGFloat cp2y,
    CGFloat x,
    CGFloat y
);

Declaration
From
void CGPathAddEllipseInRect (
    CGMutablePathRef path,
    const CGAffineTransform *m,
    CGRect rect
);
To
void CGPathAddEllipseInRect (
    CGMutablePathRef _Nullable path,
    const CGAffineTransform * _Nullable m,
    CGRect rect
);

Declaration
From
void CGPathAddLines (
    CGMutablePathRef path,
    const CGAffineTransform *m,
    const CGPoint points[],
    size_t count
);
To
void CGPathAddLines (
    CGMutablePathRef _Nullable path,
    const CGAffineTransform * _Nullable m,
    const CGPoint * _Nullable points,
    size_t count
);

Declaration
From
void CGPathAddLineToPoint (
    CGMutablePathRef path,
    const CGAffineTransform *m,
    CGFloat x,
    CGFloat y
);
To
void CGPathAddLineToPoint (
    CGMutablePathRef _Nullable path,
    const CGAffineTransform * _Nullable m,
    CGFloat x,
    CGFloat y
);

Declaration
From
void CGPathAddPath (
    CGMutablePathRef path1,
    const CGAffineTransform *m,
    CGPathRef path2
);
To
void CGPathAddPath (
    CGMutablePathRef _Nullable path1,
    const CGAffineTransform * _Nullable m,
    CGPathRef _Nullable path2
);

Declaration
From
void CGPathAddQuadCurveToPoint (
    CGMutablePathRef path,
    const CGAffineTransform *m,
    CGFloat cpx,
    CGFloat cpy,
    CGFloat x,
    CGFloat y
);
To
void CGPathAddQuadCurveToPoint (
    CGMutablePathRef _Nullable path,
    const CGAffineTransform * _Nullable m,
    CGFloat cpx,
    CGFloat cpy,
    CGFloat x,
    CGFloat y
);

Declaration
From
void CGPathAddRect (
    CGMutablePathRef path,
    const CGAffineTransform *m,
    CGRect rect
);
To
void CGPathAddRect (
    CGMutablePathRef _Nullable path,
    const CGAffineTransform * _Nullable m,
    CGRect rect
);

Declaration
From
void CGPathAddRects (
    CGMutablePathRef path,
    const CGAffineTransform *m,
    const CGRect rects[],
    size_t count
);
To
void CGPathAddRects (
    CGMutablePathRef _Nullable path,
    const CGAffineTransform * _Nullable m,
    const CGRect * _Nullable rects,
    size_t count
);

Declaration
From
void CGPathAddRelativeArc (
    CGMutablePathRef path,
    const CGAffineTransform *matrix,
    CGFloat x,
    CGFloat y,
    CGFloat radius,
    CGFloat startAngle,
    CGFloat delta
);
To
void CGPathAddRelativeArc (
    CGMutablePathRef _Nullable path,
    const CGAffineTransform * _Nullable matrix,
    CGFloat x,
    CGFloat y,
    CGFloat radius,
    CGFloat startAngle,
    CGFloat delta
);

Declaration
From
void CGPathAddRoundedRect (
    CGMutablePathRef path,
    const CGAffineTransform *transform,
    CGRect rect,
    CGFloat cornerWidth,
    CGFloat cornerHeight
);
To
void CGPathAddRoundedRect (
    CGMutablePathRef _Nullable path,
    const CGAffineTransform * _Nullable transform,
    CGRect rect,
    CGFloat cornerWidth,
    CGFloat cornerHeight
);

Modified CGPathApply()
Declaration
From
void CGPathApply (
    CGPathRef path,
    void *info,
    CGPathApplierFunction function
);
To
void CGPathApply (
    CGPathRef _Nullable path,
    void * _Nullable info,
    CGPathApplierFunction _Nullable function
);

Declaration
From
void CGPathCloseSubpath (
    CGMutablePathRef path
);
To
void CGPathCloseSubpath (
    CGMutablePathRef _Nullable path
);

Declaration
From
bool CGPathContainsPoint (
    CGPathRef path,
    const CGAffineTransform *m,
    CGPoint point,
    bool eoFill
);
To
bool CGPathContainsPoint (
    CGPathRef _Nullable path,
    const CGAffineTransform * _Nullable m,
    CGPoint point,
    bool eoFill
);

Declaration
From
CGPathRef CGPathCreateCopy (
    CGPathRef path
);
To
CGPathRef _Nullable CGPathCreateCopy (
    CGPathRef _Nullable path
);

Declaration
From
CGPathRef CGPathCreateCopyByDashingPath (
    CGPathRef path,
    const CGAffineTransform *transform,
    CGFloat phase,
    const CGFloat *lengths,
    size_t count
);
To
CGPathRef _Nullable CGPathCreateCopyByDashingPath (
    CGPathRef _Nullable path,
    const CGAffineTransform * _Nullable transform,
    CGFloat phase,
    const CGFloat * _Nullable lengths,
    size_t count
);

Declaration
From
CGPathRef CGPathCreateCopyByStrokingPath (
    CGPathRef path,
    const CGAffineTransform *transform,
    CGFloat lineWidth,
    CGLineCap lineCap,
    CGLineJoin lineJoin,
    CGFloat miterLimit
);
To
CGPathRef _Nullable CGPathCreateCopyByStrokingPath (
    CGPathRef _Nullable path,
    const CGAffineTransform * _Nullable transform,
    CGFloat lineWidth,
    CGLineCap lineCap,
    CGLineJoin lineJoin,
    CGFloat miterLimit
);

Declaration
From
CGPathRef CGPathCreateCopyByTransformingPath (
    CGPathRef path,
    const CGAffineTransform *transform
);
To
CGPathRef _Nullable CGPathCreateCopyByTransformingPath (
    CGPathRef _Nullable path,
    const CGAffineTransform * _Nullable transform
);

Declaration
From
CGMutablePathRef CGPathCreateMutable (
    void
);
To
CGMutablePathRef _Nonnull CGPathCreateMutable (
    void
);

Declaration
From
CGMutablePathRef CGPathCreateMutableCopy (
    CGPathRef path
);
To
CGMutablePathRef _Nullable CGPathCreateMutableCopy (
    CGPathRef _Nullable path
);

Declaration
From
CGMutablePathRef CGPathCreateMutableCopyByTransformingPath (
    CGPathRef path,
    const CGAffineTransform *transform
);
To
CGMutablePathRef _Nullable CGPathCreateMutableCopyByTransformingPath (
    CGPathRef _Nullable path,
    const CGAffineTransform * _Nullable transform
);

Declaration
From
CGPathRef CGPathCreateWithEllipseInRect (
    CGRect rect,
    const CGAffineTransform *transform
);
To
CGPathRef _Nonnull CGPathCreateWithEllipseInRect (
    CGRect rect,
    const CGAffineTransform * _Nullable transform
);

Declaration
From
CGPathRef CGPathCreateWithRect (
    CGRect rect,
    const CGAffineTransform *transform
);
To
CGPathRef _Nonnull CGPathCreateWithRect (
    CGRect rect,
    const CGAffineTransform * _Nullable transform
);

Declaration
From
CGPathRef CGPathCreateWithRoundedRect (
    CGRect rect,
    CGFloat cornerWidth,
    CGFloat cornerHeight,
    const CGAffineTransform *transform
);
To
CGPathRef _Nonnull CGPathCreateWithRoundedRect (
    CGRect rect,
    CGFloat cornerWidth,
    CGFloat cornerHeight,
    const CGAffineTransform * _Nullable transform
);

Declaration
From
bool CGPathEqualToPath (
    CGPathRef path1,
    CGPathRef path2
);
To
bool CGPathEqualToPath (
    CGPathRef _Nullable path1,
    CGPathRef _Nullable path2
);

Declaration
From
CGRect CGPathGetBoundingBox (
    CGPathRef path
);
To
CGRect CGPathGetBoundingBox (
    CGPathRef _Nullable path
);

Declaration
From
CGPoint CGPathGetCurrentPoint (
    CGPathRef path
);
To
CGPoint CGPathGetCurrentPoint (
    CGPathRef _Nullable path
);

Declaration
From
CGRect CGPathGetPathBoundingBox (
    CGPathRef path
);
To
CGRect CGPathGetPathBoundingBox (
    CGPathRef _Nullable path
);

Declaration
From
bool CGPathIsEmpty (
    CGPathRef path
);
To
bool CGPathIsEmpty (
    CGPathRef _Nullable path
);

Declaration
From
bool CGPathIsRect (
    CGPathRef path,
    CGRect *rect
);
To
bool CGPathIsRect (
    CGPathRef _Nullable path,
    CGRect * _Nullable rect
);

Declaration
From
void CGPathMoveToPoint (
    CGMutablePathRef path,
    const CGAffineTransform *m,
    CGFloat x,
    CGFloat y
);
To
void CGPathMoveToPoint (
    CGMutablePathRef _Nullable path,
    const CGAffineTransform * _Nullable m,
    CGFloat x,
    CGFloat y
);

Declaration
From
void CGPathRelease (
    CGPathRef path
);
To
void CGPathRelease (
    CGPathRef _Nullable path
);

Declaration
From
CGPathRef CGPathRetain (
    CGPathRef path
);
To
CGPathRef _Nullable CGPathRetain (
    CGPathRef _Nullable path
);

CGPattern.h

Declaration
From
CGPatternRef CGPatternCreate (
    void *info,
    CGRect bounds,
    CGAffineTransform matrix,
    CGFloat xStep,
    CGFloat yStep,
    CGPatternTiling tiling,
    bool isColored,
    const CGPatternCallbacks *callbacks
);
To
CGPatternRef _Nullable CGPatternCreate (
    void * _Nullable info,
    CGRect bounds,
    CGAffineTransform matrix,
    CGFloat xStep,
    CGFloat yStep,
    CGPatternTiling tiling,
    bool isColored,
    const CGPatternCallbacks * _Nullable callbacks
);

Declaration
From
void CGPatternRelease (
    CGPatternRef pattern
);
To
void CGPatternRelease (
    CGPatternRef _Nullable pattern
);

Declaration
From
CGPatternRef CGPatternRetain (
    CGPatternRef pattern
);
To
CGPatternRef _Nullable CGPatternRetain (
    CGPatternRef _Nullable pattern
);

CGPDFArray.h

Declaration
From
bool CGPDFArrayGetArray (
    CGPDFArrayRef array,
    size_t index,
    CGPDFArrayRef *value
);
To
bool CGPDFArrayGetArray (
    CGPDFArrayRef _Nullable array,
    size_t index,
    CGPDFArrayRef  _Nullable * _Nullable value
);

Declaration
From
bool CGPDFArrayGetBoolean (
    CGPDFArrayRef array,
    size_t index,
    CGPDFBoolean *value
);
To
bool CGPDFArrayGetBoolean (
    CGPDFArrayRef _Nullable array,
    size_t index,
    CGPDFBoolean * _Nullable value
);

Declaration
From
size_t CGPDFArrayGetCount (
    CGPDFArrayRef array
);
To
size_t CGPDFArrayGetCount (
    CGPDFArrayRef _Nullable array
);

Declaration
From
bool CGPDFArrayGetDictionary (
    CGPDFArrayRef array,
    size_t index,
    CGPDFDictionaryRef *value
);
To
bool CGPDFArrayGetDictionary (
    CGPDFArrayRef _Nullable array,
    size_t index,
    CGPDFDictionaryRef  _Nullable * _Nullable value
);

Declaration
From
bool CGPDFArrayGetInteger (
    CGPDFArrayRef array,
    size_t index,
    CGPDFInteger *value
);
To
bool CGPDFArrayGetInteger (
    CGPDFArrayRef _Nullable array,
    size_t index,
    CGPDFInteger * _Nullable value
);

Declaration
From
bool CGPDFArrayGetName (
    CGPDFArrayRef array,
    size_t index,
    const char **value
);
To
bool CGPDFArrayGetName (
    CGPDFArrayRef _Nullable array,
    size_t index,
    const char * _Nullable * _Nullable value
);

Declaration
From
bool CGPDFArrayGetNull (
    CGPDFArrayRef array,
    size_t index
);
To
bool CGPDFArrayGetNull (
    CGPDFArrayRef _Nullable array,
    size_t index
);

Declaration
From
bool CGPDFArrayGetNumber (
    CGPDFArrayRef array,
    size_t index,
    CGPDFReal *value
);
To
bool CGPDFArrayGetNumber (
    CGPDFArrayRef _Nullable array,
    size_t index,
    CGPDFReal * _Nullable value
);

Declaration
From
bool CGPDFArrayGetObject (
    CGPDFArrayRef array,
    size_t index,
    CGPDFObjectRef *value
);
To
bool CGPDFArrayGetObject (
    CGPDFArrayRef _Nullable array,
    size_t index,
    CGPDFObjectRef  _Nullable * _Nullable value
);

Declaration
From
bool CGPDFArrayGetStream (
    CGPDFArrayRef array,
    size_t index,
    CGPDFStreamRef *value
);
To
bool CGPDFArrayGetStream (
    CGPDFArrayRef _Nullable array,
    size_t index,
    CGPDFStreamRef  _Nullable * _Nullable value
);

Declaration
From
bool CGPDFArrayGetString (
    CGPDFArrayRef array,
    size_t index,
    CGPDFStringRef *value
);
To
bool CGPDFArrayGetString (
    CGPDFArrayRef _Nullable array,
    size_t index,
    CGPDFStringRef  _Nullable * _Nullable value
);

CGPDFContext.h

Declaration
From
void CGPDFContextAddDestinationAtPoint (
    CGContextRef context,
    CFStringRef name,
    CGPoint point
);
To
void CGPDFContextAddDestinationAtPoint (
    CGContextRef _Nullable context,
    CFStringRef _Nonnull name,
    CGPoint point
);

Declaration
From
void CGPDFContextAddDocumentMetadata (
    CGContextRef context,
    CFDataRef metadata
);
To
void CGPDFContextAddDocumentMetadata (
    CGContextRef _Nullable context,
    CFDataRef _Nullable metadata
);

Declaration
From
void CGPDFContextBeginPage (
    CGContextRef context,
    CFDictionaryRef pageInfo
);
To
void CGPDFContextBeginPage (
    CGContextRef _Nullable context,
    CFDictionaryRef _Nullable pageInfo
);

Declaration
From
void CGPDFContextClose (
    CGContextRef context
);
To
void CGPDFContextClose (
    CGContextRef _Nullable context
);

Declaration
From
CGContextRef CGPDFContextCreate (
    CGDataConsumerRef consumer,
    const CGRect *mediaBox,
    CFDictionaryRef auxiliaryInfo
);
To
CGContextRef _Nullable CGPDFContextCreate (
    CGDataConsumerRef _Nullable consumer,
    const CGRect * _Nullable mediaBox,
    CFDictionaryRef _Nullable auxiliaryInfo
);

Declaration
From
CGContextRef CGPDFContextCreateWithURL (
    CFURLRef url,
    const CGRect *mediaBox,
    CFDictionaryRef auxiliaryInfo
);
To
CGContextRef _Nullable CGPDFContextCreateWithURL (
    CFURLRef _Nullable url,
    const CGRect * _Nullable mediaBox,
    CFDictionaryRef _Nullable auxiliaryInfo
);

Declaration
From
void CGPDFContextEndPage (
    CGContextRef context
);
To
void CGPDFContextEndPage (
    CGContextRef _Nullable context
);

Declaration
From
void CGPDFContextSetDestinationForRect (
    CGContextRef context,
    CFStringRef name,
    CGRect rect
);
To
void CGPDFContextSetDestinationForRect (
    CGContextRef _Nullable context,
    CFStringRef _Nonnull name,
    CGRect rect
);

Declaration
From
void CGPDFContextSetURLForRect (
    CGContextRef context,
    CFURLRef url,
    CGRect rect
);
To
void CGPDFContextSetURLForRect (
    CGContextRef _Nullable context,
    CFURLRef _Nonnull url,
    CGRect rect
);

CGPDFDictionary.h

Declaration
From
void CGPDFDictionaryApplyFunction (
    CGPDFDictionaryRef dict,
    CGPDFDictionaryApplierFunction function,
    void *info
);
To
void CGPDFDictionaryApplyFunction (
    CGPDFDictionaryRef _Nullable dict,
    CGPDFDictionaryApplierFunction _Nullable function,
    void * _Nullable info
);

Declaration
From
bool CGPDFDictionaryGetArray (
    CGPDFDictionaryRef dict,
    const char *key,
    CGPDFArrayRef *value
);
To
bool CGPDFDictionaryGetArray (
    CGPDFDictionaryRef _Nullable dict,
    const char * _Nonnull key,
    CGPDFArrayRef  _Nullable * _Nullable value
);

Declaration
From
bool CGPDFDictionaryGetBoolean (
    CGPDFDictionaryRef dict,
    const char *key,
    CGPDFBoolean *value
);
To
bool CGPDFDictionaryGetBoolean (
    CGPDFDictionaryRef _Nullable dict,
    const char * _Nonnull key,
    CGPDFBoolean * _Nullable value
);

Declaration
From
size_t CGPDFDictionaryGetCount (
    CGPDFDictionaryRef dict
);
To
size_t CGPDFDictionaryGetCount (
    CGPDFDictionaryRef _Nullable dict
);

Declaration
From
bool CGPDFDictionaryGetDictionary (
    CGPDFDictionaryRef dict,
    const char *key,
    CGPDFDictionaryRef *value
);
To
bool CGPDFDictionaryGetDictionary (
    CGPDFDictionaryRef _Nullable dict,
    const char * _Nonnull key,
    CGPDFDictionaryRef  _Nullable * _Nullable value
);

Declaration
From
bool CGPDFDictionaryGetInteger (
    CGPDFDictionaryRef dict,
    const char *key,
    CGPDFInteger *value
);
To
bool CGPDFDictionaryGetInteger (
    CGPDFDictionaryRef _Nullable dict,
    const char * _Nonnull key,
    CGPDFInteger * _Nullable value
);

Declaration
From
bool CGPDFDictionaryGetName (
    CGPDFDictionaryRef dict,
    const char *key,
    const char **value
);
To
bool CGPDFDictionaryGetName (
    CGPDFDictionaryRef _Nullable dict,
    const char * _Nonnull key,
    const char * _Nullable * _Nullable value
);

Declaration
From
bool CGPDFDictionaryGetNumber (
    CGPDFDictionaryRef dict,
    const char *key,
    CGPDFReal *value
);
To
bool CGPDFDictionaryGetNumber (
    CGPDFDictionaryRef _Nullable dict,
    const char * _Nonnull key,
    CGPDFReal * _Nullable value
);

Declaration
From
bool CGPDFDictionaryGetObject (
    CGPDFDictionaryRef dict,
    const char *key,
    CGPDFObjectRef *value
);
To
bool CGPDFDictionaryGetObject (
    CGPDFDictionaryRef _Nullable dict,
    const char * _Nonnull key,
    CGPDFObjectRef  _Nullable * _Nullable value
);

Declaration
From
bool CGPDFDictionaryGetStream (
    CGPDFDictionaryRef dict,
    const char *key,
    CGPDFStreamRef *value
);
To
bool CGPDFDictionaryGetStream (
    CGPDFDictionaryRef _Nullable dict,
    const char * _Nonnull key,
    CGPDFStreamRef  _Nullable * _Nullable value
);

Declaration
From
bool CGPDFDictionaryGetString (
    CGPDFDictionaryRef dict,
    const char *key,
    CGPDFStringRef *value
);
To
bool CGPDFDictionaryGetString (
    CGPDFDictionaryRef _Nullable dict,
    const char * _Nonnull key,
    CGPDFStringRef  _Nullable * _Nullable value
);

CGPDFDocument.h

Declaration
From
bool CGPDFDocumentAllowsCopying (
    CGPDFDocumentRef document
);
To
bool CGPDFDocumentAllowsCopying (
    CGPDFDocumentRef _Nullable document
);

Declaration
From
bool CGPDFDocumentAllowsPrinting (
    CGPDFDocumentRef document
);
To
bool CGPDFDocumentAllowsPrinting (
    CGPDFDocumentRef _Nullable document
);

Declaration
From
CGPDFDocumentRef CGPDFDocumentCreateWithProvider (
    CGDataProviderRef provider
);
To
CGPDFDocumentRef _Nullable CGPDFDocumentCreateWithProvider (
    CGDataProviderRef _Nullable provider
);

Declaration
From
CGPDFDocumentRef CGPDFDocumentCreateWithURL (
    CFURLRef url
);
To
CGPDFDocumentRef _Nullable CGPDFDocumentCreateWithURL (
    CFURLRef _Nullable url
);

Declaration
From
CGRect CGPDFDocumentGetArtBox (
    CGPDFDocumentRef document,
    int page
);
To
CGRect CGPDFDocumentGetArtBox (
    CGPDFDocumentRef _Nullable document,
    int page
);

Declaration
From
CGRect CGPDFDocumentGetBleedBox (
    CGPDFDocumentRef document,
    int page
);
To
CGRect CGPDFDocumentGetBleedBox (
    CGPDFDocumentRef _Nullable document,
    int page
);

Declaration
From
CGPDFDictionaryRef CGPDFDocumentGetCatalog (
    CGPDFDocumentRef document
);
To
CGPDFDictionaryRef _Nullable CGPDFDocumentGetCatalog (
    CGPDFDocumentRef _Nullable document
);

Declaration
From
CGRect CGPDFDocumentGetCropBox (
    CGPDFDocumentRef document,
    int page
);
To
CGRect CGPDFDocumentGetCropBox (
    CGPDFDocumentRef _Nullable document,
    int page
);

Declaration
From
CGPDFArrayRef CGPDFDocumentGetID (
    CGPDFDocumentRef document
);
To
CGPDFArrayRef _Nullable CGPDFDocumentGetID (
    CGPDFDocumentRef _Nullable document
);

Declaration
From
CGPDFDictionaryRef CGPDFDocumentGetInfo (
    CGPDFDocumentRef document
);
To
CGPDFDictionaryRef _Nullable CGPDFDocumentGetInfo (
    CGPDFDocumentRef _Nullable document
);

Declaration
From
CGRect CGPDFDocumentGetMediaBox (
    CGPDFDocumentRef document,
    int page
);
To
CGRect CGPDFDocumentGetMediaBox (
    CGPDFDocumentRef _Nullable document,
    int page
);

Declaration
From
size_t CGPDFDocumentGetNumberOfPages (
    CGPDFDocumentRef document
);
To
size_t CGPDFDocumentGetNumberOfPages (
    CGPDFDocumentRef _Nullable document
);

Declaration
From
CGPDFPageRef CGPDFDocumentGetPage (
    CGPDFDocumentRef document,
    size_t pageNumber
);
To
CGPDFPageRef _Nullable CGPDFDocumentGetPage (
    CGPDFDocumentRef _Nullable document,
    size_t pageNumber
);

Declaration
From
int CGPDFDocumentGetRotationAngle (
    CGPDFDocumentRef document,
    int page
);
To
int CGPDFDocumentGetRotationAngle (
    CGPDFDocumentRef _Nullable document,
    int page
);

Declaration
From
CGRect CGPDFDocumentGetTrimBox (
    CGPDFDocumentRef document,
    int page
);
To
CGRect CGPDFDocumentGetTrimBox (
    CGPDFDocumentRef _Nullable document,
    int page
);

Declaration
From
void CGPDFDocumentGetVersion (
    CGPDFDocumentRef document,
    int *majorVersion,
    int *minorVersion
);
To
void CGPDFDocumentGetVersion (
    CGPDFDocumentRef _Nullable document,
    int * _Nonnull majorVersion,
    int * _Nonnull minorVersion
);

Declaration
From
bool CGPDFDocumentIsEncrypted (
    CGPDFDocumentRef document
);
To
bool CGPDFDocumentIsEncrypted (
    CGPDFDocumentRef _Nullable document
);

Declaration
From
bool CGPDFDocumentIsUnlocked (
    CGPDFDocumentRef document
);
To
bool CGPDFDocumentIsUnlocked (
    CGPDFDocumentRef _Nullable document
);

Declaration
From
void CGPDFDocumentRelease (
    CGPDFDocumentRef document
);
To
void CGPDFDocumentRelease (
    CGPDFDocumentRef _Nullable document
);

Declaration
From
CGPDFDocumentRef CGPDFDocumentRetain (
    CGPDFDocumentRef document
);
To
CGPDFDocumentRef _Nullable CGPDFDocumentRetain (
    CGPDFDocumentRef _Nullable document
);

Declaration
From
bool CGPDFDocumentUnlockWithPassword (
    CGPDFDocumentRef document,
    const char *password
);
To
bool CGPDFDocumentUnlockWithPassword (
    CGPDFDocumentRef _Nullable document,
    const char * _Nonnull password
);

CGPDFObject.h

Declaration
From
CGPDFObjectType CGPDFObjectGetType (
    CGPDFObjectRef object
);
To
CGPDFObjectType CGPDFObjectGetType (
    CGPDFObjectRef _Nullable object
);

Declaration
From
bool CGPDFObjectGetValue (
    CGPDFObjectRef object,
    CGPDFObjectType type,
    void *value
);
To
bool CGPDFObjectGetValue (
    CGPDFObjectRef _Nullable object,
    CGPDFObjectType type,
    void * _Nullable value
);

CGPDFOperatorTable.h

Declaration
From
CGPDFOperatorTableRef CGPDFOperatorTableCreate (
    void
);
To
CGPDFOperatorTableRef _Nullable CGPDFOperatorTableCreate (
    void
);

Declaration
From
void CGPDFOperatorTableRelease (
    CGPDFOperatorTableRef table
);
To
void CGPDFOperatorTableRelease (
    CGPDFOperatorTableRef _Nullable table
);

Declaration
From
CGPDFOperatorTableRef CGPDFOperatorTableRetain (
    CGPDFOperatorTableRef table
);
To
CGPDFOperatorTableRef _Nullable CGPDFOperatorTableRetain (
    CGPDFOperatorTableRef _Nullable table
);

Declaration
From
void CGPDFOperatorTableSetCallback (
    CGPDFOperatorTableRef table,
    const char *name,
    CGPDFOperatorCallback callback
);
To
void CGPDFOperatorTableSetCallback (
    CGPDFOperatorTableRef _Nullable table,
    const char * _Nullable name,
    CGPDFOperatorCallback _Nullable callback
);

CGPDFPage.h

Declaration
From
CGRect CGPDFPageGetBoxRect (
    CGPDFPageRef page,
    CGPDFBox box
);
To
CGRect CGPDFPageGetBoxRect (
    CGPDFPageRef _Nullable page,
    CGPDFBox box
);

Declaration
From
CGPDFDictionaryRef CGPDFPageGetDictionary (
    CGPDFPageRef page
);
To
CGPDFDictionaryRef _Nullable CGPDFPageGetDictionary (
    CGPDFPageRef _Nullable page
);

Declaration
From
CGPDFDocumentRef CGPDFPageGetDocument (
    CGPDFPageRef page
);
To
CGPDFDocumentRef _Nullable CGPDFPageGetDocument (
    CGPDFPageRef _Nullable page
);

Declaration
From
CGAffineTransform CGPDFPageGetDrawingTransform (
    CGPDFPageRef page,
    CGPDFBox box,
    CGRect rect,
    int rotate,
    bool preserveAspectRatio
);
To
CGAffineTransform CGPDFPageGetDrawingTransform (
    CGPDFPageRef _Nullable page,
    CGPDFBox box,
    CGRect rect,
    int rotate,
    bool preserveAspectRatio
);

Declaration
From
size_t CGPDFPageGetPageNumber (
    CGPDFPageRef page
);
To
size_t CGPDFPageGetPageNumber (
    CGPDFPageRef _Nullable page
);

Declaration
From
int CGPDFPageGetRotationAngle (
    CGPDFPageRef page
);
To
int CGPDFPageGetRotationAngle (
    CGPDFPageRef _Nullable page
);

Declaration
From
void CGPDFPageRelease (
    CGPDFPageRef page
);
To
void CGPDFPageRelease (
    CGPDFPageRef _Nullable page
);

Declaration
From
CGPDFPageRef CGPDFPageRetain (
    CGPDFPageRef page
);
To
CGPDFPageRef _Nullable CGPDFPageRetain (
    CGPDFPageRef _Nullable page
);

CGPDFScanner.h

Declaration
From
CGPDFScannerRef CGPDFScannerCreate (
    CGPDFContentStreamRef cs,
    CGPDFOperatorTableRef table,
    void *info
);
To
CGPDFScannerRef _Nonnull CGPDFScannerCreate (
    CGPDFContentStreamRef _Nonnull cs,
    CGPDFOperatorTableRef _Nullable table,
    void * _Nullable info
);

Declaration
From
CGPDFContentStreamRef CGPDFScannerGetContentStream (
    CGPDFScannerRef scanner
);
To
CGPDFContentStreamRef _Nonnull CGPDFScannerGetContentStream (
    CGPDFScannerRef _Nonnull scanner
);

Declaration
From
bool CGPDFScannerPopArray (
    CGPDFScannerRef scanner,
    CGPDFArrayRef *value
);
To
bool CGPDFScannerPopArray (
    CGPDFScannerRef _Nonnull scanner,
    CGPDFArrayRef  _Nullable * _Nullable value
);

Declaration
From
bool CGPDFScannerPopBoolean (
    CGPDFScannerRef scanner,
    CGPDFBoolean *value
);
To
bool CGPDFScannerPopBoolean (
    CGPDFScannerRef _Nonnull scanner,
    CGPDFBoolean * _Nullable value
);

Declaration
From
bool CGPDFScannerPopDictionary (
    CGPDFScannerRef scanner,
    CGPDFDictionaryRef *value
);
To
bool CGPDFScannerPopDictionary (
    CGPDFScannerRef _Nonnull scanner,
    CGPDFDictionaryRef  _Nullable * _Nullable value
);

Declaration
From
bool CGPDFScannerPopInteger (
    CGPDFScannerRef scanner,
    CGPDFInteger *value
);
To
bool CGPDFScannerPopInteger (
    CGPDFScannerRef _Nonnull scanner,
    CGPDFInteger * _Nullable value
);

Declaration
From
bool CGPDFScannerPopName (
    CGPDFScannerRef scanner,
    const char **value
);
To
bool CGPDFScannerPopName (
    CGPDFScannerRef _Nonnull scanner,
    const char * _Nullable * _Nullable value
);

Declaration
From
bool CGPDFScannerPopNumber (
    CGPDFScannerRef scanner,
    CGPDFReal *value
);
To
bool CGPDFScannerPopNumber (
    CGPDFScannerRef _Nonnull scanner,
    CGPDFReal * _Nullable value
);

Declaration
From
bool CGPDFScannerPopObject (
    CGPDFScannerRef scanner,
    CGPDFObjectRef *value
);
To
bool CGPDFScannerPopObject (
    CGPDFScannerRef _Nonnull scanner,
    CGPDFObjectRef  _Nullable * _Nullable value
);

Declaration
From
bool CGPDFScannerPopStream (
    CGPDFScannerRef scanner,
    CGPDFStreamRef *value
);
To
bool CGPDFScannerPopStream (
    CGPDFScannerRef _Nonnull scanner,
    CGPDFStreamRef  _Nullable * _Nullable value
);

Declaration
From
bool CGPDFScannerPopString (
    CGPDFScannerRef scanner,
    CGPDFStringRef *value
);
To
bool CGPDFScannerPopString (
    CGPDFScannerRef _Nonnull scanner,
    CGPDFStringRef  _Nullable * _Nullable value
);

Declaration
From
void CGPDFScannerRelease (
    CGPDFScannerRef scanner
);
To
void CGPDFScannerRelease (
    CGPDFScannerRef _Nullable scanner
);

Declaration
From
CGPDFScannerRef CGPDFScannerRetain (
    CGPDFScannerRef scanner
);
To
CGPDFScannerRef _Nullable CGPDFScannerRetain (
    CGPDFScannerRef _Nullable scanner
);

Declaration
From
bool CGPDFScannerScan (
    CGPDFScannerRef scanner
);
To
bool CGPDFScannerScan (
    CGPDFScannerRef _Nullable scanner
);

CGPDFStream.h

Declaration
From
CFDataRef CGPDFStreamCopyData (
    CGPDFStreamRef stream,
    CGPDFDataFormat *format
);
To
CFDataRef _Nullable CGPDFStreamCopyData (
    CGPDFStreamRef _Nullable stream,
    CGPDFDataFormat * _Nullable format
);

Declaration
From
CGPDFDictionaryRef CGPDFStreamGetDictionary (
    CGPDFStreamRef stream
);
To
CGPDFDictionaryRef _Nullable CGPDFStreamGetDictionary (
    CGPDFStreamRef _Nullable stream
);

CGPDFString.h

Declaration
From
CFDateRef CGPDFStringCopyDate (
    CGPDFStringRef string
);
To
CFDateRef _Nullable CGPDFStringCopyDate (
    CGPDFStringRef _Nullable string
);

Declaration
From
CFStringRef CGPDFStringCopyTextString (
    CGPDFStringRef string
);
To
CFStringRef _Nullable CGPDFStringCopyTextString (
    CGPDFStringRef _Nullable string
);

Declaration
From
const unsigned char * CGPDFStringGetBytePtr (
    CGPDFStringRef string
);
To
const unsigned char * _Nullable CGPDFStringGetBytePtr (
    CGPDFStringRef _Nullable string
);

Declaration
From
size_t CGPDFStringGetLength (
    CGPDFStringRef string
);
To
size_t CGPDFStringGetLength (
    CGPDFStringRef _Nullable string
);

CGPSConverter.h

Declaration
From
bool CGPSConverterAbort (
    CGPSConverterRef converter
);
To
bool CGPSConverterAbort (
    CGPSConverterRef _Nonnull converter
);

Declaration
From
bool CGPSConverterConvert (
    CGPSConverterRef converter,
    CGDataProviderRef provider,
    CGDataConsumerRef consumer,
    CFDictionaryRef options
);
To
bool CGPSConverterConvert (
    CGPSConverterRef _Nonnull converter,
    CGDataProviderRef _Nonnull provider,
    CGDataConsumerRef _Nonnull consumer,
    CFDictionaryRef _Nullable options
);

Declaration
From
CGPSConverterRef CGPSConverterCreate (
    void *info,
    const CGPSConverterCallbacks *callbacks,
    CFDictionaryRef options
);
To
CGPSConverterRef _Nullable CGPSConverterCreate (
    void * _Nullable info,
    const CGPSConverterCallbacks * _Nonnull callbacks,
    CFDictionaryRef _Nullable options
);

Declaration
From
bool CGPSConverterIsConverting (
    CGPSConverterRef converter
);
To
bool CGPSConverterIsConverting (
    CGPSConverterRef _Nonnull converter
);

CGRemoteOperation.h

Declaration
From
CGError CGRegisterScreenRefreshCallback (
    CGScreenRefreshCallback callback,
    void *userInfo
);
To
CGError CGRegisterScreenRefreshCallback (
    CGScreenRefreshCallback _Nonnull callback,
    void * _Nullable userInfo
);

Declaration
From
void CGReleaseScreenRefreshRects (
    CGRect *rects
);
To
void CGReleaseScreenRefreshRects (
    CGRect * _Nullable rects
);

Declaration
From
CGError CGScreenRegisterMoveCallback (
    CGScreenUpdateMoveCallback callback,
    void *userInfo
);
To
CGError CGScreenRegisterMoveCallback (
    CGScreenUpdateMoveCallback _Nonnull callback,
    void * _Nullable userInfo
);

Declaration
From
void CGScreenUnregisterMoveCallback (
    CGScreenUpdateMoveCallback callback,
    void *userInfo
);
To
void CGScreenUnregisterMoveCallback (
    CGScreenUpdateMoveCallback _Nonnull callback,
    void * _Nullable userInfo
);

Declaration
From
void CGUnregisterScreenRefreshCallback (
    CGScreenRefreshCallback callback,
    void *userInfo
);
To
void CGUnregisterScreenRefreshCallback (
    CGScreenRefreshCallback _Nonnull callback,
    void * _Nullable userInfo
);

Declaration
From
CGError CGWaitForScreenRefreshRects (
    CGRect **rects,
    uint32_t *count
);
To
CGError CGWaitForScreenRefreshRects (
    CGRect * _Nullable * _Nullable rects,
    uint32_t * _Nullable count
);

Declaration
From
CGError CGWaitForScreenUpdateRects (
    CGScreenUpdateOperation requestedOperations,
    CGScreenUpdateOperation *currentOperation,
    CGRect **rects,
    size_t *rectCount,
    CGScreenUpdateMoveDelta *delta
);
To
CGError CGWaitForScreenUpdateRects (
    CGScreenUpdateOperation requestedOperations,
    CGScreenUpdateOperation * _Nullable currentOperation,
    CGRect * _Nullable * _Nullable rects,
    size_t * _Nullable rectCount,
    CGScreenUpdateMoveDelta * _Nullable delta
);

Declaration
From
CFMachPortRef CGWindowServerCFMachPort (
    void
);
To
CFMachPortRef _Nullable CGWindowServerCFMachPort (
    void
);

Declaration
From
CFMachPortRef CGWindowServerCreateServerPort (
    void
);
To
CFMachPortRef _Nullable CGWindowServerCreateServerPort (
    void
);

CGSession.h

Declaration
From
CFDictionaryRef CGSessionCopyCurrentDictionary (
    void
);
To
CFDictionaryRef _Nullable CGSessionCopyCurrentDictionary (
    void
);

CGShading.h

Declaration
From
CGShadingRef CGShadingCreateAxial (
    CGColorSpaceRef space,
    CGPoint start,
    CGPoint end,
    CGFunctionRef function,
    bool extendStart,
    bool extendEnd
);
To
CGShadingRef _Nullable CGShadingCreateAxial (
    CGColorSpaceRef _Nullable space,
    CGPoint start,
    CGPoint end,
    CGFunctionRef _Nullable function,
    bool extendStart,
    bool extendEnd
);

Declaration
From
CGShadingRef CGShadingCreateRadial (
    CGColorSpaceRef space,
    CGPoint start,
    CGFloat startRadius,
    CGPoint end,
    CGFloat endRadius,
    CGFunctionRef function,
    bool extendStart,
    bool extendEnd
);
To
CGShadingRef _Nullable CGShadingCreateRadial (
    CGColorSpaceRef _Nullable space,
    CGPoint start,
    CGFloat startRadius,
    CGPoint end,
    CGFloat endRadius,
    CGFunctionRef _Nullable function,
    bool extendStart,
    bool extendEnd
);

Declaration
From
void CGShadingRelease (
    CGShadingRef shading
);
To
void CGShadingRelease (
    CGShadingRef _Nullable shading
);

Declaration
From
CGShadingRef CGShadingRetain (
    CGShadingRef shading
);
To
CGShadingRef _Nullable CGShadingRetain (
    CGShadingRef _Nullable shading
);

CGWindow.h

Declaration
From
CFArrayRef CGWindowListCopyWindowInfo (
    CGWindowListOption option,
    CGWindowID relativeToWindow
);
To
CFArrayRef _Nullable CGWindowListCopyWindowInfo (
    CGWindowListOption option,
    CGWindowID relativeToWindow
);

Declaration
From
CFArrayRef CGWindowListCreate (
    CGWindowListOption option,
    CGWindowID relativeToWindow
);
To
CFArrayRef _Nullable CGWindowListCreate (
    CGWindowListOption option,
    CGWindowID relativeToWindow
);

Declaration
From
CFArrayRef CGWindowListCreateDescriptionFromArray (
    CFArrayRef windowArray
);
To
CFArrayRef _Nullable CGWindowListCreateDescriptionFromArray (
    CFArrayRef _Nullable windowArray
);

Declaration
From
CGImageRef CGWindowListCreateImage (
    CGRect screenBounds,
    CGWindowListOption listOption,
    CGWindowID windowID,
    CGWindowImageOption imageOption
);
To
CGImageRef _Nullable CGWindowListCreateImage (
    CGRect screenBounds,
    CGWindowListOption listOption,
    CGWindowID windowID,
    CGWindowImageOption imageOption
);

Declaration
From
CGImageRef CGWindowListCreateImageFromArray (
    CGRect screenBounds,
    CFArrayRef windowArray,
    CGWindowImageOption imageOption
);
To
CGImageRef _Nullable CGWindowListCreateImageFromArray (
    CGRect screenBounds,
    CFArrayRef _Nonnull windowArray,
    CGWindowImageOption imageOption
);