RakuyoKit / JSONPreview

🎨 A view that previews JSON in highlighted form, it also provides the ability to format and collapse nodes.
MIT License
65 stars 13 forks source link

Fixed the issue where line numbers and json views are not aligned on visionOS #17

Closed rakuyoMo closed 3 months ago

rakuyoMo commented 3 months ago

This pull request contains the following content:

JSONPreview

  1. Fixed an issue where line numbers and JSON lines were not aligned on visionOS.
  2. Dropped tvOS support from 13 to 12.
  3. Fixed an issue where tvOS and visionOS support were not included in the podspec file.
  4. Fixed the problem of compilation error when integrating through SPM under Swift 5.7 and 5.8.

Demo

  1. Fixed an issue where tvOS samples would not run correctly.
  2. Updated iOS App Icon.
  3. The minimum supported version of demo has been modified to be consistent with the JSONPreview library.

Note

Please keep an eye out for commit 166bcdda716fc658a04b323af4a8df8dd534558f which temporarily fixes the problem of line numbers and json lines not corresponding in a dirty way. But I think this is a temporary approach rather than a real solution.

This issue is currently being recorded:stackoverflow