Documentation Archive Developer
Search

CoreText Changes for Swift

CoreText

Removed CTFontOptions.init(_: CFOptionFlags)
Removed CTFontStylisticClass.init(_: UInt32)
Removed CTFontSymbolicTraits.init(_: UInt32)
Removed CTFontTableOptions.init(_: UInt32)
Removed CTLineBoundsOptions.init(_: CFOptionFlags)
Removed CTParagraphStyleSetting.init()
Removed CTParagraphStyleSetting.init(spec: CTParagraphStyleSpecifier, valueSize: Int, value: UnsafePointer<Void>)
Removed CTRunDelegateCallbacks.init()
Removed CTRunDelegateCallbacks.init(version: CFIndex, dealloc: CTRunDelegateDeallocateCallback, getAscent: CTRunDelegateGetAscentCallback, getDescent: CTRunDelegateGetDescentCallback, getWidth: CTRunDelegateGetWidthCallback)
Removed CTRunStatus.init(_: UInt32)
Removed CTUnderlineStyle.init(_: Int32)
Removed CTUnderlineStyleModifiers.init(_: Int32)
Removed CTFontCollectionCopyOptions
Removed kCTFontCollectionCopyDefaultOptions
Removed kCTFontCollectionCopyStandardSort
Removed kCTFontCollectionCopyUnique
Added CTFontCollectionCopyOptions.init(rawValue: UInt32)
DeclarationRaw Value Type
From
enum CTCharacterCollection : UInt16 {
    case CharacterCollectionIdentityMapping
    case CharacterCollectionAdobeCNS1
    case CharacterCollectionAdobeGB1
    case CharacterCollectionAdobeJapan1
    case CharacterCollectionAdobeJapan2
    case CharacterCollectionAdobeKorea1
}
--
To
enum CTCharacterCollection : UInt16 {
    case IdentityMapping
    case AdobeCNS1
    case AdobeGB1
    case AdobeJapan1
    case AdobeJapan2
    case AdobeKorea1
    static var kCTIdentityMappingCharacterCollection: CTCharacterCollection { get }
    static var kCTAdobeCNS1CharacterCollection: CTCharacterCollection { get }
    static var kCTAdobeGB1CharacterCollection: CTCharacterCollection { get }
    static var kCTAdobeJapan1CharacterCollection: CTCharacterCollection { get }
    static var kCTAdobeJapan2CharacterCollection: CTCharacterCollection { get }
    static var kCTAdobeKorea1CharacterCollection: CTCharacterCollection { get }
}
UInt16

DeclarationIntroduction
From
case CharacterCollectionAdobeCNS1
OS X 10.10
To
case AdobeCNS1
OS X 10.8

DeclarationIntroduction
From
case CharacterCollectionAdobeGB1
OS X 10.10
To
case AdobeGB1
OS X 10.8

DeclarationIntroduction
From
case CharacterCollectionAdobeJapan1
OS X 10.10
To
case AdobeJapan1
OS X 10.8

DeclarationIntroduction
From
case CharacterCollectionAdobeJapan2
OS X 10.10
To
case AdobeJapan2
OS X 10.8

DeclarationIntroduction
From
case CharacterCollectionAdobeKorea1
OS X 10.10
To
case AdobeKorea1
OS X 10.8

DeclarationIntroduction
From
case CharacterCollectionIdentityMapping
OS X 10.10
To
case IdentityMapping
OS X 10.8

Raw Value Type
From--
ToUInt32

Raw Value Type
From--
ToUInt32

Raw Value Type
From--
ToUInt32

Raw Value Type
From--
ToUInt32

DeclarationProtocols
From
struct CTFontOptions : RawOptionSetType {
    init(_ rawValue: CFOptionFlags)
    init(rawValue rawValue: CFOptionFlags)
    static var Default: CTFontOptions { get }
    static var PreventAutoActivation: CTFontOptions { get }
    static var PreferSystemFont: CTFontOptions { get }
}
RawOptionSetType
To
struct CTFontOptions : OptionSetType {
    init(rawValue rawValue: CFOptionFlags)
    static var Default: CTFontOptions { get }
    static var PreventAutoActivation: CTFontOptions { get }
    static var PreferSystemFont: CTFontOptions { get }
}
OptionSetType

DeclarationRaw Value Type
From
enum CTFontOrientation : UInt32 {
    case OrientationDefault
    case OrientationHorizontal
    case OrientationVertical
}
--
To
enum CTFontOrientation : UInt32 {
    case Default
    case Horizontal
    case Vertical
    static var kCTFontDefaultOrientation: CTFontOrientation { get }
    static var kCTFontHorizontalOrientation: CTFontOrientation { get }
    static var kCTFontVerticalOrientation: CTFontOrientation { get }
}
UInt32

DeclarationIntroduction
From
case OrientationDefault
OS X 10.10
To
case Default
OS X 10.8

DeclarationIntroduction
From
case OrientationHorizontal
OS X 10.10
To
case Horizontal
OS X 10.8

DeclarationIntroduction
From
case OrientationVertical
OS X 10.10
To
case Vertical
OS X 10.8

DeclarationProtocols
From
struct CTFontStylisticClass : RawOptionSetType {
    init(_ rawValue: UInt32)
    init(rawValue rawValue: UInt32)
    static var ClassUnknown: CTFontStylisticClass { get }
    static var ClassOldStyleSerifs: CTFontStylisticClass { get }
    static var ClassTransitionalSerifs: CTFontStylisticClass { get }
    static var ClassModernSerifs: CTFontStylisticClass { get }
    static var ClassClarendonSerifs: CTFontStylisticClass { get }
    static var ClassSlabSerifs: CTFontStylisticClass { get }
    static var ClassFreeformSerifs: CTFontStylisticClass { get }
    static var ClassSansSerif: CTFontStylisticClass { get }
    static var ClassOrnamentals: CTFontStylisticClass { get }
    static var ClassScripts: CTFontStylisticClass { get }
    static var ClassSymbolic: CTFontStylisticClass { get }
    static var UnknownClass: CTFontStylisticClass { get }
    static var OldStyleSerifsClass: CTFontStylisticClass { get }
    static var TransitionalSerifsClass: CTFontStylisticClass { get }
    static var ModernSerifsClass: CTFontStylisticClass { get }
    static var ClarendonSerifsClass: CTFontStylisticClass { get }
    static var SlabSerifsClass: CTFontStylisticClass { get }
    static var FreeformSerifsClass: CTFontStylisticClass { get }
    static var SansSerifClass: CTFontStylisticClass { get }
    static var OrnamentalsClass: CTFontStylisticClass { get }
    static var ScriptsClass: CTFontStylisticClass { get }
    static var SymbolicClass: CTFontStylisticClass { get }
}
RawOptionSetType
To
struct CTFontStylisticClass : OptionSetType {
    init(rawValue rawValue: UInt32)
    static var ClassUnknown: CTFontStylisticClass { get }
    static var ClassOldStyleSerifs: CTFontStylisticClass { get }
    static var ClassTransitionalSerifs: CTFontStylisticClass { get }
    static var ClassModernSerifs: CTFontStylisticClass { get }
    static var ClassClarendonSerifs: CTFontStylisticClass { get }
    static var ClassSlabSerifs: CTFontStylisticClass { get }
    static var ClassFreeformSerifs: CTFontStylisticClass { get }
    static var ClassSansSerif: CTFontStylisticClass { get }
    static var ClassOrnamentals: CTFontStylisticClass { get }
    static var ClassScripts: CTFontStylisticClass { get }
    static var ClassSymbolic: CTFontStylisticClass { get }
    static var UnknownClass: CTFontStylisticClass { get }
    static var OldStyleSerifsClass: CTFontStylisticClass { get }
    static var TransitionalSerifsClass: CTFontStylisticClass { get }
    static var ModernSerifsClass: CTFontStylisticClass { get }
    static var ClarendonSerifsClass: CTFontStylisticClass { get }
    static var SlabSerifsClass: CTFontStylisticClass { get }
    static var FreeformSerifsClass: CTFontStylisticClass { get }
    static var SansSerifClass: CTFontStylisticClass { get }
    static var OrnamentalsClass: CTFontStylisticClass { get }
    static var ScriptsClass: CTFontStylisticClass { get }
    static var SymbolicClass: CTFontStylisticClass { get }
}
OptionSetType

DeclarationProtocols
From
struct CTFontSymbolicTraits : RawOptionSetType {
    init(_ rawValue: UInt32)
    init(rawValue rawValue: UInt32)
    static var TraitItalic: CTFontSymbolicTraits { get }
    static var TraitBold: CTFontSymbolicTraits { get }
    static var TraitExpanded: CTFontSymbolicTraits { get }
    static var TraitCondensed: CTFontSymbolicTraits { get }
    static var TraitMonoSpace: CTFontSymbolicTraits { get }
    static var TraitVertical: CTFontSymbolicTraits { get }
    static var TraitUIOptimized: CTFontSymbolicTraits { get }
    static var TraitColorGlyphs: CTFontSymbolicTraits { get }
    static var TraitComposite: CTFontSymbolicTraits { get }
    static var TraitClassMask: CTFontSymbolicTraits { get }
    static var ItalicTrait: CTFontSymbolicTraits { get }
    static var BoldTrait: CTFontSymbolicTraits { get }
    static var ExpandedTrait: CTFontSymbolicTraits { get }
    static var CondensedTrait: CTFontSymbolicTraits { get }
    static var MonoSpaceTrait: CTFontSymbolicTraits { get }
    static var VerticalTrait: CTFontSymbolicTraits { get }
    static var UIOptimizedTrait: CTFontSymbolicTraits { get }
    static var ColorGlyphsTrait: CTFontSymbolicTraits { get }
    static var CompositeTrait: CTFontSymbolicTraits { get }
    static var ClassMaskTrait: CTFontSymbolicTraits { get }
}
RawOptionSetType
To
struct CTFontSymbolicTraits : OptionSetType {
    init(rawValue rawValue: UInt32)
    static var TraitItalic: CTFontSymbolicTraits { get }
    static var TraitBold: CTFontSymbolicTraits { get }
    static var TraitExpanded: CTFontSymbolicTraits { get }
    static var TraitCondensed: CTFontSymbolicTraits { get }
    static var TraitMonoSpace: CTFontSymbolicTraits { get }
    static var TraitVertical: CTFontSymbolicTraits { get }
    static var TraitUIOptimized: CTFontSymbolicTraits { get }
    static var TraitColorGlyphs: CTFontSymbolicTraits { get }
    static var TraitComposite: CTFontSymbolicTraits { get }
    static var TraitClassMask: CTFontSymbolicTraits { get }
    static var ItalicTrait: CTFontSymbolicTraits { get }
    static var BoldTrait: CTFontSymbolicTraits { get }
    static var ExpandedTrait: CTFontSymbolicTraits { get }
    static var CondensedTrait: CTFontSymbolicTraits { get }
    static var MonoSpaceTrait: CTFontSymbolicTraits { get }
    static var VerticalTrait: CTFontSymbolicTraits { get }
    static var UIOptimizedTrait: CTFontSymbolicTraits { get }
    static var ColorGlyphsTrait: CTFontSymbolicTraits { get }
    static var CompositeTrait: CTFontSymbolicTraits { get }
    static var ClassMaskTrait: CTFontSymbolicTraits { get }
}
OptionSetType

DeclarationProtocols
From
struct CTFontTableOptions : RawOptionSetType {
    init(_ rawValue: UInt32)
    init(rawValue rawValue: UInt32)
    static var NoOptions: CTFontTableOptions { get }
    static var ExcludeSynthetic: CTFontTableOptions { get }
}
RawOptionSetType
To
struct CTFontTableOptions : OptionSetType {
    init(rawValue rawValue: UInt32)
    static var NoOptions: CTFontTableOptions { get }
    static var ExcludeSynthetic: CTFontTableOptions { get }
}
OptionSetType

Introduction
FromOS X 10.10
ToOS X 10.5

DeclarationRaw Value Type
From
enum CTFontUIFontType : UInt32 {
    case UIFontNone
    case UIFontUser
    case UIFontUserFixedPitch
    case UIFontSystem
    case UIFontEmphasizedSystem
    case UIFontSmallSystem
    case UIFontSmallEmphasizedSystem
    case UIFontMiniSystem
    case UIFontMiniEmphasizedSystem
    case UIFontViews
    case UIFontApplication
    case UIFontLabel
    case UIFontMenuTitle
    case UIFontMenuItem
    case UIFontMenuItemMark
    case UIFontMenuItemCmdKey
    case UIFontWindowTitle
    case UIFontPushButton
    case UIFontUtilityWindowTitle
    case UIFontAlertHeader
    case UIFontSystemDetail
    case UIFontEmphasizedSystemDetail
    case UIFontToolbar
    case UIFontSmallToolbar
    case UIFontMessage
    case UIFontPalette
    case UIFontToolTip
    case UIFontControlContent
}
--
To
enum CTFontUIFontType : UInt32 {
    case None
    case User
    case UserFixedPitch
    case System
    case EmphasizedSystem
    case SmallSystem
    case SmallEmphasizedSystem
    case MiniSystem
    case MiniEmphasizedSystem
    case Views
    case Application
    case Label
    case MenuTitle
    case MenuItem
    case MenuItemMark
    case MenuItemCmdKey
    case WindowTitle
    case PushButton
    case UtilityWindowTitle
    case AlertHeader
    case SystemDetail
    case EmphasizedSystemDetail
    case Toolbar
    case SmallToolbar
    case Message
    case Palette
    case ToolTip
    case ControlContent
    static var kCTFontNoFontType: CTFontUIFontType { get }
    static var kCTFontUserFontType: CTFontUIFontType { get }
    static var kCTFontUserFixedPitchFontType: CTFontUIFontType { get }
    static var kCTFontSystemFontType: CTFontUIFontType { get }
    static var kCTFontEmphasizedSystemFontType: CTFontUIFontType { get }
    static var kCTFontSmallSystemFontType: CTFontUIFontType { get }
    static var kCTFontSmallEmphasizedSystemFontType: CTFontUIFontType { get }
    static var kCTFontMiniSystemFontType: CTFontUIFontType { get }
    static var kCTFontMiniEmphasizedSystemFontType: CTFontUIFontType { get }
    static var kCTFontViewsFontType: CTFontUIFontType { get }
    static var kCTFontApplicationFontType: CTFontUIFontType { get }
    static var kCTFontLabelFontType: CTFontUIFontType { get }
    static var kCTFontMenuTitleFontType: CTFontUIFontType { get }
    static var kCTFontMenuItemFontType: CTFontUIFontType { get }
    static var kCTFontMenuItemMarkFontType: CTFontUIFontType { get }
    static var kCTFontMenuItemCmdKeyFontType: CTFontUIFontType { get }
    static var kCTFontWindowTitleFontType: CTFontUIFontType { get }
    static var kCTFontPushButtonFontType: CTFontUIFontType { get }
    static var kCTFontUtilityWindowTitleFontType: CTFontUIFontType { get }
    static var kCTFontAlertHeaderFontType: CTFontUIFontType { get }
    static var kCTFontSystemDetailFontType: CTFontUIFontType { get }
    static var kCTFontEmphasizedSystemDetailFontType: CTFontUIFontType { get }
    static var kCTFontToolbarFontType: CTFontUIFontType { get }
    static var kCTFontSmallToolbarFontType: CTFontUIFontType { get }
    static var kCTFontMessageFontType: CTFontUIFontType { get }
    static var kCTFontPaletteFontType: CTFontUIFontType { get }
    static var kCTFontToolTipFontType: CTFontUIFontType { get }
    static var kCTFontControlContentFontType: CTFontUIFontType { get }
}
UInt32

DeclarationIntroduction
From
case UIFontAlertHeader
OS X 10.10
To
case AlertHeader
OS X 10.8

DeclarationIntroduction
From
case UIFontApplication
OS X 10.10
To
case Application
OS X 10.8

DeclarationIntroduction
From
case UIFontControlContent
OS X 10.10
To
case ControlContent
OS X 10.8

DeclarationIntroduction
From
case UIFontEmphasizedSystem
OS X 10.10
To
case EmphasizedSystem
OS X 10.8

DeclarationIntroduction
From
case UIFontEmphasizedSystemDetail
OS X 10.10
To
case EmphasizedSystemDetail
OS X 10.8

DeclarationIntroduction
From
case UIFontLabel
OS X 10.10
To
case Label
OS X 10.8

DeclarationIntroduction
From
case UIFontMenuItem
OS X 10.10
To
case MenuItem
OS X 10.8

DeclarationIntroduction
From
case UIFontMenuItemCmdKey
OS X 10.10
To
case MenuItemCmdKey
OS X 10.8

DeclarationIntroduction
From
case UIFontMenuItemMark
OS X 10.10
To
case MenuItemMark
OS X 10.8

DeclarationIntroduction
From
case UIFontMenuTitle
OS X 10.10
To
case MenuTitle
OS X 10.8

DeclarationIntroduction
From
case UIFontMessage
OS X 10.10
To
case Message
OS X 10.8

DeclarationIntroduction
From
case UIFontMiniEmphasizedSystem
OS X 10.10
To
case MiniEmphasizedSystem
OS X 10.8

DeclarationIntroduction
From
case UIFontMiniSystem
OS X 10.10
To
case MiniSystem
OS X 10.8

DeclarationIntroduction
From
case UIFontNone
OS X 10.10
To
case None
OS X 10.8

DeclarationIntroduction
From
case UIFontPalette
OS X 10.10
To
case Palette
OS X 10.8

DeclarationIntroduction
From
case UIFontPushButton
OS X 10.10
To
case PushButton
OS X 10.8

DeclarationIntroduction
From
case UIFontSmallEmphasizedSystem
OS X 10.10
To
case SmallEmphasizedSystem
OS X 10.8

DeclarationIntroduction
From
case UIFontSmallSystem
OS X 10.10
To
case SmallSystem
OS X 10.8

DeclarationIntroduction
From
case UIFontSmallToolbar
OS X 10.10
To
case SmallToolbar
OS X 10.8

DeclarationIntroduction
From
case UIFontSystem
OS X 10.10
To
case System
OS X 10.8

DeclarationIntroduction
From
case UIFontSystemDetail
OS X 10.10
To
case SystemDetail
OS X 10.8

DeclarationIntroduction
From
case UIFontToolbar
OS X 10.10
To
case Toolbar
OS X 10.8

DeclarationIntroduction
From
case UIFontToolTip
OS X 10.10
To
case ToolTip
OS X 10.8

DeclarationIntroduction
From
case UIFontUser
OS X 10.10
To
case User
OS X 10.8

DeclarationIntroduction
From
case UIFontUserFixedPitch
OS X 10.10
To
case UserFixedPitch
OS X 10.8

DeclarationIntroduction
From
case UIFontUtilityWindowTitle
OS X 10.10
To
case UtilityWindowTitle
OS X 10.8

DeclarationIntroduction
From
case UIFontViews
OS X 10.10
To
case Views
OS X 10.8

DeclarationIntroduction
From
case UIFontWindowTitle
OS X 10.10
To
case WindowTitle
OS X 10.8

Raw Value Type
From--
ToUInt32

Raw Value Type
From--
ToUInt32

DeclarationProtocols
From
struct CTLineBoundsOptions : RawOptionSetType {
    init(_ rawValue: CFOptionFlags)
    init(rawValue rawValue: CFOptionFlags)
    static var ExcludeTypographicLeading: CTLineBoundsOptions { get }
    static var ExcludeTypographicShifts: CTLineBoundsOptions { get }
    static var UseHangingPunctuation: CTLineBoundsOptions { get }
    static var UseGlyphPathBounds: CTLineBoundsOptions { get }
    static var UseOpticalBounds: CTLineBoundsOptions { get }
    static var IncludeLanguageExtents: CTLineBoundsOptions { get }
}
RawOptionSetType
To
struct CTLineBoundsOptions : OptionSetType {
    init(rawValue rawValue: CFOptionFlags)
    static var ExcludeTypographicLeading: CTLineBoundsOptions { get }
    static var ExcludeTypographicShifts: CTLineBoundsOptions { get }
    static var UseHangingPunctuation: CTLineBoundsOptions { get }
    static var UseGlyphPathBounds: CTLineBoundsOptions { get }
    static var UseOpticalBounds: CTLineBoundsOptions { get }
    static var IncludeLanguageExtents: CTLineBoundsOptions { get }
}
OptionSetType

Raw Value Type
From--
ToUInt8

Raw Value Type
From--
ToUInt32

Declaration
From
struct CTParagraphStyleSetting {
    var spec: CTParagraphStyleSpecifier
    var valueSize: Int
    var value: UnsafePointer<Void>
    init()
    init(spec spec: CTParagraphStyleSpecifier, valueSize valueSize: Int, value value: UnsafePointer<Void>)
}
To
struct CTParagraphStyleSetting {
    var spec: CTParagraphStyleSpecifier
    var valueSize: Int
    var value: UnsafePointer<Void>
}

Raw Value Type
From--
ToUInt32

Raw Value Type
From--
ToUInt8

Raw Value Type
From--
ToUInt8

Raw Value Type
From--
ToUInt8

Declaration
From
struct CTRunDelegateCallbacks {
    var version: CFIndex
    var dealloc: CTRunDelegateDeallocateCallback
    var getAscent: CTRunDelegateGetAscentCallback
    var getDescent: CTRunDelegateGetDescentCallback
    var getWidth: CTRunDelegateGetWidthCallback
    init()
    init(version version: CFIndex, dealloc dealloc: CTRunDelegateDeallocateCallback, getAscent getAscent: CTRunDelegateGetAscentCallback, getDescent getDescent: CTRunDelegateGetDescentCallback, getWidth getWidth: CTRunDelegateGetWidthCallback)
}
To
struct CTRunDelegateCallbacks {
    var version: CFIndex
    var dealloc: CTRunDelegateDeallocateCallback
    var getAscent: CTRunDelegateGetAscentCallback
    var getDescent: CTRunDelegateGetDescentCallback
    var getWidth: CTRunDelegateGetWidthCallback
}

DeclarationProtocols
From
struct CTRunStatus : RawOptionSetType {
    init(_ rawValue: UInt32)
    init(rawValue rawValue: UInt32)
    static var NoStatus: CTRunStatus { get }
    static var RightToLeft: CTRunStatus { get }
    static var NonMonotonic: CTRunStatus { get }
    static var HasNonIdentityMatrix: CTRunStatus { get }
}
RawOptionSetType
To
struct CTRunStatus : OptionSetType {
    init(rawValue rawValue: UInt32)
    static var NoStatus: CTRunStatus { get }
    static var RightToLeft: CTRunStatus { get }
    static var NonMonotonic: CTRunStatus { get }
    static var HasNonIdentityMatrix: CTRunStatus { get }
}
OptionSetType

DeclarationRaw Value Type
From
enum CTTextAlignment : UInt8 {
    case TextAlignmentLeft
    case TextAlignmentRight
    case TextAlignmentCenter
    case TextAlignmentJustified
    case TextAlignmentNatural
}
--
To
enum CTTextAlignment : UInt8 {
    case Left
    case Right
    case Center
    case Justified
    case Natural
    static var kCTLeftTextAlignment: CTTextAlignment { get }
    static var kCTRightTextAlignment: CTTextAlignment { get }
    static var kCTCenterTextAlignment: CTTextAlignment { get }
    static var kCTJustifiedTextAlignment: CTTextAlignment { get }
    static var kCTNaturalTextAlignment: CTTextAlignment { get }
}
UInt8

DeclarationIntroduction
From
case TextAlignmentCenter
OS X 10.10
To
case Center
OS X 10.8

DeclarationIntroduction
From
case TextAlignmentJustified
OS X 10.10
To
case Justified
OS X 10.8

DeclarationIntroduction
From
case TextAlignmentLeft
OS X 10.10
To
case Left
OS X 10.8

DeclarationIntroduction
From
case TextAlignmentNatural
OS X 10.10
To
case Natural
OS X 10.8

DeclarationIntroduction
From
case TextAlignmentRight
OS X 10.10
To
case Right
OS X 10.8

DeclarationProtocols
From
struct CTUnderlineStyle : RawOptionSetType {
    init(_ rawValue: Int32)
    init(rawValue rawValue: Int32)
    static var None: CTUnderlineStyle { get }
    static var Single: CTUnderlineStyle { get }
    static var Thick: CTUnderlineStyle { get }
    static var Double: CTUnderlineStyle { get }
}
RawOptionSetType
To
struct CTUnderlineStyle : OptionSetType {
    init(rawValue rawValue: Int32)
    static var None: CTUnderlineStyle { get }
    static var Single: CTUnderlineStyle { get }
    static var Thick: CTUnderlineStyle { get }
    static var Double: CTUnderlineStyle { get }
}
OptionSetType

DeclarationProtocols
From
struct CTUnderlineStyleModifiers : RawOptionSetType {
    init(_ rawValue: Int32)
    init(rawValue rawValue: Int32)
    static var PatternSolid: CTUnderlineStyleModifiers { get }
    static var PatternDot: CTUnderlineStyleModifiers { get }
    static var PatternDash: CTUnderlineStyleModifiers { get }
    static var PatternDashDot: CTUnderlineStyleModifiers { get }
    static var PatternDashDotDot: CTUnderlineStyleModifiers { get }
}
RawOptionSetType
To
struct CTUnderlineStyleModifiers : OptionSetType {
    init(rawValue rawValue: Int32)
    static var PatternSolid: CTUnderlineStyleModifiers { get }
    static var PatternDot: CTUnderlineStyleModifiers { get }
    static var PatternDash: CTUnderlineStyleModifiers { get }
    static var PatternDashDot: CTUnderlineStyleModifiers { get }
    static var PatternDashDotDot: CTUnderlineStyleModifiers { get }
}
OptionSetType

Raw Value Type
From--
ToInt8

Declaration
From
func CTFontCollectionCopyExclusionDescriptors(_ collection: CTFontCollection!) -> CFArray!
To
func CTFontCollectionCopyExclusionDescriptors(_ collection: CTFontCollection) -> CFArray?

Declaration
From
func CTFontCollectionCopyFontAttribute(_ collection: CTFontCollection!, _ attributeName: CFString!, _ options: CTFontCollectionCopyOptions) -> CFArray!
To
func CTFontCollectionCopyFontAttribute(_ collection: CTFontCollection, _ attributeName: CFString, _ options: CTFontCollectionCopyOptions) -> CFArray

Declaration
From
func CTFontCollectionCopyFontAttributes(_ collection: CTFontCollection!, _ attributeNames: CFSet!, _ options: CTFontCollectionCopyOptions) -> CFArray!
To
func CTFontCollectionCopyFontAttributes(_ collection: CTFontCollection, _ attributeNames: CFSet, _ options: CTFontCollectionCopyOptions) -> CFArray

Declaration
From
func CTFontCollectionCopyQueryDescriptors(_ collection: CTFontCollection!) -> CFArray!
To
func CTFontCollectionCopyQueryDescriptors(_ collection: CTFontCollection) -> CFArray?

Declaration
From
func CTFontCollectionCreateCopyWithFontDescriptors(_ original: CTFontCollection!, _ queryDescriptors: CFArray!, _ options: CFDictionary!) -> CTFontCollection!
To
func CTFontCollectionCreateCopyWithFontDescriptors(_ original: CTFontCollection, _ queryDescriptors: CFArray?, _ options: CFDictionary?) -> CTFontCollection

Declaration
From
func CTFontCollectionCreateFromAvailableFonts(_ options: CFDictionary!) -> CTFontCollection!
To
func CTFontCollectionCreateFromAvailableFonts(_ options: CFDictionary?) -> CTFontCollection

Declaration
From
func CTFontCollectionCreateMatchingFontDescriptors(_ collection: CTFontCollection!) -> CFArray!
To
func CTFontCollectionCreateMatchingFontDescriptors(_ collection: CTFontCollection) -> CFArray?

Declaration
From
func CTFontCollectionCreateMatchingFontDescriptorsForFamily(_ collection: CTFontCollection!, _ familyName: CFString!, _ options: CFDictionary!) -> CFArray!
To
func CTFontCollectionCreateMatchingFontDescriptorsForFamily(_ collection: CTFontCollection, _ familyName: CFString, _ options: CFDictionary?) -> CFArray?

Declaration
From
func CTFontCollectionCreateMatchingFontDescriptorsSortedWithCallback(_ collection: CTFontCollection!, _ sortCallback: CTFontCollectionSortDescriptorsCallback, _ refCon: UnsafeMutablePointer<Void>) -> CFArray!
To
func CTFontCollectionCreateMatchingFontDescriptorsSortedWithCallback(_ collection: CTFontCollection, _ sortCallback: CTFontCollectionSortDescriptorsCallback?, _ refCon: UnsafeMutablePointer<Void>) -> CFArray?

Declaration
From
func CTFontCollectionCreateMatchingFontDescriptorsWithOptions(_ collection: CTFontCollection!, _ options: CFDictionary!) -> CFArray!
To
func CTFontCollectionCreateMatchingFontDescriptorsWithOptions(_ collection: CTFontCollection, _ options: CFDictionary?) -> CFArray?

Declaration
From
func CTFontCollectionCreateMutableCopy(_ original: CTFontCollection!) -> CTMutableFontCollection!
To
func CTFontCollectionCreateMutableCopy(_ original: CTFontCollection) -> CTMutableFontCollection

Declaration
From
func CTFontCollectionCreateWithFontDescriptors(_ queryDescriptors: CFArray!, _ options: CFDictionary!) -> CTFontCollection!
To
func CTFontCollectionCreateWithFontDescriptors(_ queryDescriptors: CFArray?, _ options: CFDictionary?) -> CTFontCollection

Declaration
From
func CTFontCollectionSetExclusionDescriptors(_ collection: CTMutableFontCollection!, _ descriptors: CFArray!)
To
func CTFontCollectionSetExclusionDescriptors(_ collection: CTMutableFontCollection, _ descriptors: CFArray?)

Declaration
From
func CTFontCollectionSetQueryDescriptors(_ collection: CTMutableFontCollection!, _ descriptors: CFArray!)
To
func CTFontCollectionSetQueryDescriptors(_ collection: CTMutableFontCollection, _ descriptors: CFArray?)

Declaration
From
typealias CTFontCollectionSortDescriptorsCallback = CFunctionPointer<((CTFontDescriptor!, CTFontDescriptor!, UnsafeMutablePointer<Void>) -> CFComparisonResult)>
To
typealias CTFontCollectionSortDescriptorsCallback = (CTFontDescriptor, CTFontDescriptor, UnsafeMutablePointer<Void>) -> CFComparisonResult

Declaration
From
func CTFontCopyAttribute(_ font: CTFont!, _ attribute: CFString!) -> AnyObject!
To
func CTFontCopyAttribute(_ font: CTFont, _ attribute: CFString) -> AnyObject?

Declaration
From
func CTFontCopyAvailableTables(_ font: CTFont!, _ options: CTFontTableOptions) -> CFArray!
To
func CTFontCopyAvailableTables(_ font: CTFont, _ options: CTFontTableOptions) -> CFArray?

Declaration
From
func CTFontCopyCharacterSet(_ font: CTFont!) -> CFCharacterSet!
To
func CTFontCopyCharacterSet(_ font: CTFont) -> CFCharacterSet

Declaration
From
func CTFontCopyDefaultCascadeListForLanguages(_ font: CTFont!, _ languagePrefList: CFArray!) -> CFArray!
To
func CTFontCopyDefaultCascadeListForLanguages(_ font: CTFont, _ languagePrefList: CFArray?) -> CFArray?

Declaration
From
func CTFontCopyDisplayName(_ font: CTFont!) -> CFString!
To
func CTFontCopyDisplayName(_ font: CTFont) -> CFString

Declaration
From
func CTFontCopyFamilyName(_ font: CTFont!) -> CFString!
To
func CTFontCopyFamilyName(_ font: CTFont) -> CFString

Declaration
From
func CTFontCopyFeatures(_ font: CTFont!) -> CFArray!
To
func CTFontCopyFeatures(_ font: CTFont) -> CFArray?

Declaration
From
func CTFontCopyFeatureSettings(_ font: CTFont!) -> CFArray!
To
func CTFontCopyFeatureSettings(_ font: CTFont) -> CFArray?

Declaration
From
func CTFontCopyFontDescriptor(_ font: CTFont!) -> CTFontDescriptor!
To
func CTFontCopyFontDescriptor(_ font: CTFont) -> CTFontDescriptor

Declaration
From
func CTFontCopyFullName(_ font: CTFont!) -> CFString!
To
func CTFontCopyFullName(_ font: CTFont) -> CFString

Declaration
From
func CTFontCopyGraphicsFont(_ font: CTFont!, _ attributes: UnsafeMutablePointer<Unmanaged<CTFontDescriptor>?>) -> CGFont!
To
func CTFontCopyGraphicsFont(_ font: CTFont, _ attributes: UnsafeMutablePointer<Unmanaged<CTFontDescriptor>?>) -> CGFont

Declaration
From
func CTFontCopyLocalizedName(_ font: CTFont!, _ nameKey: CFString!, _ actualLanguage: UnsafeMutablePointer<Unmanaged<CFString>?>) -> CFString!
To
func CTFontCopyLocalizedName(_ font: CTFont, _ nameKey: CFString, _ actualLanguage: UnsafeMutablePointer<Unmanaged<CFString>?>) -> CFString?

Declaration
From
func CTFontCopyName(_ font: CTFont!, _ nameKey: CFString!) -> CFString!
To
func CTFontCopyName(_ font: CTFont, _ nameKey: CFString) -> CFString?

Declaration
From
func CTFontCopyPostScriptName(_ font: CTFont!) -> CFString!
To
func CTFontCopyPostScriptName(_ font: CTFont) -> CFString

Declaration
From
func CTFontCopySupportedLanguages(_ font: CTFont!) -> CFArray!
To
func CTFontCopySupportedLanguages(_ font: CTFont) -> CFArray

Declaration
From
func CTFontCopyTable(_ font: CTFont!, _ table: CTFontTableTag, _ options: CTFontTableOptions) -> CFData!
To
func CTFontCopyTable(_ font: CTFont, _ table: CTFontTableTag, _ options: CTFontTableOptions) -> CFData?

Declaration
From
func CTFontCopyTraits(_ font: CTFont!) -> CFDictionary!
To
func CTFontCopyTraits(_ font: CTFont) -> CFDictionary

Declaration
From
func CTFontCopyVariation(_ font: CTFont!) -> CFDictionary!
To
func CTFontCopyVariation(_ font: CTFont) -> CFDictionary?

Declaration
From
func CTFontCopyVariationAxes(_ font: CTFont!) -> CFArray!
To
func CTFontCopyVariationAxes(_ font: CTFont) -> CFArray?

Declaration
From
func CTFontCreateCopyWithAttributes(_ font: CTFont!, _ size: CGFloat, _ matrix: UnsafePointer<CGAffineTransform>, _ attributes: CTFontDescriptor!) -> CTFont!
To
func CTFontCreateCopyWithAttributes(_ font: CTFont, _ size: CGFloat, _ matrix: UnsafePointer<CGAffineTransform>, _ attributes: CTFontDescriptor?) -> CTFont

Declaration
From
func CTFontCreateCopyWithFamily(_ font: CTFont!, _ size: CGFloat, _ matrix: UnsafePointer<CGAffineTransform>, _ family: CFString!) -> CTFont!
To
func CTFontCreateCopyWithFamily(_ font: CTFont, _ size: CGFloat, _ matrix: UnsafePointer<CGAffineTransform>, _ family: CFString) -> CTFont?

Declaration
From
func CTFontCreateCopyWithSymbolicTraits(_ font: CTFont!, _ size: CGFloat, _ matrix: UnsafePointer<CGAffineTransform>, _ symTraitValue: CTFontSymbolicTraits, _ symTraitMask: CTFontSymbolicTraits) -> CTFont!
To
func CTFontCreateCopyWithSymbolicTraits(_ font: CTFont, _ size: CGFloat, _ matrix: UnsafePointer<CGAffineTransform>, _ symTraitValue: CTFontSymbolicTraits, _ symTraitMask: CTFontSymbolicTraits) -> CTFont?

Declaration
From
func CTFontCreateForString(_ currentFont: CTFont!, _ string: CFString!, _ range: CFRange) -> CTFont!
To
func CTFontCreateForString(_ currentFont: CTFont, _ string: CFString, _ range: CFRange) -> CTFont

Declaration
From
func CTFontCreatePathForGlyph(_ font: CTFont!, _ glyph: CGGlyph, _ transform: UnsafePointer<CGAffineTransform>) -> CGPath!
To
func CTFontCreatePathForGlyph(_ font: CTFont, _ glyph: CGGlyph, _ matrix: UnsafePointer<CGAffineTransform>) -> CGPath?

Declaration
From
func CTFontCreateUIFontForLanguage(_ uiType: CTFontUIFontType, _ size: CGFloat, _ language: CFString!) -> CTFont!
To
func CTFontCreateUIFontForLanguage(_ uiType: CTFontUIFontType, _ size: CGFloat, _ language: CFString?) -> CTFont?

Declaration
From
func CTFontCreateWithFontDescriptor(_ descriptor: CTFontDescriptor!, _ size: CGFloat, _ matrix: UnsafePointer<CGAffineTransform>) -> CTFont!
To
func CTFontCreateWithFontDescriptor(_ descriptor: CTFontDescriptor, _ size: CGFloat, _ matrix: UnsafePointer<CGAffineTransform>) -> CTFont

Declaration
From
func CTFontCreateWithFontDescriptorAndOptions(_ descriptor: CTFontDescriptor!, _ size: CGFloat, _ matrix: UnsafePointer<CGAffineTransform>, _ options: CTFontOptions) -> CTFont!
To
func CTFontCreateWithFontDescriptorAndOptions(_ descriptor: CTFontDescriptor, _ size: CGFloat, _ matrix: UnsafePointer<CGAffineTransform>, _ options: CTFontOptions) -> CTFont

Declaration
From
func CTFontCreateWithGraphicsFont(_ graphicsFont: CGFont!, _ size: CGFloat, _ matrix: UnsafePointer<CGAffineTransform>, _ attributes: CTFontDescriptor!) -> CTFont!
To
func CTFontCreateWithGraphicsFont(_ graphicsFont: CGFont, _ size: CGFloat, _ matrix: UnsafePointer<CGAffineTransform>, _ attributes: CTFontDescriptor?) -> CTFont

Declaration
From
func CTFontCreateWithName(_ name: CFString!, _ size: CGFloat, _ matrix: UnsafePointer<CGAffineTransform>) -> CTFont!
To
func CTFontCreateWithName(_ name: CFString?, _ size: CGFloat, _ matrix: UnsafePointer<CGAffineTransform>) -> CTFont

Declaration
From
func CTFontCreateWithNameAndOptions(_ name: CFString!, _ size: CGFloat, _ matrix: UnsafePointer<CGAffineTransform>, _ options: CTFontOptions) -> CTFont!
To
func CTFontCreateWithNameAndOptions(_ name: CFString, _ size: CGFloat, _ matrix: UnsafePointer<CGAffineTransform>, _ options: CTFontOptions) -> CTFont

Declaration
From
func CTFontCreateWithPlatformFont(_ platformFont: ATSFontRef, _ size: CGFloat, _ matrix: UnsafePointer<CGAffineTransform>, _ attributes: CTFontDescriptor!) -> CTFont!
To
func CTFontCreateWithPlatformFont(_ platformFont: ATSFontRef, _ size: CGFloat, _ matrix: UnsafePointer<CGAffineTransform>, _ attributes: CTFontDescriptor?) -> CTFont?

Declaration
From
func CTFontCreateWithQuickdrawInstance(_ name: ConstStr255Param, _ identifier: Int16, _ style: UInt8, _ size: CGFloat) -> CTFont!
To
func CTFontCreateWithQuickdrawInstance(_ name: ConstStr255Param, _ identifier: Int16, _ style: UInt8, _ size: CGFloat) -> CTFont

Declaration
From
func CTFontDescriptorCopyAttribute(_ descriptor: CTFontDescriptor!, _ attribute: CFString!) -> AnyObject!
To
func CTFontDescriptorCopyAttribute(_ descriptor: CTFontDescriptor, _ attribute: CFString) -> AnyObject?

Declaration
From
func CTFontDescriptorCopyAttributes(_ descriptor: CTFontDescriptor!) -> CFDictionary!
To
func CTFontDescriptorCopyAttributes(_ descriptor: CTFontDescriptor) -> CFDictionary

Declaration
From
func CTFontDescriptorCopyLocalizedAttribute(_ descriptor: CTFontDescriptor!, _ attribute: CFString!, _ language: UnsafeMutablePointer<Unmanaged<CFString>?>) -> AnyObject!
To
func CTFontDescriptorCopyLocalizedAttribute(_ descriptor: CTFontDescriptor, _ attribute: CFString, _ language: UnsafeMutablePointer<Unmanaged<CFString>?>) -> AnyObject?

Declaration
From
func CTFontDescriptorCreateCopyWithAttributes(_ original: CTFontDescriptor!, _ attributes: CFDictionary!) -> CTFontDescriptor!
To
func CTFontDescriptorCreateCopyWithAttributes(_ original: CTFontDescriptor, _ attributes: CFDictionary) -> CTFontDescriptor

Declaration
From
func CTFontDescriptorCreateCopyWithFamily(_ original: CTFontDescriptor!, _ family: CFString!) -> CTFontDescriptor!
To
func CTFontDescriptorCreateCopyWithFamily(_ original: CTFontDescriptor, _ family: CFString) -> CTFontDescriptor?

Declaration
From
func CTFontDescriptorCreateCopyWithFeature(_ original: CTFontDescriptor!, _ featureTypeIdentifier: CFNumber!, _ featureSelectorIdentifier: CFNumber!) -> CTFontDescriptor!
To
func CTFontDescriptorCreateCopyWithFeature(_ original: CTFontDescriptor, _ featureTypeIdentifier: CFNumber, _ featureSelectorIdentifier: CFNumber) -> CTFontDescriptor

Declaration
From
func CTFontDescriptorCreateCopyWithSymbolicTraits(_ original: CTFontDescriptor!, _ symTraitValue: CTFontSymbolicTraits, _ symTraitMask: CTFontSymbolicTraits) -> CTFontDescriptor!
To
func CTFontDescriptorCreateCopyWithSymbolicTraits(_ original: CTFontDescriptor, _ symTraitValue: CTFontSymbolicTraits, _ symTraitMask: CTFontSymbolicTraits) -> CTFontDescriptor?

Declaration
From
func CTFontDescriptorCreateCopyWithVariation(_ original: CTFontDescriptor!, _ variationIdentifier: CFNumber!, _ variationValue: CGFloat) -> CTFontDescriptor!
To
func CTFontDescriptorCreateCopyWithVariation(_ original: CTFontDescriptor, _ variationIdentifier: CFNumber, _ variationValue: CGFloat) -> CTFontDescriptor

Declaration
From
func CTFontDescriptorCreateMatchingFontDescriptor(_ descriptor: CTFontDescriptor!, _ mandatoryAttributes: CFSet!) -> CTFontDescriptor!
To
func CTFontDescriptorCreateMatchingFontDescriptor(_ descriptor: CTFontDescriptor, _ mandatoryAttributes: CFSet?) -> CTFontDescriptor?

Declaration
From
func CTFontDescriptorCreateMatchingFontDescriptors(_ descriptor: CTFontDescriptor!, _ mandatoryAttributes: CFSet!) -> CFArray!
To
func CTFontDescriptorCreateMatchingFontDescriptors(_ descriptor: CTFontDescriptor, _ mandatoryAttributes: CFSet?) -> CFArray?

Declaration
From
func CTFontDescriptorCreateWithAttributes(_ attributes: CFDictionary!) -> CTFontDescriptor!
To
func CTFontDescriptorCreateWithAttributes(_ attributes: CFDictionary) -> CTFontDescriptor

Declaration
From
func CTFontDescriptorCreateWithNameAndSize(_ name: CFString!, _ size: CGFloat) -> CTFontDescriptor!
To
func CTFontDescriptorCreateWithNameAndSize(_ name: CFString, _ size: CGFloat) -> CTFontDescriptor

Declaration
From
func CTFontDescriptorMatchFontDescriptorsWithProgressHandler(_ descriptors: CFArray!, _ mandatoryAttributes: CFSet!, _ progressBlock: CTFontDescriptorProgressHandler!) -> Bool
To
func CTFontDescriptorMatchFontDescriptorsWithProgressHandler(_ descriptors: CFArray, _ mandatoryAttributes: CFSet?, _ progressBlock: CTFontDescriptorProgressHandler) -> Bool

Declaration
From
typealias CTFontDescriptorProgressHandler = (CTFontDescriptorMatchingState, CFDictionary!) -> Bool
To
typealias CTFontDescriptorProgressHandler = (CTFontDescriptorMatchingState, CFDictionary) -> Bool

Declaration
From
func CTFontDrawGlyphs(_ font: CTFont!, _ glyphs: UnsafePointer<CGGlyph>, _ positions: UnsafePointer<CGPoint>, _ count: Int, _ context: CGContext!)
To
func CTFontDrawGlyphs(_ font: CTFont, _ glyphs: UnsafePointer<CGGlyph>, _ positions: UnsafePointer<CGPoint>, _ count: Int, _ context: CGContext)

Declaration
From
func CTFontGetAdvancesForGlyphs(_ font: CTFont!, _ orientation: CTFontOrientation, _ glyphs: UnsafePointer<CGGlyph>, _ advances: UnsafeMutablePointer<CGSize>, _ count: CFIndex) -> Double
To
func CTFontGetAdvancesForGlyphs(_ font: CTFont, _ orientation: CTFontOrientation, _ glyphs: UnsafePointer<CGGlyph>, _ advances: UnsafeMutablePointer<CGSize>, _ count: CFIndex) -> Double

Declaration
From
func CTFontGetAscent(_ font: CTFont!) -> CGFloat
To
func CTFontGetAscent(_ font: CTFont) -> CGFloat

Declaration
From
func CTFontGetBoundingBox(_ font: CTFont!) -> CGRect
To
func CTFontGetBoundingBox(_ font: CTFont) -> CGRect

Declaration
From
func CTFontGetBoundingRectsForGlyphs(_ font: CTFont!, _ orientation: CTFontOrientation, _ glyphs: UnsafePointer<CGGlyph>, _ boundingRects: UnsafeMutablePointer<CGRect>, _ count: CFIndex) -> CGRect
To
func CTFontGetBoundingRectsForGlyphs(_ font: CTFont, _ orientation: CTFontOrientation, _ glyphs: UnsafePointer<CGGlyph>, _ boundingRects: UnsafeMutablePointer<CGRect>, _ count: CFIndex) -> CGRect

Declaration
From
func CTFontGetCapHeight(_ font: CTFont!) -> CGFloat
To
func CTFontGetCapHeight(_ font: CTFont) -> CGFloat

Declaration
From
func CTFontGetDescent(_ font: CTFont!) -> CGFloat
To
func CTFontGetDescent(_ font: CTFont) -> CGFloat

Declaration
From
func CTFontGetGlyphCount(_ font: CTFont!) -> CFIndex
To
func CTFontGetGlyphCount(_ font: CTFont) -> CFIndex

Declaration
From
func CTFontGetGlyphsForCharacters(_ font: CTFont!, _ characters: UnsafePointer<UniChar>, _ glyphs: UnsafeMutablePointer<CGGlyph>, _ count: CFIndex) -> Bool
To
func CTFontGetGlyphsForCharacters(_ font: CTFont, _ characters: UnsafePointer<UniChar>, _ glyphs: UnsafeMutablePointer<CGGlyph>, _ count: CFIndex) -> Bool

Declaration
From
func CTFontGetGlyphWithName(_ font: CTFont!, _ glyphName: CFString!) -> CGGlyph
To
func CTFontGetGlyphWithName(_ font: CTFont, _ glyphName: CFString) -> CGGlyph

Declaration
From
func CTFontGetLeading(_ font: CTFont!) -> CGFloat
To
func CTFontGetLeading(_ font: CTFont) -> CGFloat

Declaration
From
func CTFontGetLigatureCaretPositions(_ font: CTFont!, _ glyph: CGGlyph, _ positions: UnsafeMutablePointer<CGFloat>, _ maxPositions: CFIndex) -> CFIndex
To
func CTFontGetLigatureCaretPositions(_ font: CTFont, _ glyph: CGGlyph, _ positions: UnsafeMutablePointer<CGFloat>, _ maxPositions: CFIndex) -> CFIndex

Declaration
From
func CTFontGetMatrix(_ font: CTFont!) -> CGAffineTransform
To
func CTFontGetMatrix(_ font: CTFont) -> CGAffineTransform

Declaration
From
func CTFontGetOpticalBoundsForGlyphs(_ font: CTFont!, _ glyphs: UnsafePointer<CGGlyph>, _ boundingRects: UnsafeMutablePointer<CGRect>, _ count: CFIndex, _ options: CFOptionFlags) -> CGRect
To
func CTFontGetOpticalBoundsForGlyphs(_ font: CTFont, _ glyphs: UnsafePointer<CGGlyph>, _ boundingRects: UnsafeMutablePointer<CGRect>, _ count: CFIndex, _ options: CFOptionFlags) -> CGRect

Declaration
From
func CTFontGetPlatformFont(_ font: CTFont!, _ attributes: UnsafeMutablePointer<Unmanaged<CTFontDescriptor>?>) -> ATSFontRef
To
func CTFontGetPlatformFont(_ font: CTFont, _ attributes: UnsafeMutablePointer<Unmanaged<CTFontDescriptor>?>) -> ATSFontRef

Declaration
From
func CTFontGetSize(_ font: CTFont!) -> CGFloat
To
func CTFontGetSize(_ font: CTFont) -> CGFloat

Declaration
From
func CTFontGetSlantAngle(_ font: CTFont!) -> CGFloat
To
func CTFontGetSlantAngle(_ font: CTFont) -> CGFloat

Declaration
From
func CTFontGetStringEncoding(_ font: CTFont!) -> CFStringEncoding
To
func CTFontGetStringEncoding(_ font: CTFont) -> CFStringEncoding

Declaration
From
func CTFontGetSymbolicTraits(_ font: CTFont!) -> CTFontSymbolicTraits
To
func CTFontGetSymbolicTraits(_ font: CTFont) -> CTFontSymbolicTraits

Declaration
From
func CTFontGetUnderlinePosition(_ font: CTFont!) -> CGFloat
To
func CTFontGetUnderlinePosition(_ font: CTFont) -> CGFloat

Declaration
From
func CTFontGetUnderlineThickness(_ font: CTFont!) -> CGFloat
To
func CTFontGetUnderlineThickness(_ font: CTFont) -> CGFloat

Declaration
From
func CTFontGetUnitsPerEm(_ font: CTFont!) -> UInt32
To
func CTFontGetUnitsPerEm(_ font: CTFont) -> UInt32

Declaration
From
func CTFontGetVerticalTranslationsForGlyphs(_ font: CTFont!, _ glyphs: UnsafePointer<CGGlyph>, _ translations: UnsafeMutablePointer<CGSize>, _ count: CFIndex)
To
func CTFontGetVerticalTranslationsForGlyphs(_ font: CTFont, _ glyphs: UnsafePointer<CGGlyph>, _ translations: UnsafeMutablePointer<CGSize>, _ count: CFIndex)

Declaration
From
func CTFontGetXHeight(_ font: CTFont!) -> CGFloat
To
func CTFontGetXHeight(_ font: CTFont) -> CGFloat

Declaration
From
func CTFontManagerCopyAvailableFontFamilyNames() -> CFArray!
To
func CTFontManagerCopyAvailableFontFamilyNames() -> CFArray

Declaration
From
func CTFontManagerCopyAvailableFontURLs() -> CFArray!
To
func CTFontManagerCopyAvailableFontURLs() -> CFArray

Declaration
From
func CTFontManagerCopyAvailablePostScriptNames() -> CFArray!
To
func CTFontManagerCopyAvailablePostScriptNames() -> CFArray

Declaration
From
func CTFontManagerCreateFontDescriptorFromData(_ data: CFData!) -> CTFontDescriptor!
To
func CTFontManagerCreateFontDescriptorFromData(_ data: CFData) -> CTFontDescriptor?

Declaration
From
func CTFontManagerCreateFontDescriptorsFromURL(_ fileURL: CFURL!) -> CFArray!
To
func CTFontManagerCreateFontDescriptorsFromURL(_ fileURL: CFURL) -> CFArray?

Declaration
From
func CTFontManagerCreateFontRequestRunLoopSource(_ sourceOrder: CFIndex, _ createMatchesCallback: ((CFDictionary!, pid_t) -> Unmanaged<CFArray>!)!) -> CFRunLoopSource!
To
func CTFontManagerCreateFontRequestRunLoopSource(_ sourceOrder: CFIndex, _ createMatchesCallback: (CFDictionary, pid_t) -> Unmanaged<CFArray>) -> CFRunLoopSource?

Declaration
From
func CTFontManagerEnableFontDescriptors(_ descriptors: CFArray!, _ enable: Bool)
To
func CTFontManagerEnableFontDescriptors(_ descriptors: CFArray, _ enable: Bool)

Declaration
From
func CTFontManagerGetAutoActivationSetting(_ bundleIdentifier: CFString!) -> CTFontManagerAutoActivationSetting
To
func CTFontManagerGetAutoActivationSetting(_ bundleIdentifier: CFString?) -> CTFontManagerAutoActivationSetting

Declaration
From
func CTFontManagerGetScopeForURL(_ fontURL: CFURL!) -> CTFontManagerScope
To
func CTFontManagerGetScopeForURL(_ fontURL: CFURL) -> CTFontManagerScope

Declaration
From
func CTFontManagerIsSupportedFont(_ fontURL: CFURL!) -> Bool
To
func CTFontManagerIsSupportedFont(_ fontURL: CFURL) -> Bool

Declaration
From
func CTFontManagerRegisterFontsForURL(_ fontURL: CFURL!, _ scope: CTFontManagerScope, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>) -> Bool
To
func CTFontManagerRegisterFontsForURL(_ fontURL: CFURL, _ scope: CTFontManagerScope, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>) -> Bool

Declaration
From
func CTFontManagerRegisterFontsForURLs(_ fontURLs: CFArray!, _ scope: CTFontManagerScope, _ errors: UnsafeMutablePointer<Unmanaged<CFArray>?>) -> Bool
To
func CTFontManagerRegisterFontsForURLs(_ fontURLs: CFArray, _ scope: CTFontManagerScope, _ errors: UnsafeMutablePointer<Unmanaged<CFArray>?>) -> Bool

Declaration
From
func CTFontManagerRegisterGraphicsFont(_ font: CGFont!, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>) -> Bool
To
func CTFontManagerRegisterGraphicsFont(_ font: CGFont, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>) -> Bool

Declaration
From
func CTFontManagerSetAutoActivationSetting(_ bundleIdentifier: CFString!, _ setting: CTFontManagerAutoActivationSetting)
To
func CTFontManagerSetAutoActivationSetting(_ bundleIdentifier: CFString?, _ setting: CTFontManagerAutoActivationSetting)

Declaration
From
func CTFontManagerUnregisterFontsForURL(_ fontURL: CFURL!, _ scope: CTFontManagerScope, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>) -> Bool
To
func CTFontManagerUnregisterFontsForURL(_ fontURL: CFURL, _ scope: CTFontManagerScope, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>) -> Bool

Declaration
From
func CTFontManagerUnregisterFontsForURLs(_ fontURLs: CFArray!, _ scope: CTFontManagerScope, _ errors: UnsafeMutablePointer<Unmanaged<CFArray>?>) -> Bool
To
func CTFontManagerUnregisterFontsForURLs(_ fontURLs: CFArray, _ scope: CTFontManagerScope, _ errors: UnsafeMutablePointer<Unmanaged<CFArray>?>) -> Bool

Declaration
From
func CTFontManagerUnregisterGraphicsFont(_ font: CGFont!, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>) -> Bool
To
func CTFontManagerUnregisterGraphicsFont(_ font: CGFont, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>) -> Bool

Declaration
From
func CTFrameDraw(_ frame: CTFrame!, _ context: CGContext!)
To
func CTFrameDraw(_ frame: CTFrame, _ context: CGContext)

Declaration
From
func CTFrameGetFrameAttributes(_ frame: CTFrame!) -> CFDictionary!
To
func CTFrameGetFrameAttributes(_ frame: CTFrame) -> CFDictionary?

Declaration
From
func CTFrameGetLineOrigins(_ frame: CTFrame!, _ range: CFRange, _ origins: UnsafeMutablePointer<CGPoint>)
To
func CTFrameGetLineOrigins(_ frame: CTFrame, _ range: CFRange, _ origins: UnsafeMutablePointer<CGPoint>)

Declaration
From
func CTFrameGetLines(_ frame: CTFrame!) -> CFArray!
To
func CTFrameGetLines(_ frame: CTFrame) -> CFArray

Declaration
From
func CTFrameGetPath(_ frame: CTFrame!) -> CGPath!
To
func CTFrameGetPath(_ frame: CTFrame) -> CGPath

Declaration
From
func CTFrameGetStringRange(_ frame: CTFrame!) -> CFRange
To
func CTFrameGetStringRange(_ frame: CTFrame) -> CFRange

Declaration
From
func CTFrameGetVisibleStringRange(_ frame: CTFrame!) -> CFRange
To
func CTFrameGetVisibleStringRange(_ frame: CTFrame) -> CFRange

Declaration
From
func CTFramesetterCreateFrame(_ framesetter: CTFramesetter!, _ stringRange: CFRange, _ path: CGPath!, _ frameAttributes: CFDictionary!) -> CTFrame!
To
func CTFramesetterCreateFrame(_ framesetter: CTFramesetter, _ stringRange: CFRange, _ path: CGPath, _ frameAttributes: CFDictionary?) -> CTFrame

Declaration
From
func CTFramesetterCreateWithAttributedString(_ string: CFAttributedString!) -> CTFramesetter!
To
func CTFramesetterCreateWithAttributedString(_ string: CFAttributedString) -> CTFramesetter

Declaration
From
func CTFramesetterGetTypesetter(_ framesetter: CTFramesetter!) -> CTTypesetter!
To
func CTFramesetterGetTypesetter(_ framesetter: CTFramesetter) -> CTTypesetter

Declaration
From
func CTFramesetterSuggestFrameSizeWithConstraints(_ framesetter: CTFramesetter!, _ stringRange: CFRange, _ frameAttributes: CFDictionary!, _ constraints: CGSize, _ fitRange: UnsafeMutablePointer<CFRange>) -> CGSize
To
func CTFramesetterSuggestFrameSizeWithConstraints(_ framesetter: CTFramesetter, _ stringRange: CFRange, _ frameAttributes: CFDictionary?, _ constraints: CGSize, _ fitRange: UnsafeMutablePointer<CFRange>) -> CGSize

Declaration
From
func CTGlyphInfoCreateWithCharacterIdentifier(_ cid: CGFontIndex, _ collection: CTCharacterCollection, _ baseString: CFString!) -> CTGlyphInfo!
To
func CTGlyphInfoCreateWithCharacterIdentifier(_ cid: CGFontIndex, _ collection: CTCharacterCollection, _ baseString: CFString) -> CTGlyphInfo

Declaration
From
func CTGlyphInfoCreateWithGlyph(_ glyph: CGGlyph, _ font: CTFont!, _ baseString: CFString!) -> CTGlyphInfo!
To
func CTGlyphInfoCreateWithGlyph(_ glyph: CGGlyph, _ font: CTFont, _ baseString: CFString) -> CTGlyphInfo

Declaration
From
func CTGlyphInfoCreateWithGlyphName(_ glyphName: CFString!, _ font: CTFont!, _ baseString: CFString!) -> CTGlyphInfo!
To
func CTGlyphInfoCreateWithGlyphName(_ glyphName: CFString, _ font: CTFont, _ baseString: CFString) -> CTGlyphInfo

Declaration
From
func CTGlyphInfoGetCharacterCollection(_ glyphInfo: CTGlyphInfo!) -> CTCharacterCollection
To
func CTGlyphInfoGetCharacterCollection(_ glyphInfo: CTGlyphInfo) -> CTCharacterCollection

Declaration
From
func CTGlyphInfoGetCharacterIdentifier(_ glyphInfo: CTGlyphInfo!) -> CGFontIndex
To
func CTGlyphInfoGetCharacterIdentifier(_ glyphInfo: CTGlyphInfo) -> CGFontIndex

Declaration
From
func CTGlyphInfoGetGlyphName(_ glyphInfo: CTGlyphInfo!) -> CFString!
To
func CTGlyphInfoGetGlyphName(_ glyphInfo: CTGlyphInfo) -> CFString?

Declaration
From
func CTLineCreateJustifiedLine(_ line: CTLine!, _ justificationFactor: CGFloat, _ justificationWidth: Double) -> CTLine!
To
func CTLineCreateJustifiedLine(_ line: CTLine, _ justificationFactor: CGFloat, _ justificationWidth: Double) -> CTLine?

Declaration
From
func CTLineCreateTruncatedLine(_ line: CTLine!, _ width: Double, _ truncationType: CTLineTruncationType, _ truncationToken: CTLine!) -> CTLine!
To
func CTLineCreateTruncatedLine(_ line: CTLine, _ width: Double, _ truncationType: CTLineTruncationType, _ truncationToken: CTLine?) -> CTLine?

Declaration
From
func CTLineCreateWithAttributedString(_ string: CFAttributedString!) -> CTLine!
To
func CTLineCreateWithAttributedString(_ attrString: CFAttributedString) -> CTLine

Declaration
From
func CTLineDraw(_ line: CTLine!, _ context: CGContext!)
To
func CTLineDraw(_ line: CTLine, _ context: CGContext)

Declaration
From
func CTLineGetBoundsWithOptions(_ line: CTLine!, _ options: CTLineBoundsOptions) -> CGRect
To
func CTLineGetBoundsWithOptions(_ line: CTLine, _ options: CTLineBoundsOptions) -> CGRect

Declaration
From
func CTLineGetGlyphCount(_ line: CTLine!) -> CFIndex
To
func CTLineGetGlyphCount(_ line: CTLine) -> CFIndex

Declaration
From
func CTLineGetGlyphRuns(_ line: CTLine!) -> CFArray!
To
func CTLineGetGlyphRuns(_ line: CTLine) -> CFArray

Declaration
From
func CTLineGetImageBounds(_ line: CTLine!, _ context: CGContext!) -> CGRect
To
func CTLineGetImageBounds(_ line: CTLine, _ context: CGContext?) -> CGRect

Declaration
From
func CTLineGetOffsetForStringIndex(_ line: CTLine!, _ charIndex: CFIndex, _ secondaryOffset: UnsafeMutablePointer<CGFloat>) -> CGFloat
To
func CTLineGetOffsetForStringIndex(_ line: CTLine, _ charIndex: CFIndex, _ secondaryOffset: UnsafeMutablePointer<CGFloat>) -> CGFloat

Declaration
From
func CTLineGetPenOffsetForFlush(_ line: CTLine!, _ flushFactor: CGFloat, _ flushWidth: Double) -> Double
To
func CTLineGetPenOffsetForFlush(_ line: CTLine, _ flushFactor: CGFloat, _ flushWidth: Double) -> Double

Declaration
From
func CTLineGetStringIndexForPosition(_ line: CTLine!, _ position: CGPoint) -> CFIndex
To
func CTLineGetStringIndexForPosition(_ line: CTLine, _ position: CGPoint) -> CFIndex

Declaration
From
func CTLineGetStringRange(_ line: CTLine!) -> CFRange
To
func CTLineGetStringRange(_ line: CTLine) -> CFRange

Declaration
From
func CTLineGetTrailingWhitespaceWidth(_ line: CTLine!) -> Double
To
func CTLineGetTrailingWhitespaceWidth(_ line: CTLine) -> Double

Declaration
From
func CTLineGetTypographicBounds(_ line: CTLine!, _ ascent: UnsafeMutablePointer<CGFloat>, _ descent: UnsafeMutablePointer<CGFloat>, _ leading: UnsafeMutablePointer<CGFloat>) -> Double
To
func CTLineGetTypographicBounds(_ line: CTLine, _ ascent: UnsafeMutablePointer<CGFloat>, _ descent: UnsafeMutablePointer<CGFloat>, _ leading: UnsafeMutablePointer<CGFloat>) -> Double

Declaration
From
func CTParagraphStyleCreate(_ settings: UnsafePointer<CTParagraphStyleSetting>, _ settingCount: Int) -> CTParagraphStyle!
To
func CTParagraphStyleCreate(_ settings: UnsafePointer<CTParagraphStyleSetting>, _ settingCount: Int) -> CTParagraphStyle

Declaration
From
func CTParagraphStyleCreateCopy(_ paragraphStyle: CTParagraphStyle!) -> CTParagraphStyle!
To
func CTParagraphStyleCreateCopy(_ paragraphStyle: CTParagraphStyle) -> CTParagraphStyle

Declaration
From
func CTParagraphStyleGetValueForSpecifier(_ paragraphStyle: CTParagraphStyle!, _ spec: CTParagraphStyleSpecifier, _ valueBufferSize: Int, _ valueBuffer: UnsafeMutablePointer<Void>) -> Bool
To
func CTParagraphStyleGetValueForSpecifier(_ paragraphStyle: CTParagraphStyle, _ spec: CTParagraphStyleSpecifier, _ valueBufferSize: Int, _ valueBuffer: UnsafeMutablePointer<Void>) -> Bool

Declaration
From
func CTRubyAnnotationCreate(_ alignment: CTRubyAlignment, _ overhang: CTRubyOverhang, _ sizeFactor: CGFloat, _ text: UnsafeMutablePointer<Unmanaged<CFString>?>) -> Unmanaged<CTRubyAnnotation>!
To
func CTRubyAnnotationCreate(_ alignment: CTRubyAlignment, _ overhang: CTRubyOverhang, _ sizeFactor: CGFloat, _ text: UnsafeMutablePointer<Unmanaged<CFString>?>) -> CTRubyAnnotation

Declaration
From
func CTRubyAnnotationCreateCopy(_ rubyAnnotation: CTRubyAnnotation!) -> Unmanaged<CTRubyAnnotation>!
To
func CTRubyAnnotationCreateCopy(_ rubyAnnotation: CTRubyAnnotation) -> CTRubyAnnotation

Declaration
From
func CTRubyAnnotationGetAlignment(_ rubyAnnotation: CTRubyAnnotation!) -> CTRubyAlignment
To
func CTRubyAnnotationGetAlignment(_ rubyAnnotation: CTRubyAnnotation) -> CTRubyAlignment

Declaration
From
func CTRubyAnnotationGetOverhang(_ rubyAnnotation: CTRubyAnnotation!) -> CTRubyOverhang
To
func CTRubyAnnotationGetOverhang(_ rubyAnnotation: CTRubyAnnotation) -> CTRubyOverhang

Declaration
From
func CTRubyAnnotationGetSizeFactor(_ rubyAnnotation: CTRubyAnnotation!) -> CGFloat
To
func CTRubyAnnotationGetSizeFactor(_ rubyAnnotation: CTRubyAnnotation) -> CGFloat

Declaration
From
func CTRubyAnnotationGetTextForPosition(_ rubyAnnotation: CTRubyAnnotation!, _ position: CTRubyPosition) -> Unmanaged<CFString>!
To
func CTRubyAnnotationGetTextForPosition(_ rubyAnnotation: CTRubyAnnotation, _ position: CTRubyPosition) -> CFString?

Declaration
From
func CTRunDelegateCreate(_ callbacks: UnsafePointer<CTRunDelegateCallbacks>, _ refCon: UnsafeMutablePointer<Void>) -> CTRunDelegate!
To
func CTRunDelegateCreate(_ callbacks: UnsafePointer<CTRunDelegateCallbacks>, _ refCon: UnsafeMutablePointer<Void>) -> CTRunDelegate?

Declaration
From
typealias CTRunDelegateDeallocateCallback = CFunctionPointer<((UnsafeMutablePointer<Void>) -> Void)>
To
typealias CTRunDelegateDeallocateCallback = (UnsafeMutablePointer<Void>) -> Void

Declaration
From
typealias CTRunDelegateGetAscentCallback = CFunctionPointer<((UnsafeMutablePointer<Void>) -> CGFloat)>
To
typealias CTRunDelegateGetAscentCallback = (UnsafeMutablePointer<Void>) -> CGFloat

Declaration
From
typealias CTRunDelegateGetDescentCallback = CFunctionPointer<((UnsafeMutablePointer<Void>) -> CGFloat)>
To
typealias CTRunDelegateGetDescentCallback = (UnsafeMutablePointer<Void>) -> CGFloat

Declaration
From
func CTRunDelegateGetRefCon(_ runDelegate: CTRunDelegate!) -> UnsafeMutablePointer<Void>
To
func CTRunDelegateGetRefCon(_ runDelegate: CTRunDelegate) -> UnsafeMutablePointer<Void>

Declaration
From
typealias CTRunDelegateGetWidthCallback = CFunctionPointer<((UnsafeMutablePointer<Void>) -> CGFloat)>
To
typealias CTRunDelegateGetWidthCallback = (UnsafeMutablePointer<Void>) -> CGFloat

Declaration
From
func CTRunDraw(_ run: CTRun!, _ context: CGContext!, _ range: CFRange)
To
func CTRunDraw(_ run: CTRun, _ context: CGContext, _ range: CFRange)

Declaration
From
func CTRunGetAdvances(_ run: CTRun!, _ range: CFRange, _ buffer: UnsafeMutablePointer<CGSize>)
To
func CTRunGetAdvances(_ run: CTRun, _ range: CFRange, _ buffer: UnsafeMutablePointer<CGSize>)

Declaration
From
func CTRunGetAdvancesPtr(_ run: CTRun!) -> UnsafePointer<CGSize>
To
func CTRunGetAdvancesPtr(_ run: CTRun) -> UnsafePointer<CGSize>

Declaration
From
func CTRunGetAttributes(_ run: CTRun!) -> CFDictionary!
To
func CTRunGetAttributes(_ run: CTRun) -> CFDictionary

Declaration
From
func CTRunGetGlyphCount(_ run: CTRun!) -> CFIndex
To
func CTRunGetGlyphCount(_ run: CTRun) -> CFIndex

Declaration
From
func CTRunGetGlyphs(_ run: CTRun!, _ range: CFRange, _ buffer: UnsafeMutablePointer<CGGlyph>)
To
func CTRunGetGlyphs(_ run: CTRun, _ range: CFRange, _ buffer: UnsafeMutablePointer<CGGlyph>)

Declaration
From
func CTRunGetGlyphsPtr(_ run: CTRun!) -> UnsafePointer<CGGlyph>
To
func CTRunGetGlyphsPtr(_ run: CTRun) -> UnsafePointer<CGGlyph>

Declaration
From
func CTRunGetImageBounds(_ run: CTRun!, _ context: CGContext!, _ range: CFRange) -> CGRect
To
func CTRunGetImageBounds(_ run: CTRun, _ context: CGContext?, _ range: CFRange) -> CGRect

Declaration
From
func CTRunGetPositions(_ run: CTRun!, _ range: CFRange, _ buffer: UnsafeMutablePointer<CGPoint>)
To
func CTRunGetPositions(_ run: CTRun, _ range: CFRange, _ buffer: UnsafeMutablePointer<CGPoint>)

Declaration
From
func CTRunGetPositionsPtr(_ run: CTRun!) -> UnsafePointer<CGPoint>
To
func CTRunGetPositionsPtr(_ run: CTRun) -> UnsafePointer<CGPoint>

Declaration
From
func CTRunGetStatus(_ run: CTRun!) -> CTRunStatus
To
func CTRunGetStatus(_ run: CTRun) -> CTRunStatus

Declaration
From
func CTRunGetStringIndices(_ run: CTRun!, _ range: CFRange, _ buffer: UnsafeMutablePointer<CFIndex>)
To
func CTRunGetStringIndices(_ run: CTRun, _ range: CFRange, _ buffer: UnsafeMutablePointer<CFIndex>)

Declaration
From
func CTRunGetStringIndicesPtr(_ run: CTRun!) -> UnsafePointer<CFIndex>
To
func CTRunGetStringIndicesPtr(_ run: CTRun) -> UnsafePointer<CFIndex>

Declaration
From
func CTRunGetStringRange(_ run: CTRun!) -> CFRange
To
func CTRunGetStringRange(_ run: CTRun) -> CFRange

Declaration
From
func CTRunGetTextMatrix(_ run: CTRun!) -> CGAffineTransform
To
func CTRunGetTextMatrix(_ run: CTRun) -> CGAffineTransform

Declaration
From
func CTRunGetTypographicBounds(_ run: CTRun!, _ range: CFRange, _ ascent: UnsafeMutablePointer<CGFloat>, _ descent: UnsafeMutablePointer<CGFloat>, _ leading: UnsafeMutablePointer<CGFloat>) -> Double
To
func CTRunGetTypographicBounds(_ run: CTRun, _ range: CFRange, _ ascent: UnsafeMutablePointer<CGFloat>, _ descent: UnsafeMutablePointer<CGFloat>, _ leading: UnsafeMutablePointer<CGFloat>) -> Double

Declaration
From
func CTTextTabCreate(_ alignment: CTTextAlignment, _ location: Double, _ options: CFDictionary!) -> CTTextTab!
To
func CTTextTabCreate(_ alignment: CTTextAlignment, _ location: Double, _ options: CFDictionary?) -> CTTextTab

Declaration
From
func CTTextTabGetAlignment(_ tab: CTTextTab!) -> CTTextAlignment
To
func CTTextTabGetAlignment(_ tab: CTTextTab) -> CTTextAlignment

Declaration
From
func CTTextTabGetLocation(_ tab: CTTextTab!) -> Double
To
func CTTextTabGetLocation(_ tab: CTTextTab) -> Double

Declaration
From
func CTTextTabGetOptions(_ tab: CTTextTab!) -> CFDictionary!
To
func CTTextTabGetOptions(_ tab: CTTextTab) -> CFDictionary?

Declaration
From
func CTTypesetterCreateLine(_ typesetter: CTTypesetter!, _ stringRange: CFRange) -> CTLine!
To
func CTTypesetterCreateLine(_ typesetter: CTTypesetter, _ stringRange: CFRange) -> CTLine

Declaration
From
func CTTypesetterCreateLineWithOffset(_ typesetter: CTTypesetter!, _ stringRange: CFRange, _ offset: Double) -> CTLine!
To
func CTTypesetterCreateLineWithOffset(_ typesetter: CTTypesetter, _ stringRange: CFRange, _ offset: Double) -> CTLine

Declaration
From
func CTTypesetterCreateWithAttributedString(_ string: CFAttributedString!) -> CTTypesetter!
To
func CTTypesetterCreateWithAttributedString(_ string: CFAttributedString) -> CTTypesetter

Declaration
From
func CTTypesetterCreateWithAttributedStringAndOptions(_ string: CFAttributedString!, _ options: CFDictionary!) -> CTTypesetter!
To
func CTTypesetterCreateWithAttributedStringAndOptions(_ string: CFAttributedString, _ options: CFDictionary?) -> CTTypesetter

Declaration
From
func CTTypesetterSuggestClusterBreak(_ typesetter: CTTypesetter!, _ startIndex: CFIndex, _ width: Double) -> CFIndex
To
func CTTypesetterSuggestClusterBreak(_ typesetter: CTTypesetter, _ startIndex: CFIndex, _ width: Double) -> CFIndex

Declaration
From
func CTTypesetterSuggestClusterBreakWithOffset(_ typesetter: CTTypesetter!, _ startIndex: CFIndex, _ width: Double, _ offset: Double) -> CFIndex
To
func CTTypesetterSuggestClusterBreakWithOffset(_ typesetter: CTTypesetter, _ startIndex: CFIndex, _ width: Double, _ offset: Double) -> CFIndex

Declaration
From
func CTTypesetterSuggestLineBreak(_ typesetter: CTTypesetter!, _ startIndex: CFIndex, _ width: Double) -> CFIndex
To
func CTTypesetterSuggestLineBreak(_ typesetter: CTTypesetter, _ startIndex: CFIndex, _ width: Double) -> CFIndex

Declaration
From
func CTTypesetterSuggestLineBreakWithOffset(_ typesetter: CTTypesetter!, _ startIndex: CFIndex, _ width: Double, _ offset: Double) -> CFIndex
To
func CTTypesetterSuggestLineBreakWithOffset(_ typesetter: CTTypesetter, _ startIndex: CFIndex, _ width: Double, _ offset: Double) -> CFIndex

Declaration
From
let kCTBaselineClassAttributeName: CFString!
To
let kCTBaselineClassAttributeName: CFString

Declaration
From
let kCTBaselineClassHanging: CFString!
To
let kCTBaselineClassHanging: CFString

Declaration
From
let kCTBaselineClassIdeographicCentered: CFString!
To
let kCTBaselineClassIdeographicCentered: CFString

Declaration
From
let kCTBaselineClassIdeographicHigh: CFString!
To
let kCTBaselineClassIdeographicHigh: CFString

Declaration
From
let kCTBaselineClassIdeographicLow: CFString!
To
let kCTBaselineClassIdeographicLow: CFString

Declaration
From
let kCTBaselineClassMath: CFString!
To
let kCTBaselineClassMath: CFString

Declaration
From
let kCTBaselineClassRoman: CFString!
To
let kCTBaselineClassRoman: CFString

Declaration
From
let kCTBaselineInfoAttributeName: CFString!
To
let kCTBaselineInfoAttributeName: CFString

Declaration
From
let kCTBaselineOriginalFont: CFString!
To
let kCTBaselineOriginalFont: CFString

Declaration
From
let kCTBaselineReferenceFont: CFString!
To
let kCTBaselineReferenceFont: CFString

Declaration
From
let kCTBaselineReferenceInfoAttributeName: CFString!
To
let kCTBaselineReferenceInfoAttributeName: CFString

DeclarationDeprecation
From
let kCTCharacterShapeAttributeName: CFString!
--
To
let kCTCharacterShapeAttributeName: CFString
OS X 10.11

Declaration
From
let kCTFontAttributeName: CFString!
To
let kCTFontAttributeName: CFString

Declaration
From
let kCTFontBaselineAdjustAttribute: CFString!
To
let kCTFontBaselineAdjustAttribute: CFString

Declaration
From
let kCTFontCascadeListAttribute: CFString!
To
let kCTFontCascadeListAttribute: CFString

Declaration
From
let kCTFontCharacterSetAttribute: CFString!
To
let kCTFontCharacterSetAttribute: CFString

Declaration
From
let kCTFontCollectionDisallowAutoActivationOption: CFString!
To
let kCTFontCollectionDisallowAutoActivationOption: CFString

Declaration
From
let kCTFontCollectionIncludeDisabledFontsOption: CFString!
To
let kCTFontCollectionIncludeDisabledFontsOption: CFString

Declaration
From
let kCTFontCollectionRemoveDuplicatesOption: CFString!
To
let kCTFontCollectionRemoveDuplicatesOption: CFString

Declaration
From
let kCTFontCopyrightNameKey: CFString!
To
let kCTFontCopyrightNameKey: CFString

Declaration
From
let kCTFontDescriptionNameKey: CFString!
To
let kCTFontDescriptionNameKey: CFString

Declaration
From
let kCTFontDescriptorMatchingCurrentAssetSize: CFString!
To
let kCTFontDescriptorMatchingCurrentAssetSize: CFString

Declaration
From
let kCTFontDescriptorMatchingDescriptors: CFString!
To
let kCTFontDescriptorMatchingDescriptors: CFString

Declaration
From
let kCTFontDescriptorMatchingError: CFString!
To
let kCTFontDescriptorMatchingError: CFString

Declaration
From
let kCTFontDescriptorMatchingPercentage: CFString!
To
let kCTFontDescriptorMatchingPercentage: CFString

Declaration
From
let kCTFontDescriptorMatchingResult: CFString!
To
let kCTFontDescriptorMatchingResult: CFString

Declaration
From
let kCTFontDescriptorMatchingSourceDescriptor: CFString!
To
let kCTFontDescriptorMatchingSourceDescriptor: CFString

Declaration
From
let kCTFontDescriptorMatchingTotalAssetSize: CFString!
To
let kCTFontDescriptorMatchingTotalAssetSize: CFString

Declaration
From
let kCTFontDescriptorMatchingTotalDownloadedSize: CFString!
To
let kCTFontDescriptorMatchingTotalDownloadedSize: CFString

Declaration
From
let kCTFontDesignerNameKey: CFString!
To
let kCTFontDesignerNameKey: CFString

Declaration
From
let kCTFontDesignerURLNameKey: CFString!
To
let kCTFontDesignerURLNameKey: CFString

Declaration
From
let kCTFontDisplayNameAttribute: CFString!
To
let kCTFontDisplayNameAttribute: CFString

Declaration
From
let kCTFontDownloadableAttribute: CFString!
To
let kCTFontDownloadableAttribute: CFString

Declaration
From
let kCTFontEnabledAttribute: CFString!
To
let kCTFontEnabledAttribute: CFString

Declaration
From
let kCTFontFamilyNameAttribute: CFString!
To
let kCTFontFamilyNameAttribute: CFString

Declaration
From
let kCTFontFamilyNameKey: CFString!
To
let kCTFontFamilyNameKey: CFString

Declaration
From
let kCTFontFeaturesAttribute: CFString!
To
let kCTFontFeaturesAttribute: CFString

Declaration
From
let kCTFontFeatureSelectorDefaultKey: CFString!
To
let kCTFontFeatureSelectorDefaultKey: CFString

Declaration
From
let kCTFontFeatureSelectorIdentifierKey: CFString!
To
let kCTFontFeatureSelectorIdentifierKey: CFString

Declaration
From
let kCTFontFeatureSelectorNameKey: CFString!
To
let kCTFontFeatureSelectorNameKey: CFString

Declaration
From
let kCTFontFeatureSelectorSettingKey: CFString!
To
let kCTFontFeatureSelectorSettingKey: CFString

Declaration
From
let kCTFontFeatureSettingsAttribute: CFString!
To
let kCTFontFeatureSettingsAttribute: CFString

Declaration
From
let kCTFontFeatureTypeExclusiveKey: CFString!
To
let kCTFontFeatureTypeExclusiveKey: CFString

Declaration
From
let kCTFontFeatureTypeIdentifierKey: CFString!
To
let kCTFontFeatureTypeIdentifierKey: CFString

Declaration
From
let kCTFontFeatureTypeNameKey: CFString!
To
let kCTFontFeatureTypeNameKey: CFString

Declaration
From
let kCTFontFeatureTypeSelectorsKey: CFString!
To
let kCTFontFeatureTypeSelectorsKey: CFString

Declaration
From
let kCTFontFixedAdvanceAttribute: CFString!
To
let kCTFontFixedAdvanceAttribute: CFString

Declaration
From
let kCTFontFormatAttribute: CFString!
To
let kCTFontFormatAttribute: CFString

Declaration
From
let kCTFontFullNameKey: CFString!
To
let kCTFontFullNameKey: CFString

Declaration
From
let kCTFontLanguagesAttribute: CFString!
To
let kCTFontLanguagesAttribute: CFString

Declaration
From
let kCTFontLicenseNameKey: CFString!
To
let kCTFontLicenseNameKey: CFString

Declaration
From
let kCTFontLicenseURLNameKey: CFString!
To
let kCTFontLicenseURLNameKey: CFString

Declaration
From
let kCTFontMacintoshEncodingsAttribute: CFString!
To
let kCTFontMacintoshEncodingsAttribute: CFString

Declaration
From
let kCTFontManagerBundleIdentifier: CFString!
To
let kCTFontManagerBundleIdentifier: CFString

Declaration
From
let kCTFontManagerErrorDomain: CFString!
To
let kCTFontManagerErrorDomain: CFString

Declaration
From
let kCTFontManagerErrorFontURLsKey: CFString!
To
let kCTFontManagerErrorFontURLsKey: CFString

Declaration
From
let kCTFontManagerRegisteredFontsChangedNotification: CFString!
To
let kCTFontManagerRegisteredFontsChangedNotification: CFString

Declaration
From
let kCTFontManufacturerNameKey: CFString!
To
let kCTFontManufacturerNameKey: CFString

Declaration
From
let kCTFontMatrixAttribute: CFString!
To
let kCTFontMatrixAttribute: CFString

Declaration
From
let kCTFontNameAttribute: CFString!
To
let kCTFontNameAttribute: CFString

Declaration
From
let kCTFontOpenTypeFeatureTag: CFString!
To
let kCTFontOpenTypeFeatureTag: CFString

Declaration
From
let kCTFontOpenTypeFeatureValue: CFString!
To
let kCTFontOpenTypeFeatureValue: CFString

Declaration
From
let kCTFontOrientationAttribute: CFString!
To
let kCTFontOrientationAttribute: CFString

Declaration
From
let kCTFontPostScriptCIDNameKey: CFString!
To
let kCTFontPostScriptCIDNameKey: CFString

Declaration
From
let kCTFontPostScriptNameKey: CFString!
To
let kCTFontPostScriptNameKey: CFString

Declaration
From
let kCTFontPriorityAttribute: CFString!
To
let kCTFontPriorityAttribute: CFString

Declaration
From
let kCTFontRegistrationScopeAttribute: CFString!
To
let kCTFontRegistrationScopeAttribute: CFString

Declaration
From
let kCTFontSampleTextNameKey: CFString!
To
let kCTFontSampleTextNameKey: CFString

Declaration
From
let kCTFontSizeAttribute: CFString!
To
let kCTFontSizeAttribute: CFString

Declaration
From
let kCTFontSlantTrait: CFString!
To
let kCTFontSlantTrait: CFString

Declaration
From
let kCTFontStyleNameAttribute: CFString!
To
let kCTFontStyleNameAttribute: CFString

Declaration
From
let kCTFontStyleNameKey: CFString!
To
let kCTFontStyleNameKey: CFString

Declaration
From
let kCTFontSubFamilyNameKey: CFString!
To
let kCTFontSubFamilyNameKey: CFString

Declaration
From
let kCTFontSymbolicTrait: CFString!
To
let kCTFontSymbolicTrait: CFString

Declaration
From
let kCTFontTrademarkNameKey: CFString!
To
let kCTFontTrademarkNameKey: CFString

Declaration
From
let kCTFontTraitsAttribute: CFString!
To
let kCTFontTraitsAttribute: CFString

Declaration
From
let kCTFontUniqueNameKey: CFString!
To
let kCTFontUniqueNameKey: CFString

Declaration
From
let kCTFontURLAttribute: CFString!
To
let kCTFontURLAttribute: CFString

Declaration
From
let kCTFontVariationAttribute: CFString!
To
let kCTFontVariationAttribute: CFString

Declaration
From
let kCTFontVariationAxisDefaultValueKey: CFString!
To
let kCTFontVariationAxisDefaultValueKey: CFString

Declaration
From
let kCTFontVariationAxisIdentifierKey: CFString!
To
let kCTFontVariationAxisIdentifierKey: CFString

Declaration
From
let kCTFontVariationAxisMaximumValueKey: CFString!
To
let kCTFontVariationAxisMaximumValueKey: CFString

Declaration
From
let kCTFontVariationAxisMinimumValueKey: CFString!
To
let kCTFontVariationAxisMinimumValueKey: CFString

Declaration
From
let kCTFontVariationAxisNameKey: CFString!
To
let kCTFontVariationAxisNameKey: CFString

Declaration
From
let kCTFontVendorURLNameKey: CFString!
To
let kCTFontVendorURLNameKey: CFString

Declaration
From
let kCTFontVersionNameKey: CFString!
To
let kCTFontVersionNameKey: CFString

Declaration
From
let kCTFontWeightTrait: CFString!
To
let kCTFontWeightTrait: CFString

Declaration
From
let kCTFontWidthTrait: CFString!
To
let kCTFontWidthTrait: CFString

Declaration
From
let kCTForegroundColorAttributeName: CFString!
To
let kCTForegroundColorAttributeName: CFString

Declaration
From
let kCTForegroundColorFromContextAttributeName: CFString!
To
let kCTForegroundColorFromContextAttributeName: CFString

Declaration
From
let kCTFrameClippingPathsAttributeName: CFString!
To
let kCTFrameClippingPathsAttributeName: CFString

Declaration
From
let kCTFramePathClippingPathAttributeName: CFString!
To
let kCTFramePathClippingPathAttributeName: CFString

Declaration
From
let kCTFramePathFillRuleAttributeName: CFString!
To
let kCTFramePathFillRuleAttributeName: CFString

Declaration
From
let kCTFramePathWidthAttributeName: CFString!
To
let kCTFramePathWidthAttributeName: CFString

Declaration
From
let kCTFrameProgressionAttributeName: CFString!
To
let kCTFrameProgressionAttributeName: CFString

Declaration
From
let kCTGlyphInfoAttributeName: CFString!
To
let kCTGlyphInfoAttributeName: CFString

Declaration
From
let kCTKernAttributeName: CFString!
To
let kCTKernAttributeName: CFString

Declaration
From
let kCTLanguageAttributeName: CFString!
To
let kCTLanguageAttributeName: CFString

Declaration
From
let kCTLigatureAttributeName: CFString!
To
let kCTLigatureAttributeName: CFString

Declaration
From
let kCTParagraphStyleAttributeName: CFString!
To
let kCTParagraphStyleAttributeName: CFString

Declaration
From
let kCTRubyAnnotationAttributeName: CFString!
To
let kCTRubyAnnotationAttributeName: CFString

Declaration
From
let kCTRunDelegateAttributeName: CFString!
To
let kCTRunDelegateAttributeName: CFString

Declaration
From
let kCTStrokeColorAttributeName: CFString!
To
let kCTStrokeColorAttributeName: CFString

Declaration
From
let kCTStrokeWidthAttributeName: CFString!
To
let kCTStrokeWidthAttributeName: CFString

Declaration
From
let kCTSuperscriptAttributeName: CFString!
To
let kCTSuperscriptAttributeName: CFString

Declaration
From
let kCTTabColumnTerminatorsAttributeName: CFString!
To
let kCTTabColumnTerminatorsAttributeName: CFString

Declaration
From
let kCTTypesetterOptionForcedEmbeddingLevel: CFString!
To
let kCTTypesetterOptionForcedEmbeddingLevel: CFString

Declaration
From
let kCTUnderlineColorAttributeName: CFString!
To
let kCTUnderlineColorAttributeName: CFString

Declaration
From
let kCTUnderlineStyleAttributeName: CFString!
To
let kCTUnderlineStyleAttributeName: CFString

Declaration
From
let kCTVerticalFormsAttributeName: CFString!
To
let kCTVerticalFormsAttributeName: CFString

Declaration
From
let kCTWritingDirectionAttributeName: CFString!
To
let kCTWritingDirectionAttributeName: CFString