From f2bd4a06f453e1cbd3f646bea12854575a13d46e Mon Sep 17 00:00:00 2001 From: Jorge Mulhia Date: Thu, 12 Dec 2024 21:37:07 -0600 Subject: [PATCH] Update | Public method to update possiblyTaggedText variable --- Source/TextyLabel.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/TextyLabel.swift b/Source/TextyLabel.swift index 18a47eb..fecc831 100644 --- a/Source/TextyLabel.swift +++ b/Source/TextyLabel.swift @@ -110,6 +110,10 @@ open class TextyLabel: UILabel, TextStyleDelegate { fatalError("not supported") } + public func updatePossiblyTaggedText(_ newValue: String?) { + possiblyTaggedText = newValue + } + private func setDefaults() { /// If the font/textColor are not set yet by the TextStyle passed in, then set some default values self.text = nil