In this code sample, the TextDocumentView has a variable set to 5.0. Any idea where this 5.0 number is coming from? It is used internally in other calculations within TextDocumentLayer. While it works, I'm not sure what it signifies, and how to adapt it to our projects? Thanks
Padding Variable in code sample `Using TextKit2 To Interact With Text`
to clarify, the variable in question is var padding: CGFloat = 5.0
This just seems to be a simple offset for all text rendered on screen.