Function

CTFontCollectionCreateFromAvailableFonts(_:)

Returns a new font collection containing all available fonts.

Declaration

func CTFontCollectionCreateFromAvailableFonts(_ options: CFDictionary?) -> CTFontCollection

Parameters

options

The options dictionary. For possible values, see Constants.

Return Value

A new collection containing all fonts available to the current application.

See Also

Creating Font Collections

func CTFontCollectionCreateWithFontDescriptors(CFArray?, CFDictionary?) -> CTFontCollection

Returns a new font collection based on the given array of font descriptors.

func CTFontCollectionCreateCopyWithFontDescriptors(CTFontCollection, CFArray?, CFDictionary?) -> CTFontCollection

Returns a copy of the original collection augmented with the given new font descriptors.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software