# `GSGlyph initWithDict:format:`

*Initializer*

Creates a glyph from a Glyphs file dictionary representation.

## Declaration

```swift
init(dict glyphDict: [String : Any], format formatVersion: GSFormatVersion)
```

```objc
- (instancetype) initWithDict:(NSDictionary<NSString *,id> *) glyphDict format:(GSFormatVersion) formatVersion;
```

```python
initWithDict_format_(glyphDict: dict[str, object], formatVersion: GSFormatVersion) -> GSGlyph
```

## Parameters

- `glyphDict` — The dictionary representation of the glyph.
- `formatVersion` — The Glyphs file format version used to interpret the representation.

## See Also

### Creating a Glyph

- [`GSGlyph initWithName:`](/Core/GlyphsCore/GSGlyph/initWithName:) — Creates a glyph with a name and no layers.
- [`GSGlyph initFast`](/Core/GlyphsCore/GSGlyph/initFast) — Creates a minimally configured glyph for bulk construction.
- [`GSGlyph initWithFile:format:error:`](/Core/GlyphsCore/GSGlyph/initWithFile:format:error:) — Creates a glyph by reading a `.glyph` file.
- [`GSGlyph initWithGlyphsParser:format:`](/Core/GlyphsCore/GSGlyph/initWithGlyphsParser:format:) — Creates a glyph from a Glyphs file representation at the current parser position.

