# `GSFont.versionMajor`

*Instance Property*

The major component of the font version.

## Declaration

```swift
var versionMajor: UInt { get set }
```

```objc
@property (nonatomic, assign) NSUInteger versionMajor;
```

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

```python
pyobjc_instanceMethods.versionMajor() -> int
pyobjc_instanceMethods.setVersionMajor_(versionMajor: int)
```

## See Also

### Font Information

- [`GSFont.fontName`](/Core/GlyphsCore/GSFont/fontName) — The default-language family name.
- [`GSFont nameUI`](/Core/GlyphsCore/GSFont/nameUI) — A family name suitable for displaying the font in the user interface.
- [`GSFont.unitsPerEm`](/Core/GlyphsCore/GSFont/unitsPerEm) — The number of font units per em.
- [`GSFont.versionMinor`](/Core/GlyphsCore/GSFont/versionMinor) — The minor component of the font version.
- [`GSFont.date`](/Core/GlyphsCore/GSFont/date) — The creation date recorded for the font.
- [`GSFont panose`](/Core/GlyphsCore/GSFont/panose) — The ten-number PANOSE classification, or `nil` when no classification is specified.
- [`GSFont.note`](/Core/GlyphsCore/GSFont/note) — A note stored with the font for use in the editor.

