---
title: familyNames
framework: uikit
role: symbol
role_heading: Type Property
path: uikit/uifont/familynames
---

# familyNames

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

## Declaration

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

## Return Value

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

## Discussion

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:) 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.

## See Also

### Getting the Available Font Names

- [fontNames(forFamilyName:)](uikit/uifont/fontnames(forfamilyname:).md)
