Declaration

init(file filePath: String, format: GSFormatVersion) throws

Declaration

- (instancetype) initWithFile:(NSString *) filePath format:(GSFormatVersion) format error:(NSError **) error;

Declaration

initWithFile_format_error_(filePath: str, format: GSFormatVersion) -> tuple[GSGlyph, NSError]

Parameters

filePath

The path to the .glyph file.

format

The Glyphs file format version used to interpret the file.

Parameters

filePath

The path to the .glyph file.

format

The Glyphs file format version used to interpret the file.

error

On failure, an error describing the problem.

Discussion

Returns nil when the file cannot be read or its contents are invalid.

See Also

Creating a Glyph

See Also

Creating a Glyph