Documentation Archive Developer
Search

CoreText Changes for Objective-C

CoreText

CoreText.h

CTDefines.h

Removed #def CT_BRIDGED_TYPE

CTFont.h

Declaration
From
CFTypeRef CTFontCopyAttribute (
    CTFontRef font,
    CFStringRef attribute
);
To
CFTypeRef _Nullable CTFontCopyAttribute (
    CTFontRef _Nonnull font,
    CFStringRef _Nonnull attribute
);

Declaration
From
CFArrayRef CTFontCopyAvailableTables (
    CTFontRef font,
    CTFontTableOptions options
);
To
CFArrayRef _Nullable CTFontCopyAvailableTables (
    CTFontRef _Nonnull font,
    CTFontTableOptions options
);

Declaration
From
CFCharacterSetRef CTFontCopyCharacterSet (
    CTFontRef font
);
To
CFCharacterSetRef _Nonnull CTFontCopyCharacterSet (
    CTFontRef _Nonnull font
);

Declaration
From
CFArrayRef CTFontCopyDefaultCascadeListForLanguages (
    CTFontRef font,
    CFArrayRef languagePrefList
);
To
CFArrayRef _Nullable CTFontCopyDefaultCascadeListForLanguages (
    CTFontRef _Nonnull font,
    CFArrayRef _Nullable languagePrefList
);

Declaration
From
CFStringRef CTFontCopyDisplayName (
    CTFontRef font
);
To
CFStringRef _Nonnull CTFontCopyDisplayName (
    CTFontRef _Nonnull font
);

Declaration
From
CFStringRef CTFontCopyFamilyName (
    CTFontRef font
);
To
CFStringRef _Nonnull CTFontCopyFamilyName (
    CTFontRef _Nonnull font
);

Declaration
From
CFArrayRef CTFontCopyFeatures (
    CTFontRef font
);
To
CFArrayRef _Nullable CTFontCopyFeatures (
    CTFontRef _Nonnull font
);

Declaration
From
CFArrayRef CTFontCopyFeatureSettings (
    CTFontRef font
);
To
CFArrayRef _Nullable CTFontCopyFeatureSettings (
    CTFontRef _Nonnull font
);

Declaration
From
CTFontDescriptorRef CTFontCopyFontDescriptor (
    CTFontRef font
);
To
CTFontDescriptorRef _Nonnull CTFontCopyFontDescriptor (
    CTFontRef _Nonnull font
);

Declaration
From
CFStringRef CTFontCopyFullName (
    CTFontRef font
);
To
CFStringRef _Nonnull CTFontCopyFullName (
    CTFontRef _Nonnull font
);

Declaration
From
CGFontRef CTFontCopyGraphicsFont (
    CTFontRef font,
    CTFontDescriptorRef *attributes
);
To
CGFontRef _Nonnull CTFontCopyGraphicsFont (
    CTFontRef _Nonnull font,
    CTFontDescriptorRef  _Nullable * _Nullable attributes
);

Declaration
From
CFStringRef CTFontCopyLocalizedName (
    CTFontRef font,
    CFStringRef nameKey,
    CFStringRef *actualLanguage
);
To
CFStringRef _Nullable CTFontCopyLocalizedName (
    CTFontRef _Nonnull font,
    CFStringRef _Nonnull nameKey,
    CFStringRef  _Nullable * _Nullable actualLanguage
);

Declaration
From
CFStringRef CTFontCopyName (
    CTFontRef font,
    CFStringRef nameKey
);
To
CFStringRef _Nullable CTFontCopyName (
    CTFontRef _Nonnull font,
    CFStringRef _Nonnull nameKey
);

Declaration
From
CFStringRef CTFontCopyPostScriptName (
    CTFontRef font
);
To
CFStringRef _Nonnull CTFontCopyPostScriptName (
    CTFontRef _Nonnull font
);

Declaration
From
CFArrayRef CTFontCopySupportedLanguages (
    CTFontRef font
);
To
CFArrayRef _Nonnull CTFontCopySupportedLanguages (
    CTFontRef _Nonnull font
);

Declaration
From
CFDataRef CTFontCopyTable (
    CTFontRef font,
    CTFontTableTag table,
    CTFontTableOptions options
);
To
CFDataRef _Nullable CTFontCopyTable (
    CTFontRef _Nonnull font,
    CTFontTableTag table,
    CTFontTableOptions options
);

Declaration
From
CFDictionaryRef CTFontCopyTraits (
    CTFontRef font
);
To
CFDictionaryRef _Nonnull CTFontCopyTraits (
    CTFontRef _Nonnull font
);

Declaration
From
CFDictionaryRef CTFontCopyVariation (
    CTFontRef font
);
To
CFDictionaryRef _Nullable CTFontCopyVariation (
    CTFontRef _Nonnull font
);

Declaration
From
CFArrayRef CTFontCopyVariationAxes (
    CTFontRef font
);
To
CFArrayRef _Nullable CTFontCopyVariationAxes (
    CTFontRef _Nonnull font
);

Declaration
From
CTFontRef CTFontCreateCopyWithAttributes (
    CTFontRef font,
    CGFloat size,
    const CGAffineTransform *matrix,
    CTFontDescriptorRef attributes
);
To
CTFontRef _Nonnull CTFontCreateCopyWithAttributes (
    CTFontRef _Nonnull font,
    CGFloat size,
    const CGAffineTransform * _Nullable matrix,
    CTFontDescriptorRef _Nullable attributes
);

Declaration
From
CTFontRef CTFontCreateCopyWithFamily (
    CTFontRef font,
    CGFloat size,
    const CGAffineTransform *matrix,
    CFStringRef family
);
To
CTFontRef _Nullable CTFontCreateCopyWithFamily (
    CTFontRef _Nonnull font,
    CGFloat size,
    const CGAffineTransform * _Nullable matrix,
    CFStringRef _Nonnull family
);

Declaration
From
CTFontRef CTFontCreateCopyWithSymbolicTraits (
    CTFontRef font,
    CGFloat size,
    const CGAffineTransform *matrix,
    CTFontSymbolicTraits symTraitValue,
    CTFontSymbolicTraits symTraitMask
);
To
CTFontRef _Nullable CTFontCreateCopyWithSymbolicTraits (
    CTFontRef _Nonnull font,
    CGFloat size,
    const CGAffineTransform * _Nullable matrix,
    CTFontSymbolicTraits symTraitValue,
    CTFontSymbolicTraits symTraitMask
);

Declaration
From
CTFontRef CTFontCreateForString (
    CTFontRef currentFont,
    CFStringRef string,
    CFRange range
);
To
CTFontRef _Nonnull CTFontCreateForString (
    CTFontRef _Nonnull currentFont,
    CFStringRef _Nonnull string,
    CFRange range
);

Declaration
From
CGPathRef CTFontCreatePathForGlyph (
    CTFontRef font,
    CGGlyph glyph,
    const CGAffineTransform *transform
);
To
CGPathRef _Nullable CTFontCreatePathForGlyph (
    CTFontRef _Nonnull font,
    CGGlyph glyph,
    const CGAffineTransform * _Nullable matrix
);

Declaration
From
CTFontRef CTFontCreateUIFontForLanguage (
    CTFontUIFontType uiType,
    CGFloat size,
    CFStringRef language
);
To
CTFontRef _Nullable CTFontCreateUIFontForLanguage (
    CTFontUIFontType uiType,
    CGFloat size,
    CFStringRef _Nullable language
);

Declaration
From
CTFontRef CTFontCreateWithFontDescriptor (
    CTFontDescriptorRef descriptor,
    CGFloat size,
    const CGAffineTransform *matrix
);
To
CTFontRef _Nonnull CTFontCreateWithFontDescriptor (
    CTFontDescriptorRef _Nonnull descriptor,
    CGFloat size,
    const CGAffineTransform * _Nullable matrix
);

Declaration
From
CTFontRef CTFontCreateWithFontDescriptorAndOptions (
    CTFontDescriptorRef descriptor,
    CGFloat size,
    const CGAffineTransform *matrix,
    CTFontOptions options
);
To
CTFontRef _Nonnull CTFontCreateWithFontDescriptorAndOptions (
    CTFontDescriptorRef _Nonnull descriptor,
    CGFloat size,
    const CGAffineTransform * _Nullable matrix,
    CTFontOptions options
);

Declaration
From
CTFontRef CTFontCreateWithGraphicsFont (
    CGFontRef graphicsFont,
    CGFloat size,
    const CGAffineTransform *matrix,
    CTFontDescriptorRef attributes
);
To
CTFontRef _Nonnull CTFontCreateWithGraphicsFont (
    CGFontRef _Nonnull graphicsFont,
    CGFloat size,
    const CGAffineTransform * _Nullable matrix,
    CTFontDescriptorRef _Nullable attributes
);

Declaration
From
CTFontRef CTFontCreateWithName (
    CFStringRef name,
    CGFloat size,
    const CGAffineTransform *matrix
);
To
CTFontRef _Nonnull CTFontCreateWithName (
    CFStringRef _Nullable name,
    CGFloat size,
    const CGAffineTransform * _Nullable matrix
);

Declaration
From
CTFontRef CTFontCreateWithNameAndOptions (
    CFStringRef name,
    CGFloat size,
    const CGAffineTransform *matrix,
    CTFontOptions options
);
To
CTFontRef _Nonnull CTFontCreateWithNameAndOptions (
    CFStringRef _Nonnull name,
    CGFloat size,
    const CGAffineTransform * _Nullable matrix,
    CTFontOptions options
);

Declaration
From
CTFontRef CTFontCreateWithPlatformFont (
    ATSFontRef platformFont,
    CGFloat size,
    const CGAffineTransform *matrix,
    CTFontDescriptorRef attributes
);
To
CTFontRef _Nullable CTFontCreateWithPlatformFont (
    ATSFontRef platformFont,
    CGFloat size,
    const CGAffineTransform * _Nullable matrix,
    CTFontDescriptorRef _Nullable attributes
);

Declaration
From
CTFontRef CTFontCreateWithQuickdrawInstance (
    ConstStr255Param name,
    int16_t identifier,
    uint8_t style,
    CGFloat size
);
To
CTFontRef _Nonnull CTFontCreateWithQuickdrawInstance (
    ConstStr255Param _Nullable name,
    int16_t identifier,
    uint8_t style,
    CGFloat size
);

Declaration
From
void CTFontDrawGlyphs (
    CTFontRef font,
    const CGGlyph glyphs[],
    const CGPoint positions[],
    size_t count,
    CGContextRef context
);
To
void CTFontDrawGlyphs (
    CTFontRef _Nonnull font,
    const CGGlyph glyphs[],
    const CGPoint positions[],
    size_t count,
    CGContextRef _Nonnull context
);

Declaration
From
double CTFontGetAdvancesForGlyphs (
    CTFontRef font,
    CTFontOrientation orientation,
    const CGGlyph glyphs[],
    CGSize advances[],
    CFIndex count
);
To
double CTFontGetAdvancesForGlyphs (
    CTFontRef _Nonnull font,
    CTFontOrientation orientation,
    const CGGlyph glyphs[],
    CGSize * _Nullable advances,
    CFIndex count
);

Declaration
From
CGFloat CTFontGetAscent (
    CTFontRef font
);
To
CGFloat CTFontGetAscent (
    CTFontRef _Nonnull font
);

Declaration
From
CGRect CTFontGetBoundingBox (
    CTFontRef font
);
To
CGRect CTFontGetBoundingBox (
    CTFontRef _Nonnull font
);

Declaration
From
CGRect CTFontGetBoundingRectsForGlyphs (
    CTFontRef font,
    CTFontOrientation orientation,
    const CGGlyph glyphs[],
    CGRect boundingRects[],
    CFIndex count
);
To
CGRect CTFontGetBoundingRectsForGlyphs (
    CTFontRef _Nonnull font,
    CTFontOrientation orientation,
    const CGGlyph glyphs[],
    CGRect * _Nullable boundingRects,
    CFIndex count
);

Declaration
From
CGFloat CTFontGetCapHeight (
    CTFontRef font
);
To
CGFloat CTFontGetCapHeight (
    CTFontRef _Nonnull font
);

Declaration
From
CGFloat CTFontGetDescent (
    CTFontRef font
);
To
CGFloat CTFontGetDescent (
    CTFontRef _Nonnull font
);

Declaration
From
CFIndex CTFontGetGlyphCount (
    CTFontRef font
);
To
CFIndex CTFontGetGlyphCount (
    CTFontRef _Nonnull font
);

Declaration
From
bool CTFontGetGlyphsForCharacters (
    CTFontRef font,
    const UniChar characters[],
    CGGlyph glyphs[],
    CFIndex count
);
To
bool CTFontGetGlyphsForCharacters (
    CTFontRef _Nonnull font,
    const UniChar characters[],
    CGGlyph glyphs[],
    CFIndex count
);

Declaration
From
CGGlyph CTFontGetGlyphWithName (
    CTFontRef font,
    CFStringRef glyphName
);
To
CGGlyph CTFontGetGlyphWithName (
    CTFontRef _Nonnull font,
    CFStringRef _Nonnull glyphName
);

Declaration
From
CGFloat CTFontGetLeading (
    CTFontRef font
);
To
CGFloat CTFontGetLeading (
    CTFontRef _Nonnull font
);

Declaration
From
CFIndex CTFontGetLigatureCaretPositions (
    CTFontRef font,
    CGGlyph glyph,
    CGFloat positions[],
    CFIndex maxPositions
);
To
CFIndex CTFontGetLigatureCaretPositions (
    CTFontRef _Nonnull font,
    CGGlyph glyph,
    CGFloat * _Nullable positions,
    CFIndex maxPositions
);

Declaration
From
CGAffineTransform CTFontGetMatrix (
    CTFontRef font
);
To
CGAffineTransform CTFontGetMatrix (
    CTFontRef _Nonnull font
);

Declaration
From
CGRect CTFontGetOpticalBoundsForGlyphs (
    CTFontRef font,
    const CGGlyph glyphs[],
    CGRect boundingRects[],
    CFIndex count,
    CFOptionFlags options
);
To
CGRect CTFontGetOpticalBoundsForGlyphs (
    CTFontRef _Nonnull font,
    const CGGlyph glyphs[],
    CGRect * _Nullable boundingRects,
    CFIndex count,
    CFOptionFlags options
);

Declaration
From
ATSFontRef CTFontGetPlatformFont (
    CTFontRef font,
    CTFontDescriptorRef *attributes
);
To
ATSFontRef CTFontGetPlatformFont (
    CTFontRef _Nonnull font,
    CTFontDescriptorRef  _Nullable * _Nullable attributes
);

Declaration
From
CGFloat CTFontGetSize (
    CTFontRef font
);
To
CGFloat CTFontGetSize (
    CTFontRef _Nonnull font
);

Declaration
From
CGFloat CTFontGetSlantAngle (
    CTFontRef font
);
To
CGFloat CTFontGetSlantAngle (
    CTFontRef _Nonnull font
);

Declaration
From
CFStringEncoding CTFontGetStringEncoding (
    CTFontRef font
);
To
CFStringEncoding CTFontGetStringEncoding (
    CTFontRef _Nonnull font
);

Declaration
From
CTFontSymbolicTraits CTFontGetSymbolicTraits (
    CTFontRef font
);
To
CTFontSymbolicTraits CTFontGetSymbolicTraits (
    CTFontRef _Nonnull font
);

Declaration
From
CGFloat CTFontGetUnderlinePosition (
    CTFontRef font
);
To
CGFloat CTFontGetUnderlinePosition (
    CTFontRef _Nonnull font
);

Declaration
From
CGFloat CTFontGetUnderlineThickness (
    CTFontRef font
);
To
CGFloat CTFontGetUnderlineThickness (
    CTFontRef _Nonnull font
);

Declaration
From
unsigned int CTFontGetUnitsPerEm (
    CTFontRef font
);
To
unsigned int CTFontGetUnitsPerEm (
    CTFontRef _Nonnull font
);

Declaration
From
void CTFontGetVerticalTranslationsForGlyphs (
    CTFontRef font,
    const CGGlyph glyphs[],
    CGSize translations[],
    CFIndex count
);
To
void CTFontGetVerticalTranslationsForGlyphs (
    CTFontRef _Nonnull font,
    const CGGlyph glyphs[],
    CGSize translations[],
    CFIndex count
);

Declaration
From
CGFloat CTFontGetXHeight (
    CTFontRef font
);
To
CGFloat CTFontGetXHeight (
    CTFontRef _Nonnull font
);

Deprecation
From--
ToOS X 10.11

Deprecation
From--
ToOS X 10.11

Deprecation
From--
ToOS X 10.11

Deprecation
From--
ToOS X 10.11

Deprecation
From--
ToOS X 10.11

Deprecation
From--
ToOS X 10.11

Deprecation
From--
ToOS X 10.11

Deprecation
From--
ToOS X 10.11

Deprecation
From--
ToOS X 10.11

Deprecation
From--
ToOS X 10.11

Deprecation
From--
ToOS X 10.11

Deprecation
From--
ToOS X 10.11

Deprecation
From--
ToOS X 10.11

Deprecation
From--
ToOS X 10.11

Deprecation
From--
ToOS X 10.11

Deprecation
From--
ToOS X 10.11

Deprecation
From--
ToOS X 10.11

Deprecation
From--
ToOS X 10.11

Deprecation
From--
ToOS X 10.11

Deprecation
From--
ToOS X 10.11

Deprecation
From--
ToOS X 10.11

Deprecation
From--
ToOS X 10.11

Deprecation
From--
ToOS X 10.11

Deprecation
From--
ToOS X 10.11

Deprecation
From--
ToOS X 10.11

Deprecation
From--
ToOS X 10.11

Deprecation
From--
ToOS X 10.11

Deprecation
From--
ToOS X 10.11

CTFontCollection.h

Declaration
From
CFArrayRef CTFontCollectionCopyExclusionDescriptors (
    CTFontCollectionRef collection
);
To
CFArrayRef _Nullable CTFontCollectionCopyExclusionDescriptors (
    CTFontCollectionRef _Nonnull collection
);

Declaration
From
CFArrayRef CTFontCollectionCopyFontAttribute (
    CTFontCollectionRef collection,
    CFStringRef attributeName,
    CTFontCollectionCopyOptions options
);
To
CFArrayRef _Nonnull CTFontCollectionCopyFontAttribute (
    CTFontCollectionRef _Nonnull collection,
    CFStringRef _Nonnull attributeName,
    CTFontCollectionCopyOptions options
);

Declaration
From
CFArrayRef CTFontCollectionCopyFontAttributes (
    CTFontCollectionRef collection,
    CFSetRef attributeNames,
    CTFontCollectionCopyOptions options
);
To
CFArrayRef _Nonnull CTFontCollectionCopyFontAttributes (
    CTFontCollectionRef _Nonnull collection,
    CFSetRef _Nonnull attributeNames,
    CTFontCollectionCopyOptions options
);

Declaration
From
CFArrayRef CTFontCollectionCopyQueryDescriptors (
    CTFontCollectionRef collection
);
To
CFArrayRef _Nullable CTFontCollectionCopyQueryDescriptors (
    CTFontCollectionRef _Nonnull collection
);

Declaration
From
CTFontCollectionRef CTFontCollectionCreateCopyWithFontDescriptors (
    CTFontCollectionRef original,
    CFArrayRef queryDescriptors,
    CFDictionaryRef options
);
To
CTFontCollectionRef _Nonnull CTFontCollectionCreateCopyWithFontDescriptors (
    CTFontCollectionRef _Nonnull original,
    CFArrayRef _Nullable queryDescriptors,
    CFDictionaryRef _Nullable options
);

Declaration
From
CTFontCollectionRef CTFontCollectionCreateFromAvailableFonts (
    CFDictionaryRef options
);
To
CTFontCollectionRef _Nonnull CTFontCollectionCreateFromAvailableFonts (
    CFDictionaryRef _Nullable options
);

Declaration
From
CFArrayRef CTFontCollectionCreateMatchingFontDescriptors (
    CTFontCollectionRef collection
);
To
CFArrayRef _Nullable CTFontCollectionCreateMatchingFontDescriptors (
    CTFontCollectionRef _Nonnull collection
);

Declaration
From
CFArrayRef CTFontCollectionCreateMatchingFontDescriptorsForFamily (
    CTFontCollectionRef collection,
    CFStringRef familyName,
    CFDictionaryRef options
);
To
CFArrayRef _Nullable CTFontCollectionCreateMatchingFontDescriptorsForFamily (
    CTFontCollectionRef _Nonnull collection,
    CFStringRef _Nonnull familyName,
    CFDictionaryRef _Nullable options
);

Declaration
From
CFArrayRef CTFontCollectionCreateMatchingFontDescriptorsSortedWithCallback (
    CTFontCollectionRef collection,
    CTFontCollectionSortDescriptorsCallback sortCallback,
    void *refCon
);
To
CFArrayRef _Nullable CTFontCollectionCreateMatchingFontDescriptorsSortedWithCallback (
    CTFontCollectionRef _Nonnull collection,
    CTFontCollectionSortDescriptorsCallback _Nullable sortCallback,
    void * _Nullable refCon
);

Declaration
From
CFArrayRef CTFontCollectionCreateMatchingFontDescriptorsWithOptions (
    CTFontCollectionRef collection,
    CFDictionaryRef options
);
To
CFArrayRef _Nullable CTFontCollectionCreateMatchingFontDescriptorsWithOptions (
    CTFontCollectionRef _Nonnull collection,
    CFDictionaryRef _Nullable options
);

Declaration
From
CTMutableFontCollectionRef CTFontCollectionCreateMutableCopy (
    CTFontCollectionRef original
);
To
CTMutableFontCollectionRef _Nonnull CTFontCollectionCreateMutableCopy (
    CTFontCollectionRef _Nonnull original
);

Declaration
From
CTFontCollectionRef CTFontCollectionCreateWithFontDescriptors (
    CFArrayRef queryDescriptors,
    CFDictionaryRef options
);
To
CTFontCollectionRef _Nonnull CTFontCollectionCreateWithFontDescriptors (
    CFArrayRef _Nullable queryDescriptors,
    CFDictionaryRef _Nullable options
);

Declaration
From
void CTFontCollectionSetExclusionDescriptors (
    CTMutableFontCollectionRef collection,
    CFArrayRef descriptors
);
To
void CTFontCollectionSetExclusionDescriptors (
    CTMutableFontCollectionRef _Nonnull collection,
    CFArrayRef _Nullable descriptors
);

Declaration
From
void CTFontCollectionSetQueryDescriptors (
    CTMutableFontCollectionRef collection,
    CFArrayRef descriptors
);
To
void CTFontCollectionSetQueryDescriptors (
    CTMutableFontCollectionRef _Nonnull collection,
    CFArrayRef _Nullable descriptors
);

CTFontDescriptor.h

Declaration
From
CFTypeRef CTFontDescriptorCopyAttribute (
    CTFontDescriptorRef descriptor,
    CFStringRef attribute
);
To
CFTypeRef _Nullable CTFontDescriptorCopyAttribute (
    CTFontDescriptorRef _Nonnull descriptor,
    CFStringRef _Nonnull attribute
);

Declaration
From
CFDictionaryRef CTFontDescriptorCopyAttributes (
    CTFontDescriptorRef descriptor
);
To
CFDictionaryRef _Nonnull CTFontDescriptorCopyAttributes (
    CTFontDescriptorRef _Nonnull descriptor
);

Declaration
From
CFTypeRef CTFontDescriptorCopyLocalizedAttribute (
    CTFontDescriptorRef descriptor,
    CFStringRef attribute,
    CFStringRef *language
);
To
CFTypeRef _Nullable CTFontDescriptorCopyLocalizedAttribute (
    CTFontDescriptorRef _Nonnull descriptor,
    CFStringRef _Nonnull attribute,
    CFStringRef  _Nullable * _Nullable language
);

Declaration
From
CTFontDescriptorRef CTFontDescriptorCreateCopyWithAttributes (
    CTFontDescriptorRef original,
    CFDictionaryRef attributes
);
To
CTFontDescriptorRef _Nonnull CTFontDescriptorCreateCopyWithAttributes (
    CTFontDescriptorRef _Nonnull original,
    CFDictionaryRef _Nonnull attributes
);

Declaration
From
CTFontDescriptorRef CTFontDescriptorCreateCopyWithFamily (
    CTFontDescriptorRef original,
    CFStringRef family
);
To
CTFontDescriptorRef _Nullable CTFontDescriptorCreateCopyWithFamily (
    CTFontDescriptorRef _Nonnull original,
    CFStringRef _Nonnull family
);

Declaration
From
CTFontDescriptorRef CTFontDescriptorCreateCopyWithFeature (
    CTFontDescriptorRef original,
    CFNumberRef featureTypeIdentifier,
    CFNumberRef featureSelectorIdentifier
);
To
CTFontDescriptorRef _Nonnull CTFontDescriptorCreateCopyWithFeature (
    CTFontDescriptorRef _Nonnull original,
    CFNumberRef _Nonnull featureTypeIdentifier,
    CFNumberRef _Nonnull featureSelectorIdentifier
);

Declaration
From
CTFontDescriptorRef CTFontDescriptorCreateCopyWithSymbolicTraits (
    CTFontDescriptorRef original,
    CTFontSymbolicTraits symTraitValue,
    CTFontSymbolicTraits symTraitMask
);
To
CTFontDescriptorRef _Nullable CTFontDescriptorCreateCopyWithSymbolicTraits (
    CTFontDescriptorRef _Nonnull original,
    CTFontSymbolicTraits symTraitValue,
    CTFontSymbolicTraits symTraitMask
);

Declaration
From
CTFontDescriptorRef CTFontDescriptorCreateCopyWithVariation (
    CTFontDescriptorRef original,
    CFNumberRef variationIdentifier,
    CGFloat variationValue
);
To
CTFontDescriptorRef _Nonnull CTFontDescriptorCreateCopyWithVariation (
    CTFontDescriptorRef _Nonnull original,
    CFNumberRef _Nonnull variationIdentifier,
    CGFloat variationValue
);

Declaration
From
CTFontDescriptorRef CTFontDescriptorCreateMatchingFontDescriptor (
    CTFontDescriptorRef descriptor,
    CFSetRef mandatoryAttributes
);
To
CTFontDescriptorRef _Nullable CTFontDescriptorCreateMatchingFontDescriptor (
    CTFontDescriptorRef _Nonnull descriptor,
    CFSetRef _Nullable mandatoryAttributes
);

Declaration
From
CFArrayRef CTFontDescriptorCreateMatchingFontDescriptors (
    CTFontDescriptorRef descriptor,
    CFSetRef mandatoryAttributes
);
To
CFArrayRef _Nullable CTFontDescriptorCreateMatchingFontDescriptors (
    CTFontDescriptorRef _Nonnull descriptor,
    CFSetRef _Nullable mandatoryAttributes
);

Declaration
From
CTFontDescriptorRef CTFontDescriptorCreateWithAttributes (
    CFDictionaryRef attributes
);
To
CTFontDescriptorRef _Nonnull CTFontDescriptorCreateWithAttributes (
    CFDictionaryRef _Nonnull attributes
);

Declaration
From
CTFontDescriptorRef CTFontDescriptorCreateWithNameAndSize (
    CFStringRef name,
    CGFloat size
);
To
CTFontDescriptorRef _Nonnull CTFontDescriptorCreateWithNameAndSize (
    CFStringRef _Nonnull name,
    CGFloat size
);

Declaration
From
bool CTFontDescriptorMatchFontDescriptorsWithProgressHandler (
    CFArrayRef descriptors,
    CFSetRef mandatoryAttributes,
    CTFontDescriptorProgressHandler progressBlock
);
To
bool CTFontDescriptorMatchFontDescriptorsWithProgressHandler (
    CFArrayRef _Nonnull descriptors,
    CFSetRef _Nullable mandatoryAttributes,
    CTFontDescriptorProgressHandler _Nonnull progressBlock
);

Deprecation
From--
ToOS X 10.11

Deprecation
From--
ToOS X 10.11

Deprecation
From--
ToOS X 10.11

CTFontManager.h

Declaration
From
CFComparisonResult CTFontManagerCompareFontFamilyNames (
    const void *family1,
    const void *family2,
    void *context
);
To
CFComparisonResult CTFontManagerCompareFontFamilyNames (
    const void * _Nonnull family1,
    const void * _Nonnull family2,
    void * _Nullable context
);

Declaration
From
CFArrayRef CTFontManagerCopyAvailableFontFamilyNames (
    void
);
To
CFArrayRef _Nonnull CTFontManagerCopyAvailableFontFamilyNames (
    void
);

Declaration
From
CFArrayRef CTFontManagerCopyAvailableFontURLs (
    void
);
To
CFArrayRef _Nonnull CTFontManagerCopyAvailableFontURLs (
    void
);

Declaration
From
CFArrayRef CTFontManagerCopyAvailablePostScriptNames (
    void
);
To
CFArrayRef _Nonnull CTFontManagerCopyAvailablePostScriptNames (
    void
);

Declaration
From
CTFontDescriptorRef CTFontManagerCreateFontDescriptorFromData (
    CFDataRef data
);
To
CTFontDescriptorRef _Nullable CTFontManagerCreateFontDescriptorFromData (
    CFDataRef _Nonnull data
);

Declaration
From
CFArrayRef CTFontManagerCreateFontDescriptorsFromURL (
    CFURLRef fileURL
);
To
CFArrayRef _Nullable CTFontManagerCreateFontDescriptorsFromURL (
    CFURLRef _Nonnull fileURL
);

Declaration
From
CFRunLoopSourceRef CTFontManagerCreateFontRequestRunLoopSource (
    CFIndex sourceOrder,
    CFArrayRef (^createMatchesCallback)(CFDictionaryRef requestAttributes, pid_t requestingProcess)
);
To
CFRunLoopSourceRef _Nullable CTFontManagerCreateFontRequestRunLoopSource (
    CFIndex sourceOrder,
    CFArrayRef  _Nonnull (^ _NonnullcreateMatchesCallback)(CFDictionaryRef _Nonnull requestAttributes, pid_t requestingProcess)
);

Declaration
From
void CTFontManagerEnableFontDescriptors (
    CFArrayRef descriptors,
    bool enable
);
To
void CTFontManagerEnableFontDescriptors (
    CFArrayRef _Nonnull descriptors,
    bool enable
);

Declaration
From
CTFontManagerAutoActivationSetting CTFontManagerGetAutoActivationSetting (
    CFStringRef bundleIdentifier
);
To
CTFontManagerAutoActivationSetting CTFontManagerGetAutoActivationSetting (
    CFStringRef _Nullable bundleIdentifier
);

Declaration
From
CTFontManagerScope CTFontManagerGetScopeForURL (
    CFURLRef fontURL
);
To
CTFontManagerScope CTFontManagerGetScopeForURL (
    CFURLRef _Nonnull fontURL
);

Declaration
From
bool CTFontManagerIsSupportedFont (
    CFURLRef fontURL
);
To
bool CTFontManagerIsSupportedFont (
    CFURLRef _Nonnull fontURL
);

Declaration
From
bool CTFontManagerRegisterFontsForURL (
    CFURLRef fontURL,
    CTFontManagerScope scope,
    CFErrorRef *error
);
To
bool CTFontManagerRegisterFontsForURL (
    CFURLRef _Nonnull fontURL,
    CTFontManagerScope scope,
    CFErrorRef  _Nullable * _Nullable error
);

Declaration
From
bool CTFontManagerRegisterFontsForURLs (
    CFArrayRef fontURLs,
    CTFontManagerScope scope,
    CFArrayRef *errors
);
To
bool CTFontManagerRegisterFontsForURLs (
    CFArrayRef _Nonnull fontURLs,
    CTFontManagerScope scope,
    CFArrayRef  _Nullable * _Nullable errors
);

Declaration
From
bool CTFontManagerRegisterGraphicsFont (
    CGFontRef font,
    CFErrorRef *error
);
To
bool CTFontManagerRegisterGraphicsFont (
    CGFontRef _Nonnull font,
    CFErrorRef  _Nullable * _Nullable error
);

Declaration
From
void CTFontManagerSetAutoActivationSetting (
    CFStringRef bundleIdentifier,
    CTFontManagerAutoActivationSetting setting
);
To
void CTFontManagerSetAutoActivationSetting (
    CFStringRef _Nullable bundleIdentifier,
    CTFontManagerAutoActivationSetting setting
);

Declaration
From
bool CTFontManagerUnregisterFontsForURL (
    CFURLRef fontURL,
    CTFontManagerScope scope,
    CFErrorRef *error
);
To
bool CTFontManagerUnregisterFontsForURL (
    CFURLRef _Nonnull fontURL,
    CTFontManagerScope scope,
    CFErrorRef  _Nullable * _Nullable error
);

Declaration
From
bool CTFontManagerUnregisterFontsForURLs (
    CFArrayRef fontURLs,
    CTFontManagerScope scope,
    CFArrayRef *errors
);
To
bool CTFontManagerUnregisterFontsForURLs (
    CFArrayRef _Nonnull fontURLs,
    CTFontManagerScope scope,
    CFArrayRef  _Nullable * _Nullable errors
);

Declaration
From
bool CTFontManagerUnregisterGraphicsFont (
    CGFontRef font,
    CFErrorRef *error
);
To
bool CTFontManagerUnregisterGraphicsFont (
    CGFontRef _Nonnull font,
    CFErrorRef  _Nullable * _Nullable error
);

CTFrame.h

Modified CTFrameDraw()
Declaration
From
void CTFrameDraw (
    CTFrameRef frame,
    CGContextRef context
);
To
void CTFrameDraw (
    CTFrameRef _Nonnull frame,
    CGContextRef _Nonnull context
);

Declaration
From
CFDictionaryRef CTFrameGetFrameAttributes (
    CTFrameRef frame
);
To
CFDictionaryRef _Nullable CTFrameGetFrameAttributes (
    CTFrameRef _Nonnull frame
);

Declaration
From
void CTFrameGetLineOrigins (
    CTFrameRef frame,
    CFRange range,
    CGPoint origins[]
);
To
void CTFrameGetLineOrigins (
    CTFrameRef _Nonnull frame,
    CFRange range,
    CGPoint origins[]
);

Declaration
From
CFArrayRef CTFrameGetLines (
    CTFrameRef frame
);
To
CFArrayRef _Nonnull CTFrameGetLines (
    CTFrameRef _Nonnull frame
);

Declaration
From
CGPathRef CTFrameGetPath (
    CTFrameRef frame
);
To
CGPathRef _Nonnull CTFrameGetPath (
    CTFrameRef _Nonnull frame
);

Declaration
From
CFRange CTFrameGetStringRange (
    CTFrameRef frame
);
To
CFRange CTFrameGetStringRange (
    CTFrameRef _Nonnull frame
);

Declaration
From
CFRange CTFrameGetVisibleStringRange (
    CTFrameRef frame
);
To
CFRange CTFrameGetVisibleStringRange (
    CTFrameRef _Nonnull frame
);

CTFramesetter.h

Declaration
From
CTFrameRef CTFramesetterCreateFrame (
    CTFramesetterRef framesetter,
    CFRange stringRange,
    CGPathRef path,
    CFDictionaryRef frameAttributes
);
To
CTFrameRef _Nonnull CTFramesetterCreateFrame (
    CTFramesetterRef _Nonnull framesetter,
    CFRange stringRange,
    CGPathRef _Nonnull path,
    CFDictionaryRef _Nullable frameAttributes
);

Declaration
From
CTFramesetterRef CTFramesetterCreateWithAttributedString (
    CFAttributedStringRef string
);
To
CTFramesetterRef _Nonnull CTFramesetterCreateWithAttributedString (
    CFAttributedStringRef _Nonnull string
);

Declaration
From
CTTypesetterRef CTFramesetterGetTypesetter (
    CTFramesetterRef framesetter
);
To
CTTypesetterRef _Nonnull CTFramesetterGetTypesetter (
    CTFramesetterRef _Nonnull framesetter
);

Declaration
From
CGSize CTFramesetterSuggestFrameSizeWithConstraints (
    CTFramesetterRef framesetter,
    CFRange stringRange,
    CFDictionaryRef frameAttributes,
    CGSize constraints,
    CFRange *fitRange
);
To
CGSize CTFramesetterSuggestFrameSizeWithConstraints (
    CTFramesetterRef _Nonnull framesetter,
    CFRange stringRange,
    CFDictionaryRef _Nullable frameAttributes,
    CGSize constraints,
    CFRange * _Nullable fitRange
);

CTGlyphInfo.h

Declaration
From
CTGlyphInfoRef CTGlyphInfoCreateWithCharacterIdentifier (
    CGFontIndex cid,
    CTCharacterCollection collection,
    CFStringRef baseString
);
To
CTGlyphInfoRef _Nonnull CTGlyphInfoCreateWithCharacterIdentifier (
    CGFontIndex cid,
    CTCharacterCollection collection,
    CFStringRef _Nonnull baseString
);

Declaration
From
CTGlyphInfoRef CTGlyphInfoCreateWithGlyph (
    CGGlyph glyph,
    CTFontRef font,
    CFStringRef baseString
);
To
CTGlyphInfoRef _Nonnull CTGlyphInfoCreateWithGlyph (
    CGGlyph glyph,
    CTFontRef _Nonnull font,
    CFStringRef _Nonnull baseString
);

Declaration
From
CTGlyphInfoRef CTGlyphInfoCreateWithGlyphName (
    CFStringRef glyphName,
    CTFontRef font,
    CFStringRef baseString
);
To
CTGlyphInfoRef _Nonnull CTGlyphInfoCreateWithGlyphName (
    CFStringRef _Nonnull glyphName,
    CTFontRef _Nonnull font,
    CFStringRef _Nonnull baseString
);

Declaration
From
CTCharacterCollection CTGlyphInfoGetCharacterCollection (
    CTGlyphInfoRef glyphInfo
);
To
CTCharacterCollection CTGlyphInfoGetCharacterCollection (
    CTGlyphInfoRef _Nonnull glyphInfo
);

Declaration
From
CGFontIndex CTGlyphInfoGetCharacterIdentifier (
    CTGlyphInfoRef glyphInfo
);
To
CGFontIndex CTGlyphInfoGetCharacterIdentifier (
    CTGlyphInfoRef _Nonnull glyphInfo
);

Declaration
From
CFStringRef CTGlyphInfoGetGlyphName (
    CTGlyphInfoRef glyphInfo
);
To
CFStringRef _Nullable CTGlyphInfoGetGlyphName (
    CTGlyphInfoRef _Nonnull glyphInfo
);

Deprecation
From--
ToOS X 10.11

Deprecation
From--
ToOS X 10.11

Deprecation
From--
ToOS X 10.11

Deprecation
From--
ToOS X 10.11

Deprecation
From--
ToOS X 10.11

Deprecation
From--
ToOS X 10.11

CTLine.h

Declaration
From
CTLineRef CTLineCreateJustifiedLine (
    CTLineRef line,
    CGFloat justificationFactor,
    double justificationWidth
);
To
CTLineRef _Nullable CTLineCreateJustifiedLine (
    CTLineRef _Nonnull line,
    CGFloat justificationFactor,
    double justificationWidth
);

Declaration
From
CTLineRef CTLineCreateTruncatedLine (
    CTLineRef line,
    double width,
    CTLineTruncationType truncationType,
    CTLineRef truncationToken
);
To
CTLineRef _Nullable CTLineCreateTruncatedLine (
    CTLineRef _Nonnull line,
    double width,
    CTLineTruncationType truncationType,
    CTLineRef _Nullable truncationToken
);

Declaration
From
CTLineRef CTLineCreateWithAttributedString (
    CFAttributedStringRef string
);
To
CTLineRef _Nonnull CTLineCreateWithAttributedString (
    CFAttributedStringRef _Nonnull attrString
);

Modified CTLineDraw()
Declaration
From
void CTLineDraw (
    CTLineRef line,
    CGContextRef context
);
To
void CTLineDraw (
    CTLineRef _Nonnull line,
    CGContextRef _Nonnull context
);

Declaration
From
CGRect CTLineGetBoundsWithOptions (
    CTLineRef line,
    CTLineBoundsOptions options
);
To
CGRect CTLineGetBoundsWithOptions (
    CTLineRef _Nonnull line,
    CTLineBoundsOptions options
);

Declaration
From
CFIndex CTLineGetGlyphCount (
    CTLineRef line
);
To
CFIndex CTLineGetGlyphCount (
    CTLineRef _Nonnull line
);

Declaration
From
CFArrayRef CTLineGetGlyphRuns (
    CTLineRef line
);
To
CFArrayRef _Nonnull CTLineGetGlyphRuns (
    CTLineRef _Nonnull line
);

Declaration
From
CGRect CTLineGetImageBounds (
    CTLineRef line,
    CGContextRef context
);
To
CGRect CTLineGetImageBounds (
    CTLineRef _Nonnull line,
    CGContextRef _Nullable context
);

Declaration
From
CGFloat CTLineGetOffsetForStringIndex (
    CTLineRef line,
    CFIndex charIndex,
    CGFloat *secondaryOffset
);
To
CGFloat CTLineGetOffsetForStringIndex (
    CTLineRef _Nonnull line,
    CFIndex charIndex,
    CGFloat * _Nullable secondaryOffset
);

Declaration
From
double CTLineGetPenOffsetForFlush (
    CTLineRef line,
    CGFloat flushFactor,
    double flushWidth
);
To
double CTLineGetPenOffsetForFlush (
    CTLineRef _Nonnull line,
    CGFloat flushFactor,
    double flushWidth
);

Declaration
From
CFIndex CTLineGetStringIndexForPosition (
    CTLineRef line,
    CGPoint position
);
To
CFIndex CTLineGetStringIndexForPosition (
    CTLineRef _Nonnull line,
    CGPoint position
);

Declaration
From
CFRange CTLineGetStringRange (
    CTLineRef line
);
To
CFRange CTLineGetStringRange (
    CTLineRef _Nonnull line
);

Declaration
From
double CTLineGetTrailingWhitespaceWidth (
    CTLineRef line
);
To
double CTLineGetTrailingWhitespaceWidth (
    CTLineRef _Nonnull line
);

Declaration
From
double CTLineGetTypographicBounds (
    CTLineRef line,
    CGFloat *ascent,
    CGFloat *descent,
    CGFloat *leading
);
To
double CTLineGetTypographicBounds (
    CTLineRef _Nonnull line,
    CGFloat * _Nullable ascent,
    CGFloat * _Nullable descent,
    CGFloat * _Nullable leading
);

CTParagraphStyle.h

Declaration
From
CTParagraphStyleRef CTParagraphStyleCreate (
    const CTParagraphStyleSetting *settings,
    size_t settingCount
);
To
CTParagraphStyleRef _Nonnull CTParagraphStyleCreate (
    const CTParagraphStyleSetting * _Nullable settings,
    size_t settingCount
);

Declaration
From
CTParagraphStyleRef CTParagraphStyleCreateCopy (
    CTParagraphStyleRef paragraphStyle
);
To
CTParagraphStyleRef _Nonnull CTParagraphStyleCreateCopy (
    CTParagraphStyleRef _Nonnull paragraphStyle
);

Declaration
From
bool CTParagraphStyleGetValueForSpecifier (
    CTParagraphStyleRef paragraphStyle,
    CTParagraphStyleSpecifier spec,
    size_t valueBufferSize,
    void *valueBuffer
);
To
bool CTParagraphStyleGetValueForSpecifier (
    CTParagraphStyleRef _Nonnull paragraphStyle,
    CTParagraphStyleSpecifier spec,
    size_t valueBufferSize,
    void * _Nonnull valueBuffer
);

Deprecation
From--
ToOS X 10.11

Deprecation
From--
ToOS X 10.11

Deprecation
From--
ToOS X 10.11

Deprecation
From--
ToOS X 10.11

Deprecation
From--
ToOS X 10.11

CTRubyAnnotation.h

Declaration
From
CTRubyAnnotationRef CTRubyAnnotationCreate (
    CTRubyAlignment alignment,
    CTRubyOverhang overhang,
    CGFloat sizeFactor,
    CFStringRef text[4]
);
To
CTRubyAnnotationRef _Nonnull CTRubyAnnotationCreate (
    CTRubyAlignment alignment,
    CTRubyOverhang overhang,
    CGFloat sizeFactor,
    CFStringRef  _Nonnull text[4]
);

Declaration
From
CTRubyAnnotationRef CTRubyAnnotationCreateCopy (
    CTRubyAnnotationRef rubyAnnotation
);
To
CTRubyAnnotationRef _Nonnull CTRubyAnnotationCreateCopy (
    CTRubyAnnotationRef _Nonnull rubyAnnotation
);

Declaration
From
CTRubyAlignment CTRubyAnnotationGetAlignment (
    CTRubyAnnotationRef rubyAnnotation
);
To
CTRubyAlignment CTRubyAnnotationGetAlignment (
    CTRubyAnnotationRef _Nonnull rubyAnnotation
);

Declaration
From
CTRubyOverhang CTRubyAnnotationGetOverhang (
    CTRubyAnnotationRef rubyAnnotation
);
To
CTRubyOverhang CTRubyAnnotationGetOverhang (
    CTRubyAnnotationRef _Nonnull rubyAnnotation
);

Declaration
From
CGFloat CTRubyAnnotationGetSizeFactor (
    CTRubyAnnotationRef rubyAnnotation
);
To
CGFloat CTRubyAnnotationGetSizeFactor (
    CTRubyAnnotationRef _Nonnull rubyAnnotation
);

Declaration
From
CFStringRef CTRubyAnnotationGetTextForPosition (
    CTRubyAnnotationRef rubyAnnotation,
    CTRubyPosition position
);
To
CFStringRef _Nullable CTRubyAnnotationGetTextForPosition (
    CTRubyAnnotationRef _Nonnull rubyAnnotation,
    CTRubyPosition position
);

CTRun.h

Modified CTRunDraw()
Declaration
From
void CTRunDraw (
    CTRunRef run,
    CGContextRef context,
    CFRange range
);
To
void CTRunDraw (
    CTRunRef _Nonnull run,
    CGContextRef _Nonnull context,
    CFRange range
);

Declaration
From
void CTRunGetAdvances (
    CTRunRef run,
    CFRange range,
    CGSize buffer[]
);
To
void CTRunGetAdvances (
    CTRunRef _Nonnull run,
    CFRange range,
    CGSize buffer[]
);

Declaration
From
const CGSize * CTRunGetAdvancesPtr (
    CTRunRef run
);
To
const CGSize * _Nullable CTRunGetAdvancesPtr (
    CTRunRef _Nonnull run
);

Declaration
From
CFDictionaryRef CTRunGetAttributes (
    CTRunRef run
);
To
CFDictionaryRef _Nonnull CTRunGetAttributes (
    CTRunRef _Nonnull run
);

Declaration
From
CFIndex CTRunGetGlyphCount (
    CTRunRef run
);
To
CFIndex CTRunGetGlyphCount (
    CTRunRef _Nonnull run
);

Declaration
From
void CTRunGetGlyphs (
    CTRunRef run,
    CFRange range,
    CGGlyph buffer[]
);
To
void CTRunGetGlyphs (
    CTRunRef _Nonnull run,
    CFRange range,
    CGGlyph buffer[]
);

Declaration
From
const CGGlyph * CTRunGetGlyphsPtr (
    CTRunRef run
);
To
const CGGlyph * _Nullable CTRunGetGlyphsPtr (
    CTRunRef _Nonnull run
);

Declaration
From
CGRect CTRunGetImageBounds (
    CTRunRef run,
    CGContextRef context,
    CFRange range
);
To
CGRect CTRunGetImageBounds (
    CTRunRef _Nonnull run,
    CGContextRef _Nullable context,
    CFRange range
);

Declaration
From
void CTRunGetPositions (
    CTRunRef run,
    CFRange range,
    CGPoint buffer[]
);
To
void CTRunGetPositions (
    CTRunRef _Nonnull run,
    CFRange range,
    CGPoint buffer[]
);

Declaration
From
const CGPoint * CTRunGetPositionsPtr (
    CTRunRef run
);
To
const CGPoint * _Nullable CTRunGetPositionsPtr (
    CTRunRef _Nonnull run
);

Declaration
From
CTRunStatus CTRunGetStatus (
    CTRunRef run
);
To
CTRunStatus CTRunGetStatus (
    CTRunRef _Nonnull run
);

Declaration
From
void CTRunGetStringIndices (
    CTRunRef run,
    CFRange range,
    CFIndex buffer[]
);
To
void CTRunGetStringIndices (
    CTRunRef _Nonnull run,
    CFRange range,
    CFIndex buffer[]
);

Declaration
From
const CFIndex * CTRunGetStringIndicesPtr (
    CTRunRef run
);
To
const CFIndex * _Nullable CTRunGetStringIndicesPtr (
    CTRunRef _Nonnull run
);

Declaration
From
CFRange CTRunGetStringRange (
    CTRunRef run
);
To
CFRange CTRunGetStringRange (
    CTRunRef _Nonnull run
);

Declaration
From
CGAffineTransform CTRunGetTextMatrix (
    CTRunRef run
);
To
CGAffineTransform CTRunGetTextMatrix (
    CTRunRef _Nonnull run
);

Declaration
From
double CTRunGetTypographicBounds (
    CTRunRef run,
    CFRange range,
    CGFloat *ascent,
    CGFloat *descent,
    CGFloat *leading
);
To
double CTRunGetTypographicBounds (
    CTRunRef _Nonnull run,
    CFRange range,
    CGFloat * _Nullable ascent,
    CGFloat * _Nullable descent,
    CGFloat * _Nullable leading
);

CTRunDelegate.h

Declaration
From
CTRunDelegateRef CTRunDelegateCreate (
    const CTRunDelegateCallbacks *callbacks,
    void *refCon
);
To
CTRunDelegateRef _Nullable CTRunDelegateCreate (
    const CTRunDelegateCallbacks * _Nonnull callbacks,
    void * _Nullable refCon
);

Declaration
From
void * CTRunDelegateGetRefCon (
    CTRunDelegateRef runDelegate
);
To
void * _Nonnull CTRunDelegateGetRefCon (
    CTRunDelegateRef _Nonnull runDelegate
);

CTStringAttributes.h

Deprecation
From--
ToOS X 10.11

CTTextTab.h

Declaration
From
CTTextTabRef CTTextTabCreate (
    CTTextAlignment alignment,
    double location,
    CFDictionaryRef options
);
To
CTTextTabRef _Nonnull CTTextTabCreate (
    CTTextAlignment alignment,
    double location,
    CFDictionaryRef _Nullable options
);

Declaration
From
CTTextAlignment CTTextTabGetAlignment (
    CTTextTabRef tab
);
To
CTTextAlignment CTTextTabGetAlignment (
    CTTextTabRef _Nonnull tab
);

Declaration
From
double CTTextTabGetLocation (
    CTTextTabRef tab
);
To
double CTTextTabGetLocation (
    CTTextTabRef _Nonnull tab
);

Declaration
From
CFDictionaryRef CTTextTabGetOptions (
    CTTextTabRef tab
);
To
CFDictionaryRef _Nullable CTTextTabGetOptions (
    CTTextTabRef _Nonnull tab
);

CTTypesetter.h

Declaration
From
CTLineRef CTTypesetterCreateLine (
    CTTypesetterRef typesetter,
    CFRange stringRange
);
To
CTLineRef _Nonnull CTTypesetterCreateLine (
    CTTypesetterRef _Nonnull typesetter,
    CFRange stringRange
);

Declaration
From
CTLineRef CTTypesetterCreateLineWithOffset (
    CTTypesetterRef typesetter,
    CFRange stringRange,
    double offset
);
To
CTLineRef _Nonnull CTTypesetterCreateLineWithOffset (
    CTTypesetterRef _Nonnull typesetter,
    CFRange stringRange,
    double offset
);

Declaration
From
CTTypesetterRef CTTypesetterCreateWithAttributedString (
    CFAttributedStringRef string
);
To
CTTypesetterRef _Nonnull CTTypesetterCreateWithAttributedString (
    CFAttributedStringRef _Nonnull string
);

Declaration
From
CTTypesetterRef CTTypesetterCreateWithAttributedStringAndOptions (
    CFAttributedStringRef string,
    CFDictionaryRef options
);
To
CTTypesetterRef _Nonnull CTTypesetterCreateWithAttributedStringAndOptions (
    CFAttributedStringRef _Nonnull string,
    CFDictionaryRef _Nullable options
);

Declaration
From
CFIndex CTTypesetterSuggestClusterBreak (
    CTTypesetterRef typesetter,
    CFIndex startIndex,
    double width
);
To
CFIndex CTTypesetterSuggestClusterBreak (
    CTTypesetterRef _Nonnull typesetter,
    CFIndex startIndex,
    double width
);

Declaration
From
CFIndex CTTypesetterSuggestClusterBreakWithOffset (
    CTTypesetterRef typesetter,
    CFIndex startIndex,
    double width,
    double offset
);
To
CFIndex CTTypesetterSuggestClusterBreakWithOffset (
    CTTypesetterRef _Nonnull typesetter,
    CFIndex startIndex,
    double width,
    double offset
);

Declaration
From
CFIndex CTTypesetterSuggestLineBreak (
    CTTypesetterRef typesetter,
    CFIndex startIndex,
    double width
);
To
CFIndex CTTypesetterSuggestLineBreak (
    CTTypesetterRef _Nonnull typesetter,
    CFIndex startIndex,
    double width
);

Declaration
From
CFIndex CTTypesetterSuggestLineBreakWithOffset (
    CTTypesetterRef typesetter,
    CFIndex startIndex,
    double width,
    double offset
);
To
CFIndex CTTypesetterSuggestLineBreakWithOffset (
    CTTypesetterRef _Nonnull typesetter,
    CFIndex startIndex,
    double width,
    double offset
);