I am using NSAttributedStringKey in Swift 4. While compiling with Swift 3 I am getting this error. What is the equivalent of baselineOffset property in Swift 3.
Asked
Active
Viewed 292 times
1 Answers
0
There are a lot of examples.
let attributes = [NSBaselineOffsetAttributeName : 0.0] as [String : Any]

E.Coms
- 11,065
- 2
- 23
- 35