I have an NSAttributedString with two different font sizes for displaying currency in pennys.
I need to apply strikethrough to all strings, but not to break line of strikethrough.
How can I draw a single strikethrough line in one formatting style? The result I need is this:
The current result when I apply attribute:
value.addAttributes([NSAttributedString.Key.strikethroughStyle : 2], range: value.range)



I think the simplest way is to draw a path above the label's layer. Try this:
Output