Skip to content

增加 + 运算符扩展

Choose a tag to compare

@lixiang1994 lixiang1994 released this 21 Nov 04:46
· 180 commits to master since this release
let a: AttributedString = .init("123", .background(.blue))
let b: AttributedString = .init("456", .background(.blue))
textView.attributed.text = a + b
        
textView.attributed.text += "test"