-1

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.

1 Answers1

0

There are a lot of examples.

let attributes = [NSBaselineOffsetAttributeName : 0.0] as [String : Any]
E.Coms
  • 11,065
  • 2
  • 23
  • 35