CoreText Changes for Objective-C
CoreText
CoreText.h
CTDefines.h
Removed #def CT_BRIDGED_TYPE
CTFont.h
Modified CTFontCopyAttribute()
| Declaration | |
|---|---|
| From | CFTypeRef CTFontCopyAttribute (
CTFontRef font,
CFStringRef attribute
);
|
| To | CFTypeRef _Nullable CTFontCopyAttribute (
CTFontRef _Nonnull font,
CFStringRef _Nonnull attribute
);
|
Modified CTFontCopyAvailableTables()
| Declaration | |
|---|---|
| From | CFArrayRef CTFontCopyAvailableTables (
CTFontRef font,
CTFontTableOptions options
);
|
| To | CFArrayRef _Nullable CTFontCopyAvailableTables (
CTFontRef _Nonnull font,
CTFontTableOptions options
);
|
Modified CTFontCopyCharacterSet()
| 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
);
|
Modified CTFontCopyDisplayName()
| Declaration | |
|---|---|
| From | CFStringRef CTFontCopyDisplayName (
CTFontRef font
);
|
| To | CFStringRef _Nonnull CTFontCopyDisplayName (
CTFontRef _Nonnull font
);
|
Modified CTFontCopyFamilyName()
| Declaration | |
|---|---|
| From | CFStringRef CTFontCopyFamilyName (
CTFontRef font
);
|
| To | CFStringRef _Nonnull CTFontCopyFamilyName (
CTFontRef _Nonnull font
);
|
Modified CTFontCopyFeatures()
| Declaration | |
|---|---|
| From | CFArrayRef CTFontCopyFeatures (
CTFontRef font
);
|
| To | CFArrayRef _Nullable CTFontCopyFeatures (
CTFontRef _Nonnull font
);
|
Modified CTFontCopyFeatureSettings()
| Declaration | |
|---|---|
| From | CFArrayRef CTFontCopyFeatureSettings (
CTFontRef font
);
|
| To | CFArrayRef _Nullable CTFontCopyFeatureSettings (
CTFontRef _Nonnull font
);
|
Modified CTFontCopyFontDescriptor()
| Declaration | |
|---|---|
| From | CTFontDescriptorRef CTFontCopyFontDescriptor (
CTFontRef font
);
|
| To | CTFontDescriptorRef _Nonnull CTFontCopyFontDescriptor (
CTFontRef _Nonnull font
);
|
Modified CTFontCopyFullName()
| Declaration | |
|---|---|
| From | CFStringRef CTFontCopyFullName (
CTFontRef font
);
|
| To | CFStringRef _Nonnull CTFontCopyFullName (
CTFontRef _Nonnull font
);
|
Modified CTFontCopyGraphicsFont()
| Declaration | |
|---|---|
| From | CGFontRef CTFontCopyGraphicsFont (
CTFontRef font,
CTFontDescriptorRef *attributes
);
|
| To | CGFontRef _Nonnull CTFontCopyGraphicsFont (
CTFontRef _Nonnull font,
CTFontDescriptorRef _Nullable * _Nullable attributes
);
|
Modified CTFontCopyLocalizedName()
| Declaration | |
|---|---|
| From | CFStringRef CTFontCopyLocalizedName (
CTFontRef font,
CFStringRef nameKey,
CFStringRef *actualLanguage
);
|
| To | CFStringRef _Nullable CTFontCopyLocalizedName (
CTFontRef _Nonnull font,
CFStringRef _Nonnull nameKey,
CFStringRef _Nullable * _Nullable actualLanguage
);
|
Modified CTFontCopyName()
| Declaration | |
|---|---|
| From | CFStringRef CTFontCopyName (
CTFontRef font,
CFStringRef nameKey
);
|
| To | CFStringRef _Nullable CTFontCopyName (
CTFontRef _Nonnull font,
CFStringRef _Nonnull nameKey
);
|
Modified CTFontCopyPostScriptName()
| Declaration | |
|---|---|
| From | CFStringRef CTFontCopyPostScriptName (
CTFontRef font
);
|
| To | CFStringRef _Nonnull CTFontCopyPostScriptName (
CTFontRef _Nonnull font
);
|
Modified CTFontCopySupportedLanguages()
| Declaration | |
|---|---|
| From | CFArrayRef CTFontCopySupportedLanguages (
CTFontRef font
);
|
| To | CFArrayRef _Nonnull CTFontCopySupportedLanguages (
CTFontRef _Nonnull font
);
|
Modified CTFontCopyTable()
| Declaration | |
|---|---|
| From | CFDataRef CTFontCopyTable (
CTFontRef font,
CTFontTableTag table,
CTFontTableOptions options
);
|
| To | CFDataRef _Nullable CTFontCopyTable (
CTFontRef _Nonnull font,
CTFontTableTag table,
CTFontTableOptions options
);
|
Modified CTFontCopyTraits()
| Declaration | |
|---|---|
| From | CFDictionaryRef CTFontCopyTraits (
CTFontRef font
);
|
| To | CFDictionaryRef _Nonnull CTFontCopyTraits (
CTFontRef _Nonnull font
);
|
Modified CTFontCopyVariation()
| Declaration | |
|---|---|
| From | CFDictionaryRef CTFontCopyVariation (
CTFontRef font
);
|
| To | CFDictionaryRef _Nullable CTFontCopyVariation (
CTFontRef _Nonnull font
);
|
Modified CTFontCopyVariationAxes()
| Declaration | |
|---|---|
| From | CFArrayRef CTFontCopyVariationAxes (
CTFontRef font
);
|
| To | CFArrayRef _Nullable CTFontCopyVariationAxes (
CTFontRef _Nonnull font
);
|
Modified CTFontCreateCopyWithAttributes()
| 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
);
|
Modified CTFontCreateCopyWithFamily()
| 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
);
|
Modified CTFontCreateCopyWithSymbolicTraits()
| 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
);
|
Modified CTFontCreateForString()
| Declaration | |
|---|---|
| From | CTFontRef CTFontCreateForString (
CTFontRef currentFont,
CFStringRef string,
CFRange range
);
|
| To | CTFontRef _Nonnull CTFontCreateForString (
CTFontRef _Nonnull currentFont,
CFStringRef _Nonnull string,
CFRange range
);
|
Modified CTFontCreatePathForGlyph()
| Declaration | |
|---|---|
| From | CGPathRef CTFontCreatePathForGlyph (
CTFontRef font,
CGGlyph glyph,
const CGAffineTransform *transform
);
|
| To | CGPathRef _Nullable CTFontCreatePathForGlyph (
CTFontRef _Nonnull font,
CGGlyph glyph,
const CGAffineTransform * _Nullable matrix
);
|
Modified CTFontCreateUIFontForLanguage()
| Declaration | |
|---|---|
| From | CTFontRef CTFontCreateUIFontForLanguage (
CTFontUIFontType uiType,
CGFloat size,
CFStringRef language
);
|
| To | CTFontRef _Nullable CTFontCreateUIFontForLanguage (
CTFontUIFontType uiType,
CGFloat size,
CFStringRef _Nullable language
);
|
Modified CTFontCreateWithFontDescriptor()
| 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
);
|
Modified CTFontCreateWithGraphicsFont()
| 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
);
|
Modified CTFontCreateWithName()
| Declaration | |
|---|---|
| From | CTFontRef CTFontCreateWithName (
CFStringRef name,
CGFloat size,
const CGAffineTransform *matrix
);
|
| To | CTFontRef _Nonnull CTFontCreateWithName (
CFStringRef _Nullable name,
CGFloat size,
const CGAffineTransform * _Nullable matrix
);
|
Modified CTFontCreateWithNameAndOptions()
| 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
);
|
Modified CTFontCreateWithPlatformFont()
| 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
);
|
Modified CTFontCreateWithQuickdrawInstance()
| 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
);
|
Modified CTFontDrawGlyphs()
| 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
);
|
Modified CTFontGetAdvancesForGlyphs()
| 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
);
|
Modified CTFontGetAscent()
| Declaration | |
|---|---|
| From | CGFloat CTFontGetAscent (
CTFontRef font
);
|
| To | CGFloat CTFontGetAscent (
CTFontRef _Nonnull font
);
|
Modified CTFontGetBoundingBox()
| Declaration | |
|---|---|
| From | CGRect CTFontGetBoundingBox (
CTFontRef font
);
|
| To | CGRect CTFontGetBoundingBox (
CTFontRef _Nonnull font
);
|
Modified CTFontGetBoundingRectsForGlyphs()
| 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
);
|
Modified CTFontGetCapHeight()
| Declaration | |
|---|---|
| From | CGFloat CTFontGetCapHeight (
CTFontRef font
);
|
| To | CGFloat CTFontGetCapHeight (
CTFontRef _Nonnull font
);
|
Modified CTFontGetDescent()
| Declaration | |
|---|---|
| From | CGFloat CTFontGetDescent (
CTFontRef font
);
|
| To | CGFloat CTFontGetDescent (
CTFontRef _Nonnull font
);
|
Modified CTFontGetGlyphCount()
| Declaration | |
|---|---|
| From | CFIndex CTFontGetGlyphCount (
CTFontRef font
);
|
| To | CFIndex CTFontGetGlyphCount (
CTFontRef _Nonnull font
);
|
Modified CTFontGetGlyphsForCharacters()
| 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
);
|
Modified CTFontGetGlyphWithName()
| Declaration | |
|---|---|
| From | CGGlyph CTFontGetGlyphWithName (
CTFontRef font,
CFStringRef glyphName
);
|
| To | CGGlyph CTFontGetGlyphWithName (
CTFontRef _Nonnull font,
CFStringRef _Nonnull glyphName
);
|
Modified CTFontGetLeading()
| Declaration | |
|---|---|
| From | CGFloat CTFontGetLeading (
CTFontRef font
);
|
| To | CGFloat CTFontGetLeading (
CTFontRef _Nonnull font
);
|
Modified CTFontGetLigatureCaretPositions()
| 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
);
|
Modified CTFontGetMatrix()
| Declaration | |
|---|---|
| From | CGAffineTransform CTFontGetMatrix (
CTFontRef font
);
|
| To | CGAffineTransform CTFontGetMatrix (
CTFontRef _Nonnull font
);
|
Modified CTFontGetOpticalBoundsForGlyphs()
| 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
);
|
Modified CTFontGetPlatformFont()
| Declaration | |
|---|---|
| From | ATSFontRef CTFontGetPlatformFont (
CTFontRef font,
CTFontDescriptorRef *attributes
);
|
| To | ATSFontRef CTFontGetPlatformFont (
CTFontRef _Nonnull font,
CTFontDescriptorRef _Nullable * _Nullable attributes
);
|
Modified CTFontGetSize()
| Declaration | |
|---|---|
| From | CGFloat CTFontGetSize (
CTFontRef font
);
|
| To | CGFloat CTFontGetSize (
CTFontRef _Nonnull font
);
|
Modified CTFontGetSlantAngle()
| Declaration | |
|---|---|
| From | CGFloat CTFontGetSlantAngle (
CTFontRef font
);
|
| To | CGFloat CTFontGetSlantAngle (
CTFontRef _Nonnull font
);
|
Modified CTFontGetStringEncoding()
| Declaration | |
|---|---|
| From | CFStringEncoding CTFontGetStringEncoding (
CTFontRef font
);
|
| To | CFStringEncoding CTFontGetStringEncoding (
CTFontRef _Nonnull font
);
|
Modified CTFontGetSymbolicTraits()
| Declaration | |
|---|---|
| From | CTFontSymbolicTraits CTFontGetSymbolicTraits (
CTFontRef font
);
|
| To | CTFontSymbolicTraits CTFontGetSymbolicTraits (
CTFontRef _Nonnull font
);
|
Modified CTFontGetUnderlinePosition()
| Declaration | |
|---|---|
| From | CGFloat CTFontGetUnderlinePosition (
CTFontRef font
);
|
| To | CGFloat CTFontGetUnderlinePosition (
CTFontRef _Nonnull font
);
|
Modified CTFontGetUnderlineThickness()
| Declaration | |
|---|---|
| From | CGFloat CTFontGetUnderlineThickness (
CTFontRef font
);
|
| To | CGFloat CTFontGetUnderlineThickness (
CTFontRef _Nonnull font
);
|
Modified CTFontGetUnitsPerEm()
| 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
);
|
Modified CTFontGetXHeight()
| Declaration | |
|---|---|
| From | CGFloat CTFontGetXHeight (
CTFontRef font
);
|
| To | CGFloat CTFontGetXHeight (
CTFontRef _Nonnull font
);
|
Modified kCTFontAlertHeaderFontType
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCTFontApplicationFontType
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCTFontControlContentFontType
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCTFontEmphasizedSystemFontType
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCTFontLabelFontType
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCTFontMenuItemCmdKeyFontType
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCTFontMenuItemFontType
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCTFontMenuItemMarkFontType
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCTFontMenuTitleFontType
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCTFontMessageFontType
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCTFontMiniEmphasizedSystemFontType
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCTFontMiniSystemFontType
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCTFontNoFontType
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCTFontPaletteFontType
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCTFontPushButtonFontType
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCTFontSmallEmphasizedSystemFontType
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCTFontSmallSystemFontType
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCTFontSmallToolbarFontType
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCTFontSystemDetailFontType
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCTFontSystemFontType
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCTFontToolbarFontType
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCTFontToolTipFontType
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCTFontUserFixedPitchFontType
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCTFontUserFontType
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCTFontUtilityWindowTitleFontType
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCTFontViewsFontType
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCTFontWindowTitleFontType
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
CTFontCollection.h
| Declaration | |
|---|---|
| From | CFArrayRef CTFontCollectionCopyExclusionDescriptors (
CTFontCollectionRef collection
);
|
| To | CFArrayRef _Nullable CTFontCollectionCopyExclusionDescriptors (
CTFontCollectionRef _Nonnull collection
);
|
Modified CTFontCollectionCopyFontAttribute()
| Declaration | |
|---|---|
| From | CFArrayRef CTFontCollectionCopyFontAttribute (
CTFontCollectionRef collection,
CFStringRef attributeName,
CTFontCollectionCopyOptions options
);
|
| To | CFArrayRef _Nonnull CTFontCollectionCopyFontAttribute (
CTFontCollectionRef _Nonnull collection,
CFStringRef _Nonnull attributeName,
CTFontCollectionCopyOptions options
);
|
Modified CTFontCollectionCopyFontAttributes()
| 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
);
|
Modified CTFontCollectionCreateMutableCopy()
| 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
Modified CTFontDescriptorCopyAttribute()
| Declaration | |
|---|---|
| From | CFTypeRef CTFontDescriptorCopyAttribute (
CTFontDescriptorRef descriptor,
CFStringRef attribute
);
|
| To | CFTypeRef _Nullable CTFontDescriptorCopyAttribute (
CTFontDescriptorRef _Nonnull descriptor,
CFStringRef _Nonnull attribute
);
|
Modified CTFontDescriptorCopyAttributes()
| 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
);
|
Modified kCTFontDefaultOrientation
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCTFontHorizontalOrientation
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCTFontVerticalOrientation
| Deprecation | |
|---|---|
| From | -- |
| To | OS 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
);
|
Modified CTFontManagerCopyAvailableFontURLs()
| 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)
);
|
Modified CTFontManagerEnableFontDescriptors()
| 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
);
|
Modified CTFontManagerGetScopeForURL()
| Declaration | |
|---|---|
| From | CTFontManagerScope CTFontManagerGetScopeForURL (
CFURLRef fontURL
);
|
| To | CTFontManagerScope CTFontManagerGetScopeForURL (
CFURLRef _Nonnull fontURL
);
|
Modified CTFontManagerIsSupportedFont()
| Declaration | |
|---|---|
| From | bool CTFontManagerIsSupportedFont (
CFURLRef fontURL
);
|
| To | bool CTFontManagerIsSupportedFont (
CFURLRef _Nonnull fontURL
);
|
Modified CTFontManagerRegisterFontsForURL()
| Declaration | |
|---|---|
| From | bool CTFontManagerRegisterFontsForURL (
CFURLRef fontURL,
CTFontManagerScope scope,
CFErrorRef *error
);
|
| To | bool CTFontManagerRegisterFontsForURL (
CFURLRef _Nonnull fontURL,
CTFontManagerScope scope,
CFErrorRef _Nullable * _Nullable error
);
|
Modified CTFontManagerRegisterFontsForURLs()
| Declaration | |
|---|---|
| From | bool CTFontManagerRegisterFontsForURLs (
CFArrayRef fontURLs,
CTFontManagerScope scope,
CFArrayRef *errors
);
|
| To | bool CTFontManagerRegisterFontsForURLs (
CFArrayRef _Nonnull fontURLs,
CTFontManagerScope scope,
CFArrayRef _Nullable * _Nullable errors
);
|
Modified CTFontManagerRegisterGraphicsFont()
| 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
);
|
Modified CTFontManagerUnregisterFontsForURL()
| 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
);
|
Modified CTFrameGetFrameAttributes()
| Declaration | |
|---|---|
| From | CFDictionaryRef CTFrameGetFrameAttributes (
CTFrameRef frame
);
|
| To | CFDictionaryRef _Nullable CTFrameGetFrameAttributes (
CTFrameRef _Nonnull frame
);
|
Modified CTFrameGetLineOrigins()
| Declaration | |
|---|---|
| From | void CTFrameGetLineOrigins (
CTFrameRef frame,
CFRange range,
CGPoint origins[]
);
|
| To | void CTFrameGetLineOrigins (
CTFrameRef _Nonnull frame,
CFRange range,
CGPoint origins[]
);
|
Modified CTFrameGetLines()
| Declaration | |
|---|---|
| From | CFArrayRef CTFrameGetLines (
CTFrameRef frame
);
|
| To | CFArrayRef _Nonnull CTFrameGetLines (
CTFrameRef _Nonnull frame
);
|
Modified CTFrameGetPath()
| Declaration | |
|---|---|
| From | CGPathRef CTFrameGetPath (
CTFrameRef frame
);
|
| To | CGPathRef _Nonnull CTFrameGetPath (
CTFrameRef _Nonnull frame
);
|
Modified CTFrameGetStringRange()
| Declaration | |
|---|---|
| From | CFRange CTFrameGetStringRange (
CTFrameRef frame
);
|
| To | CFRange CTFrameGetStringRange (
CTFrameRef _Nonnull frame
);
|
Modified CTFrameGetVisibleStringRange()
| Declaration | |
|---|---|
| From | CFRange CTFrameGetVisibleStringRange (
CTFrameRef frame
);
|
| To | CFRange CTFrameGetVisibleStringRange (
CTFrameRef _Nonnull frame
);
|
CTFramesetter.h
Modified CTFramesetterCreateFrame()
| 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
);
|
Modified CTFramesetterGetTypesetter()
| 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
);
|
Modified CTGlyphInfoCreateWithGlyph()
| Declaration | |
|---|---|
| From | CTGlyphInfoRef CTGlyphInfoCreateWithGlyph (
CGGlyph glyph,
CTFontRef font,
CFStringRef baseString
);
|
| To | CTGlyphInfoRef _Nonnull CTGlyphInfoCreateWithGlyph (
CGGlyph glyph,
CTFontRef _Nonnull font,
CFStringRef _Nonnull baseString
);
|
Modified CTGlyphInfoCreateWithGlyphName()
| Declaration | |
|---|---|
| From | CTGlyphInfoRef CTGlyphInfoCreateWithGlyphName (
CFStringRef glyphName,
CTFontRef font,
CFStringRef baseString
);
|
| To | CTGlyphInfoRef _Nonnull CTGlyphInfoCreateWithGlyphName (
CFStringRef _Nonnull glyphName,
CTFontRef _Nonnull font,
CFStringRef _Nonnull baseString
);
|
Modified CTGlyphInfoGetCharacterCollection()
| Declaration | |
|---|---|
| From | CTCharacterCollection CTGlyphInfoGetCharacterCollection (
CTGlyphInfoRef glyphInfo
);
|
| To | CTCharacterCollection CTGlyphInfoGetCharacterCollection (
CTGlyphInfoRef _Nonnull glyphInfo
);
|
Modified CTGlyphInfoGetCharacterIdentifier()
| Declaration | |
|---|---|
| From | CGFontIndex CTGlyphInfoGetCharacterIdentifier (
CTGlyphInfoRef glyphInfo
);
|
| To | CGFontIndex CTGlyphInfoGetCharacterIdentifier (
CTGlyphInfoRef _Nonnull glyphInfo
);
|
Modified CTGlyphInfoGetGlyphName()
| Declaration | |
|---|---|
| From | CFStringRef CTGlyphInfoGetGlyphName (
CTGlyphInfoRef glyphInfo
);
|
| To | CFStringRef _Nullable CTGlyphInfoGetGlyphName (
CTGlyphInfoRef _Nonnull glyphInfo
);
|
Modified kCTAdobeCNS1CharacterCollection
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCTAdobeGB1CharacterCollection
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCTAdobeJapan1CharacterCollection
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCTAdobeJapan2CharacterCollection
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCTAdobeKorea1CharacterCollection
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
CTLine.h
Modified CTLineCreateJustifiedLine()
| Declaration | |
|---|---|
| From | CTLineRef CTLineCreateJustifiedLine (
CTLineRef line,
CGFloat justificationFactor,
double justificationWidth
);
|
| To | CTLineRef _Nullable CTLineCreateJustifiedLine (
CTLineRef _Nonnull line,
CGFloat justificationFactor,
double justificationWidth
);
|
Modified CTLineCreateTruncatedLine()
| 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
);
|
Modified CTLineCreateWithAttributedString()
| 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
);
|
Modified CTLineGetBoundsWithOptions()
| Declaration | |
|---|---|
| From | CGRect CTLineGetBoundsWithOptions (
CTLineRef line,
CTLineBoundsOptions options
);
|
| To | CGRect CTLineGetBoundsWithOptions (
CTLineRef _Nonnull line,
CTLineBoundsOptions options
);
|
Modified CTLineGetGlyphCount()
| Declaration | |
|---|---|
| From | CFIndex CTLineGetGlyphCount (
CTLineRef line
);
|
| To | CFIndex CTLineGetGlyphCount (
CTLineRef _Nonnull line
);
|
Modified CTLineGetGlyphRuns()
| Declaration | |
|---|---|
| From | CFArrayRef CTLineGetGlyphRuns (
CTLineRef line
);
|
| To | CFArrayRef _Nonnull CTLineGetGlyphRuns (
CTLineRef _Nonnull line
);
|
Modified CTLineGetImageBounds()
| Declaration | |
|---|---|
| From | CGRect CTLineGetImageBounds (
CTLineRef line,
CGContextRef context
);
|
| To | CGRect CTLineGetImageBounds (
CTLineRef _Nonnull line,
CGContextRef _Nullable context
);
|
Modified CTLineGetOffsetForStringIndex()
| Declaration | |
|---|---|
| From | CGFloat CTLineGetOffsetForStringIndex (
CTLineRef line,
CFIndex charIndex,
CGFloat *secondaryOffset
);
|
| To | CGFloat CTLineGetOffsetForStringIndex (
CTLineRef _Nonnull line,
CFIndex charIndex,
CGFloat * _Nullable secondaryOffset
);
|
Modified CTLineGetPenOffsetForFlush()
| Declaration | |
|---|---|
| From | double CTLineGetPenOffsetForFlush (
CTLineRef line,
CGFloat flushFactor,
double flushWidth
);
|
| To | double CTLineGetPenOffsetForFlush (
CTLineRef _Nonnull line,
CGFloat flushFactor,
double flushWidth
);
|
Modified CTLineGetStringIndexForPosition()
| Declaration | |
|---|---|
| From | CFIndex CTLineGetStringIndexForPosition (
CTLineRef line,
CGPoint position
);
|
| To | CFIndex CTLineGetStringIndexForPosition (
CTLineRef _Nonnull line,
CGPoint position
);
|
Modified CTLineGetStringRange()
| Declaration | |
|---|---|
| From | CFRange CTLineGetStringRange (
CTLineRef line
);
|
| To | CFRange CTLineGetStringRange (
CTLineRef _Nonnull line
);
|
Modified CTLineGetTrailingWhitespaceWidth()
| Declaration | |
|---|---|
| From | double CTLineGetTrailingWhitespaceWidth (
CTLineRef line
);
|
| To | double CTLineGetTrailingWhitespaceWidth (
CTLineRef _Nonnull line
);
|
Modified CTLineGetTypographicBounds()
| 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
Modified CTParagraphStyleCreate()
| Declaration | |
|---|---|
| From | CTParagraphStyleRef CTParagraphStyleCreate (
const CTParagraphStyleSetting *settings,
size_t settingCount
);
|
| To | CTParagraphStyleRef _Nonnull CTParagraphStyleCreate (
const CTParagraphStyleSetting * _Nullable settings,
size_t settingCount
);
|
Modified CTParagraphStyleCreateCopy()
| 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
);
|
Modified kCTCenterTextAlignment
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCTJustifiedTextAlignment
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCTLeftTextAlignment
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCTNaturalTextAlignment
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCTRightTextAlignment
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
CTRubyAnnotation.h
Modified CTRubyAnnotationCreate()
| 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]
);
|
Modified CTRubyAnnotationCreateCopy()
| Declaration | |
|---|---|
| From | CTRubyAnnotationRef CTRubyAnnotationCreateCopy (
CTRubyAnnotationRef rubyAnnotation
);
|
| To | CTRubyAnnotationRef _Nonnull CTRubyAnnotationCreateCopy (
CTRubyAnnotationRef _Nonnull rubyAnnotation
);
|
Modified CTRubyAnnotationGetAlignment()
| Declaration | |
|---|---|
| From | CTRubyAlignment CTRubyAnnotationGetAlignment (
CTRubyAnnotationRef rubyAnnotation
);
|
| To | CTRubyAlignment CTRubyAnnotationGetAlignment (
CTRubyAnnotationRef _Nonnull rubyAnnotation
);
|
Modified CTRubyAnnotationGetOverhang()
| Declaration | |
|---|---|
| From | CTRubyOverhang CTRubyAnnotationGetOverhang (
CTRubyAnnotationRef rubyAnnotation
);
|
| To | CTRubyOverhang CTRubyAnnotationGetOverhang (
CTRubyAnnotationRef _Nonnull rubyAnnotation
);
|
Modified CTRubyAnnotationGetSizeFactor()
| Declaration | |
|---|---|
| From | CGFloat CTRubyAnnotationGetSizeFactor (
CTRubyAnnotationRef rubyAnnotation
);
|
| To | CGFloat CTRubyAnnotationGetSizeFactor (
CTRubyAnnotationRef _Nonnull rubyAnnotation
);
|
Modified CTRubyAnnotationGetTextForPosition()
| 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
);
|
Modified CTRunGetAdvances()
| Declaration | |
|---|---|
| From | void CTRunGetAdvances (
CTRunRef run,
CFRange range,
CGSize buffer[]
);
|
| To | void CTRunGetAdvances (
CTRunRef _Nonnull run,
CFRange range,
CGSize buffer[]
);
|
Modified CTRunGetAdvancesPtr()
| Declaration | |
|---|---|
| From | const CGSize * CTRunGetAdvancesPtr (
CTRunRef run
);
|
| To | const CGSize * _Nullable CTRunGetAdvancesPtr (
CTRunRef _Nonnull run
);
|
Modified CTRunGetAttributes()
| Declaration | |
|---|---|
| From | CFDictionaryRef CTRunGetAttributes (
CTRunRef run
);
|
| To | CFDictionaryRef _Nonnull CTRunGetAttributes (
CTRunRef _Nonnull run
);
|
Modified CTRunGetGlyphCount()
| Declaration | |
|---|---|
| From | CFIndex CTRunGetGlyphCount (
CTRunRef run
);
|
| To | CFIndex CTRunGetGlyphCount (
CTRunRef _Nonnull run
);
|
Modified CTRunGetGlyphs()
| Declaration | |
|---|---|
| From | void CTRunGetGlyphs (
CTRunRef run,
CFRange range,
CGGlyph buffer[]
);
|
| To | void CTRunGetGlyphs (
CTRunRef _Nonnull run,
CFRange range,
CGGlyph buffer[]
);
|
Modified CTRunGetGlyphsPtr()
| Declaration | |
|---|---|
| From | const CGGlyph * CTRunGetGlyphsPtr (
CTRunRef run
);
|
| To | const CGGlyph * _Nullable CTRunGetGlyphsPtr (
CTRunRef _Nonnull run
);
|
Modified CTRunGetImageBounds()
| Declaration | |
|---|---|
| From | CGRect CTRunGetImageBounds (
CTRunRef run,
CGContextRef context,
CFRange range
);
|
| To | CGRect CTRunGetImageBounds (
CTRunRef _Nonnull run,
CGContextRef _Nullable context,
CFRange range
);
|
Modified CTRunGetPositions()
| Declaration | |
|---|---|
| From | void CTRunGetPositions (
CTRunRef run,
CFRange range,
CGPoint buffer[]
);
|
| To | void CTRunGetPositions (
CTRunRef _Nonnull run,
CFRange range,
CGPoint buffer[]
);
|
Modified CTRunGetPositionsPtr()
| Declaration | |
|---|---|
| From | const CGPoint * CTRunGetPositionsPtr (
CTRunRef run
);
|
| To | const CGPoint * _Nullable CTRunGetPositionsPtr (
CTRunRef _Nonnull run
);
|
Modified CTRunGetStatus()
| Declaration | |
|---|---|
| From | CTRunStatus CTRunGetStatus (
CTRunRef run
);
|
| To | CTRunStatus CTRunGetStatus (
CTRunRef _Nonnull run
);
|
Modified CTRunGetStringIndices()
| Declaration | |
|---|---|
| From | void CTRunGetStringIndices (
CTRunRef run,
CFRange range,
CFIndex buffer[]
);
|
| To | void CTRunGetStringIndices (
CTRunRef _Nonnull run,
CFRange range,
CFIndex buffer[]
);
|
Modified CTRunGetStringIndicesPtr()
| Declaration | |
|---|---|
| From | const CFIndex * CTRunGetStringIndicesPtr (
CTRunRef run
);
|
| To | const CFIndex * _Nullable CTRunGetStringIndicesPtr (
CTRunRef _Nonnull run
);
|
Modified CTRunGetStringRange()
| Declaration | |
|---|---|
| From | CFRange CTRunGetStringRange (
CTRunRef run
);
|
| To | CFRange CTRunGetStringRange (
CTRunRef _Nonnull run
);
|
Modified CTRunGetTextMatrix()
| Declaration | |
|---|---|
| From | CGAffineTransform CTRunGetTextMatrix (
CTRunRef run
);
|
| To | CGAffineTransform CTRunGetTextMatrix (
CTRunRef _Nonnull run
);
|
Modified CTRunGetTypographicBounds()
| 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
Modified CTRunDelegateCreate()
| Declaration | |
|---|---|
| From | CTRunDelegateRef CTRunDelegateCreate (
const CTRunDelegateCallbacks *callbacks,
void *refCon
);
|
| To | CTRunDelegateRef _Nullable CTRunDelegateCreate (
const CTRunDelegateCallbacks * _Nonnull callbacks,
void * _Nullable refCon
);
|
Modified CTRunDelegateGetRefCon()
| Declaration | |
|---|---|
| From | void * CTRunDelegateGetRefCon (
CTRunDelegateRef runDelegate
);
|
| To | void * _Nonnull CTRunDelegateGetRefCon (
CTRunDelegateRef _Nonnull runDelegate
);
|
CTStringAttributes.h
CTTextTab.h
Modified CTTextTabCreate()
| Declaration | |
|---|---|
| From | CTTextTabRef CTTextTabCreate (
CTTextAlignment alignment,
double location,
CFDictionaryRef options
);
|
| To | CTTextTabRef _Nonnull CTTextTabCreate (
CTTextAlignment alignment,
double location,
CFDictionaryRef _Nullable options
);
|
Modified CTTextTabGetAlignment()
| Declaration | |
|---|---|
| From | CTTextAlignment CTTextTabGetAlignment (
CTTextTabRef tab
);
|
| To | CTTextAlignment CTTextTabGetAlignment (
CTTextTabRef _Nonnull tab
);
|
Modified CTTextTabGetLocation()
| Declaration | |
|---|---|
| From | double CTTextTabGetLocation (
CTTextTabRef tab
);
|
| To | double CTTextTabGetLocation (
CTTextTabRef _Nonnull tab
);
|
Modified CTTextTabGetOptions()
| Declaration | |
|---|---|
| From | CFDictionaryRef CTTextTabGetOptions (
CTTextTabRef tab
);
|
| To | CFDictionaryRef _Nullable CTTextTabGetOptions (
CTTextTabRef _Nonnull tab
);
|
CTTypesetter.h
Modified CTTypesetterCreateLine()
| Declaration | |
|---|---|
| From | CTLineRef CTTypesetterCreateLine (
CTTypesetterRef typesetter,
CFRange stringRange
);
|
| To | CTLineRef _Nonnull CTTypesetterCreateLine (
CTTypesetterRef _Nonnull typesetter,
CFRange stringRange
);
|
Modified CTTypesetterCreateLineWithOffset()
| 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
);
|
Modified CTTypesetterSuggestClusterBreak()
| 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
);
|
Modified CTTypesetterSuggestLineBreak()
| 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
);
|