Instance Method
save(to:format:context:) saveToFile:format:context:error: saveToFile_format_context_error_
Writes a Glyphs file representation.
Declaration
func save(to file: UnsafeMutablePointer<FILE>, format formatVersion: GSFormatVersion, context: GSSaveContext?) throwsDeclaration
- (BOOL) saveToFile:(FILE *) file format:(GSFormatVersion) formatVersion context:(GSSaveContext *) context error:(NSError **) error;Declaration
saveToFile_format_context_error_(file: FILE, formatVersion: GSFormatVersion, context: GSSaveContext) -> tuple[bool, NSError]Parameters
formatVersionThe Glyphs file format version to write.
Parameters
formatVersionThe Glyphs file format version to write.
errorOn failure, an error describing why the path could not be written.
Discussion
Returns NO when the path uses data that cannot be represented in the requested file format.
Return Value
YES if the method succeeded, otherwise NO.
Discussion
Returns NO when the path uses data that cannot be represented in the requested file format.