<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSFontManager/availableMembers(ofFontFamily:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSFontManager(im)availableMembersOfFontFamily:"
  },
  "title" : "availableMembers(ofFontFamily:)"
}
-->

# availableMembers(ofFontFamily:)

Returns an array with one entry for each available member of a font family.

```
func availableMembers(ofFontFamily fam: String) -> [[Any]]?
```

## Parameters

`fam`

The name of a font family, like one specified by the value of [`availableFontFamilies`](/documentation/AppKit/NSFontManager/availableFontFamilies).

## Return Value

The available members of `family`. See the following discussion for a specific description.

## Discussion

Each entry of the returned `NSArray` is another `NSArray` with four members, as follows:

- 1. The PostScript font name, as an `NSString` object.
- 1. The part of the font name used in the font panel that’s not the font name, as an `NSString` object. This value is not localized—for example, `"Roman"`, `"Italic"`, or `"Bold"`.
- 1. The font’s weight, as an `NSNumber`.
- 1. The font’s traits, as an `NSNumber`.

The members of the family are arranged in the font panel order (narrowest to widest, lightest to boldest, plain to italic).

For example, if you call `availableMembersOfFontFamily:@"Times"`, it might return an array like this:

```objc
(("Times-Roman", "Roman", 5, 4),
 ("Times-Italic", "Italic", 6, 5),
 ("Times-Bold", "Bold", 9, 2),
 ("Times-BoldItalic", "Bold Italic", 9, 3)
)
```

---

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)