Instance Method
propertyListValue(format:options:) propertyListValueFormat:options:error: propertyListValueFormat_options_error_
A property-list representation using specified save options.
Declaration
func propertyListValue(
format: GSFormatVersion,
options: GSSaveOptions = []
) throws -> [String : Any]Declaration
- (NSDictionary<NSString *,id> *) propertyListValueFormat:(GSFormatVersion) format
options:(GSSaveOptions) options
error:(NSError **) error;Declaration
propertyListValueFormat_options_error_(
format: GSFormatVersion,
options: GSSaveOptions
) -> tuple[dict[str, object], NSError]Parameters
formatThe source format used for the representation.
optionsOptions controlling the represented data.
Parameters
formatThe source format used for the representation.
optionsOptions controlling the represented data.
errorOn return, an error that prevented encoding.
Discussion
Property-list encoding supports format 3 and later. Only write
See Also
Encoding
A property-list representation in a Glyphs source format.
Writes the glyph in Glyphs source syntax to an open file.