<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIFont/familyNames",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIFont(cpy)familyNames"
  },
  "title" : "familyNames"
}
-->

# familyNames

Returns an array of font family names available on the system.

```
class var familyNames: [String] { get }
```

## Return Value

An array of `NSString` objects, each of which contains the name of a font family.

## Discussion

Font family names correspond to the base name of a font, such as `Times New Roman`. You can pass the returned strings to the [`fontNames(forFamilyName:)`](/documentation/UIKit/UIFont/fontNames(forFamilyName:)) method to retrieve a list of font names available for that family. You can then use the corresponding font name to retrieve an actual font object.

---

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)