├── .github └── workflows │ └── swift.yml ├── .gitignore ├── .swift-version ├── .swiftformat ├── .swiftlint.yml ├── .swiftpm └── xcode │ ├── package.xcworkspace │ └── contents.xcworkspacedata │ └── xcshareddata │ └── xcschemes │ └── SwiftFormats.xcscheme ├── .vscode └── settings.json ├── Demos ├── SwiftFormatsDemo.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ ├── IDEWorkspaceChecks.plist │ │ └── swiftpm │ │ └── Package.resolved └── SwiftFormatsDemo │ ├── Assets.xcassets │ ├── AccentColor.colorset │ │ └── Contents.json │ ├── AppIcon.appiconset │ │ └── Contents.json │ └── Contents.json │ ├── ContentView.swift │ ├── Preview Content │ └── Preview Assets.xcassets │ │ └── Contents.json │ ├── Support.swift │ ├── SwiftFormatsDemo.entitlements │ └── SwiftFormatsDemoApp.swift ├── LICENSE.md ├── MyPlayground.playground ├── Contents.swift └── contents.xcplayground ├── Package.resolved ├── Package.swift ├── README.md ├── Sources └── SwiftFormats │ ├── BoolFormatStyle.swift │ ├── DegreesMinutesSecondsNotation.swift │ ├── FormatStyle+Angles.swift │ ├── FormatStyle+ClosedRange.swift │ ├── FormatStyle+Coordinates.swift │ ├── FormatStyle+CoreGraphics.swift │ ├── FormatStyle+Debugging.swift │ ├── FormatStyle+Extensions.swift │ ├── FormatStyle+Hexdump.swift │ ├── FormatStyle+JSON.swift │ ├── FormatStyle+Matrix.swift │ ├── FormatStyle+Quaternion.swift │ ├── FormatStyle+Vector.swift │ ├── IncrementalParseStrategy.swift │ ├── MappingFormatStyle.swift │ ├── ParseableFormatStyle+Measurement.swift │ ├── RadixedIntegerFormatStyle.swift │ ├── Scratch.swift │ ├── SimpleListFormatStyle.swift │ ├── String+Extensions.swift │ ├── Support.swift │ └── TupleFormatStyle.swift ├── TestPlans └── SwiftFormats.xctestplan └── Tests └── SwiftFormatsTests ├── AngleTests.swift ├── BoolTests.swift ├── CoreGraphicsTests.swift ├── MappingTests.swift ├── MatrixTests.swift ├── QuaternionTests.swift ├── SimpleListTests.swift ├── SwiftFormatsTests.swift ├── TupleTests.swift └── VectorTests.swift /.github/workflows/swift.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/.github/workflows/swift.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/.gitignore -------------------------------------------------------------------------------- /.swift-version: -------------------------------------------------------------------------------- 1 | 5.7 2 | -------------------------------------------------------------------------------- /.swiftformat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/.swiftformat -------------------------------------------------------------------------------- /.swiftlint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/.swiftlint.yml -------------------------------------------------------------------------------- /.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /.swiftpm/xcode/xcshareddata/xcschemes/SwiftFormats.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/.swiftpm/xcode/xcshareddata/xcschemes/SwiftFormats.xcscheme -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /Demos/SwiftFormatsDemo.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Demos/SwiftFormatsDemo.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /Demos/SwiftFormatsDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Demos/SwiftFormatsDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /Demos/SwiftFormatsDemo.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Demos/SwiftFormatsDemo.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist -------------------------------------------------------------------------------- /Demos/SwiftFormatsDemo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Demos/SwiftFormatsDemo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved -------------------------------------------------------------------------------- /Demos/SwiftFormatsDemo/Assets.xcassets/AccentColor.colorset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Demos/SwiftFormatsDemo/Assets.xcassets/AccentColor.colorset/Contents.json -------------------------------------------------------------------------------- /Demos/SwiftFormatsDemo/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Demos/SwiftFormatsDemo/Assets.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /Demos/SwiftFormatsDemo/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Demos/SwiftFormatsDemo/Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /Demos/SwiftFormatsDemo/ContentView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Demos/SwiftFormatsDemo/ContentView.swift -------------------------------------------------------------------------------- /Demos/SwiftFormatsDemo/Preview Content/Preview Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Demos/SwiftFormatsDemo/Preview Content/Preview Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /Demos/SwiftFormatsDemo/Support.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Demos/SwiftFormatsDemo/Support.swift -------------------------------------------------------------------------------- /Demos/SwiftFormatsDemo/SwiftFormatsDemo.entitlements: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Demos/SwiftFormatsDemo/SwiftFormatsDemo.entitlements -------------------------------------------------------------------------------- /Demos/SwiftFormatsDemo/SwiftFormatsDemoApp.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Demos/SwiftFormatsDemo/SwiftFormatsDemoApp.swift -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/LICENSE.md -------------------------------------------------------------------------------- /MyPlayground.playground/Contents.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/MyPlayground.playground/Contents.swift -------------------------------------------------------------------------------- /MyPlayground.playground/contents.xcplayground: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/MyPlayground.playground/contents.xcplayground -------------------------------------------------------------------------------- /Package.resolved: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Package.resolved -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Package.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/README.md -------------------------------------------------------------------------------- /Sources/SwiftFormats/BoolFormatStyle.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Sources/SwiftFormats/BoolFormatStyle.swift -------------------------------------------------------------------------------- /Sources/SwiftFormats/DegreesMinutesSecondsNotation.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Sources/SwiftFormats/DegreesMinutesSecondsNotation.swift -------------------------------------------------------------------------------- /Sources/SwiftFormats/FormatStyle+Angles.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Sources/SwiftFormats/FormatStyle+Angles.swift -------------------------------------------------------------------------------- /Sources/SwiftFormats/FormatStyle+ClosedRange.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Sources/SwiftFormats/FormatStyle+ClosedRange.swift -------------------------------------------------------------------------------- /Sources/SwiftFormats/FormatStyle+Coordinates.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Sources/SwiftFormats/FormatStyle+Coordinates.swift -------------------------------------------------------------------------------- /Sources/SwiftFormats/FormatStyle+CoreGraphics.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Sources/SwiftFormats/FormatStyle+CoreGraphics.swift -------------------------------------------------------------------------------- /Sources/SwiftFormats/FormatStyle+Debugging.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Sources/SwiftFormats/FormatStyle+Debugging.swift -------------------------------------------------------------------------------- /Sources/SwiftFormats/FormatStyle+Extensions.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Sources/SwiftFormats/FormatStyle+Extensions.swift -------------------------------------------------------------------------------- /Sources/SwiftFormats/FormatStyle+Hexdump.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Sources/SwiftFormats/FormatStyle+Hexdump.swift -------------------------------------------------------------------------------- /Sources/SwiftFormats/FormatStyle+JSON.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Sources/SwiftFormats/FormatStyle+JSON.swift -------------------------------------------------------------------------------- /Sources/SwiftFormats/FormatStyle+Matrix.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Sources/SwiftFormats/FormatStyle+Matrix.swift -------------------------------------------------------------------------------- /Sources/SwiftFormats/FormatStyle+Quaternion.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Sources/SwiftFormats/FormatStyle+Quaternion.swift -------------------------------------------------------------------------------- /Sources/SwiftFormats/FormatStyle+Vector.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Sources/SwiftFormats/FormatStyle+Vector.swift -------------------------------------------------------------------------------- /Sources/SwiftFormats/IncrementalParseStrategy.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Sources/SwiftFormats/IncrementalParseStrategy.swift -------------------------------------------------------------------------------- /Sources/SwiftFormats/MappingFormatStyle.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Sources/SwiftFormats/MappingFormatStyle.swift -------------------------------------------------------------------------------- /Sources/SwiftFormats/ParseableFormatStyle+Measurement.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Sources/SwiftFormats/ParseableFormatStyle+Measurement.swift -------------------------------------------------------------------------------- /Sources/SwiftFormats/RadixedIntegerFormatStyle.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Sources/SwiftFormats/RadixedIntegerFormatStyle.swift -------------------------------------------------------------------------------- /Sources/SwiftFormats/Scratch.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Sources/SwiftFormats/Scratch.swift -------------------------------------------------------------------------------- /Sources/SwiftFormats/SimpleListFormatStyle.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Sources/SwiftFormats/SimpleListFormatStyle.swift -------------------------------------------------------------------------------- /Sources/SwiftFormats/String+Extensions.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Sources/SwiftFormats/String+Extensions.swift -------------------------------------------------------------------------------- /Sources/SwiftFormats/Support.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Sources/SwiftFormats/Support.swift -------------------------------------------------------------------------------- /Sources/SwiftFormats/TupleFormatStyle.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Sources/SwiftFormats/TupleFormatStyle.swift -------------------------------------------------------------------------------- /TestPlans/SwiftFormats.xctestplan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/TestPlans/SwiftFormats.xctestplan -------------------------------------------------------------------------------- /Tests/SwiftFormatsTests/AngleTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Tests/SwiftFormatsTests/AngleTests.swift -------------------------------------------------------------------------------- /Tests/SwiftFormatsTests/BoolTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Tests/SwiftFormatsTests/BoolTests.swift -------------------------------------------------------------------------------- /Tests/SwiftFormatsTests/CoreGraphicsTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Tests/SwiftFormatsTests/CoreGraphicsTests.swift -------------------------------------------------------------------------------- /Tests/SwiftFormatsTests/MappingTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Tests/SwiftFormatsTests/MappingTests.swift -------------------------------------------------------------------------------- /Tests/SwiftFormatsTests/MatrixTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Tests/SwiftFormatsTests/MatrixTests.swift -------------------------------------------------------------------------------- /Tests/SwiftFormatsTests/QuaternionTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Tests/SwiftFormatsTests/QuaternionTests.swift -------------------------------------------------------------------------------- /Tests/SwiftFormatsTests/SimpleListTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Tests/SwiftFormatsTests/SimpleListTests.swift -------------------------------------------------------------------------------- /Tests/SwiftFormatsTests/SwiftFormatsTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Tests/SwiftFormatsTests/SwiftFormatsTests.swift -------------------------------------------------------------------------------- /Tests/SwiftFormatsTests/TupleTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Tests/SwiftFormatsTests/TupleTests.swift -------------------------------------------------------------------------------- /Tests/SwiftFormatsTests/VectorTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/schwa/SwiftFormats/HEAD/Tests/SwiftFormatsTests/VectorTests.swift --------------------------------------------------------------------------------