MediaAccessibility Changes for Swift
MediaAccessibility
Modified MACaptionAppearanceBehavior [enum]
Declaration | |
---|---|
From | enum MACaptionAppearanceBehavior : CFIndex { case UseValue case UseContentIfAvailable } |
To | enum MACaptionAppearanceBehavior : CFIndex { case useValue case useContentIfAvailable } |
Declaration | |
---|---|
From | case UseContentIfAvailable |
To | case useContentIfAvailable |
Modified MACaptionAppearanceBehavior.useValue
Declaration | |
---|---|
From | case UseValue |
To | case useValue |
Declaration | |
---|---|
From | enum MACaptionAppearanceDisplayType : CFIndex { case ForcedOnly case Automatic case AlwaysOn } |
To | enum MACaptionAppearanceDisplayType : CFIndex { case forcedOnly case automatic case alwaysOn } |
Declaration | |
---|---|
From | case AlwaysOn |
To | case alwaysOn |
Declaration | |
---|---|
From | case Automatic |
To | case automatic |
Declaration | |
---|---|
From | case ForcedOnly |
To | case forcedOnly |
Modified MACaptionAppearanceDomain [enum]
Declaration | |
---|---|
From | enum MACaptionAppearanceDomain : CFIndex { case Default case User } |
To | enum MACaptionAppearanceDomain : CFIndex { case `default` case user } |
Modified MACaptionAppearanceDomain.default
Declaration | |
---|---|
From | case Default |
To | case `default` |
Modified MACaptionAppearanceDomain.user
Declaration | |
---|---|
From | case User |
To | case user |
Modified MACaptionAppearanceFontStyle [enum]
Declaration | |
---|---|
From | enum MACaptionAppearanceFontStyle : CFIndex { case Default case MonospacedWithSerif case ProportionalWithSerif case MonospacedWithoutSerif case ProportionalWithoutSerif case Casual case Cursive case SmallCapital } |
To | enum MACaptionAppearanceFontStyle : CFIndex { case `default` case monospacedWithSerif case proportionalWithSerif case monospacedWithoutSerif case proportionalWithoutSerif case casual case cursive case smallCapital } |
Modified MACaptionAppearanceFontStyle.casual
Declaration | |
---|---|
From | case Casual |
To | case casual |
Modified MACaptionAppearanceFontStyle.cursive
Declaration | |
---|---|
From | case Cursive |
To | case cursive |
Modified MACaptionAppearanceFontStyle.default
Declaration | |
---|---|
From | case Default |
To | case `default` |
Declaration | |
---|---|
From | case MonospacedWithoutSerif |
To | case monospacedWithoutSerif |
Declaration | |
---|---|
From | case MonospacedWithSerif |
To | case monospacedWithSerif |
Declaration | |
---|---|
From | case ProportionalWithoutSerif |
To | case proportionalWithoutSerif |
Declaration | |
---|---|
From | case ProportionalWithSerif |
To | case proportionalWithSerif |
Declaration | |
---|---|
From | case SmallCapital |
To | case smallCapital |
Declaration | |
---|---|
From | enum MACaptionAppearanceTextEdgeStyle : CFIndex { case Undefined case None case Raised case Depressed case Uniform case DropShadow } |
To | enum MACaptionAppearanceTextEdgeStyle : CFIndex { case undefined case none case raised case depressed case uniform case dropShadow } |
Declaration | |
---|---|
From | case Depressed |
To | case depressed |
Declaration | |
---|---|
From | case DropShadow |
To | case dropShadow |
Declaration | |
---|---|
From | case None |
To | case none |
Declaration | |
---|---|
From | case Raised |
To | case raised |
Declaration | |
---|---|
From | case Undefined |
To | case undefined |
Declaration | |
---|---|
From | case Uniform |
To | case uniform |
Declaration | |
---|---|
From | func MACaptionAppearanceCopyBackgroundColor(_ domain: MACaptionAppearanceDomain, _ behavior: UnsafeMutablePointer<MACaptionAppearanceBehavior>) -> Unmanaged<CGColor> |
To | func MACaptionAppearanceCopyBackgroundColor(_ domain: MACaptionAppearanceDomain, _ behavior: UnsafeMutablePointer<MACaptionAppearanceBehavior>?) -> Unmanaged<CGColor> |
Declaration | |
---|---|
From | func MACaptionAppearanceCopyFontDescriptorForStyle(_ domain: MACaptionAppearanceDomain, _ behavior: UnsafeMutablePointer<MACaptionAppearanceBehavior>, _ fontStyle: MACaptionAppearanceFontStyle) -> Unmanaged<CTFontDescriptor> |
To | func MACaptionAppearanceCopyFontDescriptorForStyle(_ domain: MACaptionAppearanceDomain, _ behavior: UnsafeMutablePointer<MACaptionAppearanceBehavior>?, _ fontStyle: MACaptionAppearanceFontStyle) -> Unmanaged<CTFontDescriptor> |
Declaration | |
---|---|
From | func MACaptionAppearanceCopyForegroundColor(_ domain: MACaptionAppearanceDomain, _ behavior: UnsafeMutablePointer<MACaptionAppearanceBehavior>) -> Unmanaged<CGColor> |
To | func MACaptionAppearanceCopyForegroundColor(_ domain: MACaptionAppearanceDomain, _ behavior: UnsafeMutablePointer<MACaptionAppearanceBehavior>?) -> Unmanaged<CGColor> |
Declaration | |
---|---|
From | func MACaptionAppearanceCopyWindowColor(_ domain: MACaptionAppearanceDomain, _ behavior: UnsafeMutablePointer<MACaptionAppearanceBehavior>) -> Unmanaged<CGColor> |
To | func MACaptionAppearanceCopyWindowColor(_ domain: MACaptionAppearanceDomain, _ behavior: UnsafeMutablePointer<MACaptionAppearanceBehavior>?) -> Unmanaged<CGColor> |
Declaration | |
---|---|
From | func MACaptionAppearanceGetBackgroundOpacity(_ domain: MACaptionAppearanceDomain, _ behavior: UnsafeMutablePointer<MACaptionAppearanceBehavior>) -> CGFloat |
To | func MACaptionAppearanceGetBackgroundOpacity(_ domain: MACaptionAppearanceDomain, _ behavior: UnsafeMutablePointer<MACaptionAppearanceBehavior>?) -> CGFloat |
Declaration | |
---|---|
From | func MACaptionAppearanceGetForegroundOpacity(_ domain: MACaptionAppearanceDomain, _ behavior: UnsafeMutablePointer<MACaptionAppearanceBehavior>) -> CGFloat |
To | func MACaptionAppearanceGetForegroundOpacity(_ domain: MACaptionAppearanceDomain, _ behavior: UnsafeMutablePointer<MACaptionAppearanceBehavior>?) -> CGFloat |
Declaration | |
---|---|
From | func MACaptionAppearanceGetRelativeCharacterSize(_ domain: MACaptionAppearanceDomain, _ behavior: UnsafeMutablePointer<MACaptionAppearanceBehavior>) -> CGFloat |
To | func MACaptionAppearanceGetRelativeCharacterSize(_ domain: MACaptionAppearanceDomain, _ behavior: UnsafeMutablePointer<MACaptionAppearanceBehavior>?) -> CGFloat |
Declaration | |
---|---|
From | func MACaptionAppearanceGetTextEdgeStyle(_ domain: MACaptionAppearanceDomain, _ behavior: UnsafeMutablePointer<MACaptionAppearanceBehavior>) -> MACaptionAppearanceTextEdgeStyle |
To | func MACaptionAppearanceGetTextEdgeStyle(_ domain: MACaptionAppearanceDomain, _ behavior: UnsafeMutablePointer<MACaptionAppearanceBehavior>?) -> MACaptionAppearanceTextEdgeStyle |
Declaration | |
---|---|
From | func MACaptionAppearanceGetWindowOpacity(_ domain: MACaptionAppearanceDomain, _ behavior: UnsafeMutablePointer<MACaptionAppearanceBehavior>) -> CGFloat |
To | func MACaptionAppearanceGetWindowOpacity(_ domain: MACaptionAppearanceDomain, _ behavior: UnsafeMutablePointer<MACaptionAppearanceBehavior>?) -> CGFloat |
Declaration | |
---|---|
From | func MACaptionAppearanceGetWindowRoundedCornerRadius(_ domain: MACaptionAppearanceDomain, _ behavior: UnsafeMutablePointer<MACaptionAppearanceBehavior>) -> CGFloat |
To | func MACaptionAppearanceGetWindowRoundedCornerRadius(_ domain: MACaptionAppearanceDomain, _ behavior: UnsafeMutablePointer<MACaptionAppearanceBehavior>?) -> CGFloat |