<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.6.0 -",
    "tvOS: 10.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreText",
  "identifier" : "/documentation/CoreText/CTFontManagerCopyAvailableFontFamilyNames()",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Text"
    ],
    "preciseIdentifier" : "c:@F@CTFontManagerCopyAvailableFontFamilyNames"
  },
  "title" : "CTFontManagerCopyAvailableFontFamilyNames()"
}
-->

# CTFontManagerCopyAvailableFontFamilyNames()

Returns an array of visible font family names sorted for user interface display.

```
func CTFontManagerCopyAvailableFontFamilyNames() -> CFArray
```

## Return Value

This function returns a retained reference to a CFArray of `CFStringRef` objects representing the visible font family names of the available fonts, or `NULL` on error. The caller is responsible for releasing the array.

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)