daviad
daviad
ios11 debug 发现 _lineWidth = CTLineGetTypographicBounds(_CTLine, &_ascent, &_descent, &_leading); _descent 特别大
if (@available(iOS 11.0, *)) { CGRect tempRect = CTLineGetBoundsWithOptions(_CTLine, 0); _descent = tempRect.size.height - _ascent; } 先这样把bug 解决吧。 哎!
Hello, code like below: ``` class PersonClass{ var name: String = "hua" let age: Int = 22 } var ps = PersonClass() dumpAndOpenGraph(dumping: ps, maxDepth: 60, filename: "PersonClass") ```