# `GSFont writeSettingsDict:`

*Instance Method*

A property-list representation of editor and file settings.

## Declaration

```swift
func writeSettingsDict(_ formatVersion: GSFormatVersion) -> [String : Any]
```

```objc
- (NSDictionary<NSString *,id> *) writeSettingsDict:(GSFormatVersion) formatVersion;
```

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

## Parameters

- `formatVersion` — The Glyphs file format version to use.

## Discussion

The returned dictionary contains settings that are stored separately from font information in newer file formats.

## See Also

### Saving

- [`GSFont saveToURL:type:error:`](/Core/GlyphsCore/GSFont/saveToURL:type:error:) — Saves the font to a file or package.
- [`GSFont saveToURL:type:format:context:error:`](/Core/GlyphsCore/GSFont/saveToURL:type:format:context:error:) — Saves the font to a file or package using an explicit format and save context.
- [`GSFont saveContextForURL:type:`](/Core/GlyphsCore/GSFont/saveContextForURL:type:) — Creates a save context for a destination and package type.
- [`GSFont propertyListValueFormat:error:`](/Core/GlyphsCore/GSFont/propertyListValueFormat:error:) — A property-list representation of the font.
- [`GSFont preWrite:`](/Core/GlyphsCore/GSFont/preWrite:) — Prepares the font before writing.

