I'm trying to animate a strike through animate. The only help I could find was this UIFont: how to animate strikethrough and match font style? but its Objective-C I'm trying for a result something like this https://dribbble.com/shots/3167358-Microinteractions-for-to-do-list-app. But can't figure out how to animate the strikethrough.
guard let postsText = post?.post else { return }
let attributeString: NSMutableAttributedString = NSMutableAttributedString(string: postsText)
attributeString.addAttribute(NSAttributedString.Key.strikethroughStyle, value: 1, range: NSMakeRange(0, attributeString.length))
postLabel.attributedText = attributeString