This commit is contained in:
Kevin G Christiano 2020-10-05 15:37:19 -04:00
parent 2ef34939b7
commit 229bc94568

View File

@ -18,6 +18,8 @@ import UIKit
return "underline"
}
/// This returns the NSUnderlineStyle used in NSAttributedValue. If there is a pattern, it will return
/// a new NSUnderlineStyle derived from the bitmask of style | pattern.
var underlineValue: NSUnderlineStyle {
if let pattern = pattern?.value() {