Declaration

init(url fileURL: URL) throws

Declaration

- (instancetype) initWithURL:(NSURL *) fileURL error:(NSError **) error;

Declaration

initWithURL_error_(fileURL: NSURL) -> tuple[GSFont, NSError]

Parameters

fileURL

The location of a Glyphs file or package.

Parameters

fileURL

The location of a Glyphs file or package.

error

On output, a pointer to an error object that describes why the method failed, or nil if no error occurred. If you are not interested in the error information, pass nil for this parameter.

Discussion

Returns nil when the file does not exist or its contents cannot be read.

See Also

Creating a Font