Instance Method
postRead(_:format:) postRead:format: postRead_format_
Finishes loading after the shape has been attached to its layer.
Declaration
func postRead(_ error: NSErrorPointer, format formatVersion: GSFormatVersion) -> BoolDeclaration
- (BOOL) postRead:(NSError **) error format:(GSFormatVersion) formatVersion;Declaration
postRead_format_(formatVersion: GSFormatVersion) -> tuple[bool, NSError]Parameters
errorOn failure, an error describing why loading could not be completed.
formatVersionThe Glyphs file format version used to interpret the representation.
Return Value
Whether loading was completed successfully.
Discussion
Call this method after the complete layer contents have been loaded.
See Also
Creating a Shape
Creates a concrete shape from a Glyphs file dictionary representation.