Currently, JSONPreview has several problems on the tvOS platform:
UITextView cannot be edited on tvOS.
Line numbers and JSON lines cannot be aligned.
Because of the first problem, even if I find a way to align the line numbers, I cannot implement the folding and unfolding functions of json on tvOS (the purpose of aligning the line numbers is to accurately obtain which line of json the user clicked).
Therefore, the following changes have been made to this pull request:
Mark collapse, expand, and click functions are not available on tvOS.
Currently, JSONPreview has several problems on the tvOS platform:
Because of the first problem, even if I find a way to align the line numbers, I cannot implement the folding and unfolding functions of json on tvOS (the purpose of aligning the line numbers is to accurately obtain which line of json the user clicked).
Therefore, the following changes have been made to this pull request: