Declaration

func pasteDict(_ dictionary: [AnyHashable : Any], format: GSFormatVersion, selectedNodes: [GSNode]) throws

Declaration

- (BOOL) pasteDict:(NSDictionary *) dictionary format:(GSFormatVersion) format selectedNodes:(NSArray<GSNode *> *) selectedNodes error:(NSError **) error;

Declaration

pasteDict_format_selectedNodes_error_(dictionary: dict, format: GSFormatVersion, selectedNodes: list[GSNode]) -> tuple[bool, NSError]

Parameters

dictionary

A decoded selection dictionary.

format

The format version of the dictionary.

selectedNodes

Target nodes used to attach pasted hints.

Parameters

dictionary

A decoded selection dictionary.

format

The format version of the dictionary.

selectedNodes

Target nodes used to attach pasted hints.

error

On failure, information about the error.

Discussion

The added elements become the selection.

Return Value

Whether the complete selection was added.

Discussion

The added elements become the selection.

See Also

Selection Serialization