# `GSGlyph initWithName:`

*Initializer*

Creates a glyph with a name and no layers.

## Declaration

```swift
init(name: String)
```

```objc
- (instancetype) initWithName:(NSString *) name;
```

```python
initWithName_(name: str) -> GSGlyph
```

## Parameters

- `name` — The glyph name.

## Discussion

The glyph is not added to a font.

## See Also

### Creating a Glyph

- [`GSGlyph initFast`](/Core/GlyphsCore/GSGlyph/initFast) — Creates a minimally configured glyph for bulk construction.
- [`GSGlyph initWithDict:format:`](/Core/GlyphsCore/GSGlyph/initWithDict:format:) — Creates a glyph from a Glyphs file dictionary representation.
- [`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.

