SwiftyCoreText

CoreText 的 Swift 封装

用法

let font = SwiftyCTFont(...)
let ascent = font.getAscent()
let ctFont = font.ctFont