# `GSShape initWithDict:format:`

*Initializer*

Creates a concrete shape from a Glyphs file dictionary representation.

## Declaration

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

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

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

## Parameters

- `formatVersion` — The Glyphs file format version used to interpret the representation.

## Discussion

Call this initializer on a concrete `GSShape` subclass.

## See Also

### Creating a Shape

- [`GSShape postRead:format:`](/Core/GlyphsCore/GSShape/postRead:format:) — Finishes loading after the shape has been attached to its layer.

