# `GSGlyph.subCategory`

*Instance Property*

The classification that refines [`GSGlyph.category`](/Core/GlyphsCore/GSGlyph/category).

## Declaration

```swift
var subCategory: String? { get set }
```

```objc
@property (nonatomic, copy) NSString * subCategory;
```

[See also `subCategory` in the Python API](https://docu.glyphsapp.com/#GSGlyph.subCategory)

```python
pyobjc_instanceMethods.subCategory() -> str
pyobjc_instanceMethods.setSubCategory_(subCategory: str)
```

## Discussion

This value is usually supplied by the Glyph Info Database. Set [`GSGlyph.storeSubCategory`](/Core/GlyphsCore/GSGlyph/storeSubCategory) to `YES` to persist a glyph-local override instead of deriving it from the glyph name.

## See Also

### Category & Subcategory

- [`GSGlyph.category`](/Core/GlyphsCore/GSGlyph/category) — The broad classification used to interpret and organize the glyph.
- [`GSGlyph.storeCategory`](/Core/GlyphsCore/GSGlyph/storeCategory) — Whether [`GSGlyph.category`](/Core/GlyphsCore/GSGlyph/category) is stored as glyph-local glyph info.
- [`GSGlyph.storeSubCategory`](/Core/GlyphsCore/GSGlyph/storeSubCategory) — Whether [`GSGlyph.subCategory`](/Core/GlyphsCore/GSGlyph/subCategory) is stored as glyph-local glyph info.

