VGSLabelDelegate
@objc
@MainActor
public protocol VGSLabelDelegate
Delegate methods produced by VGSLabel.
-
Tells the delegate when raw text is copied in the specified label.
Declaration
Parameters
labelVGSLabelview in which raw text was copied.formatVGSLabelCopyTextFormatobject, copied text format. -
Tells the delegate when reveal data operation was failed for the subscribed
VGSLabelview.Declaration
Swift
@objc @MainActor optional func labelRevealDataDidFail(_ label: VGSLabel, error: VGSShowError)Parameters
labelVGSLabelview in which reveal data operation was failed.errorVGSShowErrorobject.
View on GitHub