Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在Swift 4中使用NSAttributedStringKey。在使用Swift 3编译时,我收到了这个错误。什么是Swift 3中的baselineOffset属性的等价物。
有很多例子。
let attributes = [NSBaselineOffsetAttributeName : 0.0] as [String : Any]