lixiang1994 / AttributedString

基于Swift插值方式优雅的构建富文本, 支持点击长按事件, 支持不同类型过滤, 支持自定义视图等.
MIT License
846 stars 76 forks source link

Error #40

Closed liyuemin7 closed 2 years ago

liyuemin7 commented 2 years ago

Xcode 13 let attr : ASAttributedString = "("lee", .action(clicked))"

error:

Cannot infer contextual base in reference to member 'action' Generic parameter 'T' could not be inferred

lixiang1994 commented 2 years ago

let attr : ASAttributedString = "("lee", .action(clicked))"

lixiang1994 commented 2 years ago

let attr : ASAttributedString = "("lee", .action(clicked))"