Documentation Archive Developer
Search

CoreText Changes for Objective-C

CoreText

CoreText.h

CTDefines.h

Removed #def CT_BRIDGED_TYPE

CTFont.h

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
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
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
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
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
);

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

CTFontCollection.h

CTFontDescriptor.h

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

CTGlyphInfo.h

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

CTLine.h

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

CTParagraphStyle.h

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

CTStringAttributes.h

Deprecation
From--
ToiOS 9.0