From 1498522fcfde90b60dbf390b32ad69c3a48f120e Mon Sep 17 00:00:00 2001 From: eonist <30n1st@gmail.com> Date: Sun, 1 Oct 2023 04:33:26 +0200 Subject: [PATCH] Rename package to SpatialLIb Because apple now has a framework named Spatial --- Package.swift | 10 +++++----- .../ConstraintKind/ConstraintKind+Access.swift | 0 .../ConstraintKind/ConstraintKind+Apply.swift | 0 .../ConstraintKind/ConstraintKind+Bulk+Access.swift | 0 .../ConstraintKind/ConstraintKind+Bulk.swift | 0 .../ConstraintKind/ConstraintKind+SpaceAround.swift | 0 .../ConstraintKind/ConstraintKind+SpaceBetween.swift | 0 .../ConstraintKind/ConstraintKind+Type.swift | 0 .../ConstraintKind/ConstraintKind.swift | 0 .../ConstraintKind/ConstraintView/ConstraintView.swift | 0 .../animation/ConstraintKind+Animate.swift | 0 .../animation/ConstraintKind+Update.swift | 0 Sources/{Spatial => SpatialLib}/align/Align.swift | 0 .../align/AlignType/AlignType+Extension.swift | 0 .../align/AlignType/AlignType.swift | 0 .../align/alignment/Alignment+Extension.swift | 0 .../align/alignment/Alignment.swift | 0 Sources/{Spatial => SpatialLib}/align/axis/Axis.swift | 0 .../{Spatial => SpatialLib}/align/axis/AxisType.swift | 0 .../align/axis/HorizontalAlign.swift | 0 .../align/axis/VerticalAlign.swift | 0 Sources/{Spatial => SpatialLib}/common/Hybrid.swift | 0 .../common/View+Extension.swift | 0 .../view/View+Access+Bulk.swift | 0 Sources/{Spatial => SpatialLib}/view/View+Access.swift | 0 .../view/View+Activate+Bulk.swift | 0 .../{Spatial => SpatialLib}/view/View+Activate.swift | 0 Sources/{Spatial => SpatialLib}/view/View+Anchor.swift | 0 .../view/View+Distribution.swift | 0 Sources/{Spatial => SpatialLib}/view/View+Size.swift | 0 Sources/{Spatial => SpatialLib}/view/View+Type.swift | 0 Tests/SpatialTests/SpatialTests.swift | 2 +- 32 files changed, 6 insertions(+), 6 deletions(-) rename Sources/{Spatial => SpatialLib}/ConstraintKind/ConstraintKind+Access.swift (100%) rename Sources/{Spatial => SpatialLib}/ConstraintKind/ConstraintKind+Apply.swift (100%) rename Sources/{Spatial => SpatialLib}/ConstraintKind/ConstraintKind+Bulk+Access.swift (100%) rename Sources/{Spatial => SpatialLib}/ConstraintKind/ConstraintKind+Bulk.swift (100%) rename Sources/{Spatial => SpatialLib}/ConstraintKind/ConstraintKind+SpaceAround.swift (100%) rename Sources/{Spatial => SpatialLib}/ConstraintKind/ConstraintKind+SpaceBetween.swift (100%) rename Sources/{Spatial => SpatialLib}/ConstraintKind/ConstraintKind+Type.swift (100%) rename Sources/{Spatial => SpatialLib}/ConstraintKind/ConstraintKind.swift (100%) rename Sources/{Spatial => SpatialLib}/ConstraintKind/ConstraintView/ConstraintView.swift (100%) rename Sources/{Spatial => SpatialLib}/ConstraintKind/animation/ConstraintKind+Animate.swift (100%) rename Sources/{Spatial => SpatialLib}/ConstraintKind/animation/ConstraintKind+Update.swift (100%) rename Sources/{Spatial => SpatialLib}/align/Align.swift (100%) rename Sources/{Spatial => SpatialLib}/align/AlignType/AlignType+Extension.swift (100%) rename Sources/{Spatial => SpatialLib}/align/AlignType/AlignType.swift (100%) rename Sources/{Spatial => SpatialLib}/align/alignment/Alignment+Extension.swift (100%) rename Sources/{Spatial => SpatialLib}/align/alignment/Alignment.swift (100%) rename Sources/{Spatial => SpatialLib}/align/axis/Axis.swift (100%) rename Sources/{Spatial => SpatialLib}/align/axis/AxisType.swift (100%) rename Sources/{Spatial => SpatialLib}/align/axis/HorizontalAlign.swift (100%) rename Sources/{Spatial => SpatialLib}/align/axis/VerticalAlign.swift (100%) rename Sources/{Spatial => SpatialLib}/common/Hybrid.swift (100%) rename Sources/{Spatial => SpatialLib}/common/View+Extension.swift (100%) rename Sources/{Spatial => SpatialLib}/view/View+Access+Bulk.swift (100%) rename Sources/{Spatial => SpatialLib}/view/View+Access.swift (100%) rename Sources/{Spatial => SpatialLib}/view/View+Activate+Bulk.swift (100%) rename Sources/{Spatial => SpatialLib}/view/View+Activate.swift (100%) rename Sources/{Spatial => SpatialLib}/view/View+Anchor.swift (100%) rename Sources/{Spatial => SpatialLib}/view/View+Distribution.swift (100%) rename Sources/{Spatial => SpatialLib}/view/View+Size.swift (100%) rename Sources/{Spatial => SpatialLib}/view/View+Type.swift (100%) diff --git a/Package.swift b/Package.swift index ade52e4..949522f 100644 --- a/Package.swift +++ b/Package.swift @@ -2,22 +2,22 @@ import PackageDescription let package = Package( - name: "Spatial", // The name of the package + name: "SpatialLib", // The name of the package platforms: [.iOS(.v15), .macOS(.v12)], // The platforms the package supports products: [ .library( - name: "Spatial", // The name of the library product - targets: ["Spatial"]) // The targets that the product depends on + name: "SpatialLib", // The name of the library product + targets: ["SpatialLib"]) // The targets that the product depends on ], dependencies: [ ], targets: [ .target( - name: "Spatial", // The name of the target + name: "SpatialLib", // The name of the target dependencies: [] // The dependencies of the target ), .testTarget( name: "SpatialTests", // The name of the test target - dependencies: ["Spatial"]) // The dependencies of the test target + dependencies: ["SpatialLib"]) // The dependencies of the test target ] ) diff --git a/Sources/Spatial/ConstraintKind/ConstraintKind+Access.swift b/Sources/SpatialLib/ConstraintKind/ConstraintKind+Access.swift similarity index 100% rename from Sources/Spatial/ConstraintKind/ConstraintKind+Access.swift rename to Sources/SpatialLib/ConstraintKind/ConstraintKind+Access.swift diff --git a/Sources/Spatial/ConstraintKind/ConstraintKind+Apply.swift b/Sources/SpatialLib/ConstraintKind/ConstraintKind+Apply.swift similarity index 100% rename from Sources/Spatial/ConstraintKind/ConstraintKind+Apply.swift rename to Sources/SpatialLib/ConstraintKind/ConstraintKind+Apply.swift diff --git a/Sources/Spatial/ConstraintKind/ConstraintKind+Bulk+Access.swift b/Sources/SpatialLib/ConstraintKind/ConstraintKind+Bulk+Access.swift similarity index 100% rename from Sources/Spatial/ConstraintKind/ConstraintKind+Bulk+Access.swift rename to Sources/SpatialLib/ConstraintKind/ConstraintKind+Bulk+Access.swift diff --git a/Sources/Spatial/ConstraintKind/ConstraintKind+Bulk.swift b/Sources/SpatialLib/ConstraintKind/ConstraintKind+Bulk.swift similarity index 100% rename from Sources/Spatial/ConstraintKind/ConstraintKind+Bulk.swift rename to Sources/SpatialLib/ConstraintKind/ConstraintKind+Bulk.swift diff --git a/Sources/Spatial/ConstraintKind/ConstraintKind+SpaceAround.swift b/Sources/SpatialLib/ConstraintKind/ConstraintKind+SpaceAround.swift similarity index 100% rename from Sources/Spatial/ConstraintKind/ConstraintKind+SpaceAround.swift rename to Sources/SpatialLib/ConstraintKind/ConstraintKind+SpaceAround.swift diff --git a/Sources/Spatial/ConstraintKind/ConstraintKind+SpaceBetween.swift b/Sources/SpatialLib/ConstraintKind/ConstraintKind+SpaceBetween.swift similarity index 100% rename from Sources/Spatial/ConstraintKind/ConstraintKind+SpaceBetween.swift rename to Sources/SpatialLib/ConstraintKind/ConstraintKind+SpaceBetween.swift diff --git a/Sources/Spatial/ConstraintKind/ConstraintKind+Type.swift b/Sources/SpatialLib/ConstraintKind/ConstraintKind+Type.swift similarity index 100% rename from Sources/Spatial/ConstraintKind/ConstraintKind+Type.swift rename to Sources/SpatialLib/ConstraintKind/ConstraintKind+Type.swift diff --git a/Sources/Spatial/ConstraintKind/ConstraintKind.swift b/Sources/SpatialLib/ConstraintKind/ConstraintKind.swift similarity index 100% rename from Sources/Spatial/ConstraintKind/ConstraintKind.swift rename to Sources/SpatialLib/ConstraintKind/ConstraintKind.swift diff --git a/Sources/Spatial/ConstraintKind/ConstraintView/ConstraintView.swift b/Sources/SpatialLib/ConstraintKind/ConstraintView/ConstraintView.swift similarity index 100% rename from Sources/Spatial/ConstraintKind/ConstraintView/ConstraintView.swift rename to Sources/SpatialLib/ConstraintKind/ConstraintView/ConstraintView.swift diff --git a/Sources/Spatial/ConstraintKind/animation/ConstraintKind+Animate.swift b/Sources/SpatialLib/ConstraintKind/animation/ConstraintKind+Animate.swift similarity index 100% rename from Sources/Spatial/ConstraintKind/animation/ConstraintKind+Animate.swift rename to Sources/SpatialLib/ConstraintKind/animation/ConstraintKind+Animate.swift diff --git a/Sources/Spatial/ConstraintKind/animation/ConstraintKind+Update.swift b/Sources/SpatialLib/ConstraintKind/animation/ConstraintKind+Update.swift similarity index 100% rename from Sources/Spatial/ConstraintKind/animation/ConstraintKind+Update.swift rename to Sources/SpatialLib/ConstraintKind/animation/ConstraintKind+Update.swift diff --git a/Sources/Spatial/align/Align.swift b/Sources/SpatialLib/align/Align.swift similarity index 100% rename from Sources/Spatial/align/Align.swift rename to Sources/SpatialLib/align/Align.swift diff --git a/Sources/Spatial/align/AlignType/AlignType+Extension.swift b/Sources/SpatialLib/align/AlignType/AlignType+Extension.swift similarity index 100% rename from Sources/Spatial/align/AlignType/AlignType+Extension.swift rename to Sources/SpatialLib/align/AlignType/AlignType+Extension.swift diff --git a/Sources/Spatial/align/AlignType/AlignType.swift b/Sources/SpatialLib/align/AlignType/AlignType.swift similarity index 100% rename from Sources/Spatial/align/AlignType/AlignType.swift rename to Sources/SpatialLib/align/AlignType/AlignType.swift diff --git a/Sources/Spatial/align/alignment/Alignment+Extension.swift b/Sources/SpatialLib/align/alignment/Alignment+Extension.swift similarity index 100% rename from Sources/Spatial/align/alignment/Alignment+Extension.swift rename to Sources/SpatialLib/align/alignment/Alignment+Extension.swift diff --git a/Sources/Spatial/align/alignment/Alignment.swift b/Sources/SpatialLib/align/alignment/Alignment.swift similarity index 100% rename from Sources/Spatial/align/alignment/Alignment.swift rename to Sources/SpatialLib/align/alignment/Alignment.swift diff --git a/Sources/Spatial/align/axis/Axis.swift b/Sources/SpatialLib/align/axis/Axis.swift similarity index 100% rename from Sources/Spatial/align/axis/Axis.swift rename to Sources/SpatialLib/align/axis/Axis.swift diff --git a/Sources/Spatial/align/axis/AxisType.swift b/Sources/SpatialLib/align/axis/AxisType.swift similarity index 100% rename from Sources/Spatial/align/axis/AxisType.swift rename to Sources/SpatialLib/align/axis/AxisType.swift diff --git a/Sources/Spatial/align/axis/HorizontalAlign.swift b/Sources/SpatialLib/align/axis/HorizontalAlign.swift similarity index 100% rename from Sources/Spatial/align/axis/HorizontalAlign.swift rename to Sources/SpatialLib/align/axis/HorizontalAlign.swift diff --git a/Sources/Spatial/align/axis/VerticalAlign.swift b/Sources/SpatialLib/align/axis/VerticalAlign.swift similarity index 100% rename from Sources/Spatial/align/axis/VerticalAlign.swift rename to Sources/SpatialLib/align/axis/VerticalAlign.swift diff --git a/Sources/Spatial/common/Hybrid.swift b/Sources/SpatialLib/common/Hybrid.swift similarity index 100% rename from Sources/Spatial/common/Hybrid.swift rename to Sources/SpatialLib/common/Hybrid.swift diff --git a/Sources/Spatial/common/View+Extension.swift b/Sources/SpatialLib/common/View+Extension.swift similarity index 100% rename from Sources/Spatial/common/View+Extension.swift rename to Sources/SpatialLib/common/View+Extension.swift diff --git a/Sources/Spatial/view/View+Access+Bulk.swift b/Sources/SpatialLib/view/View+Access+Bulk.swift similarity index 100% rename from Sources/Spatial/view/View+Access+Bulk.swift rename to Sources/SpatialLib/view/View+Access+Bulk.swift diff --git a/Sources/Spatial/view/View+Access.swift b/Sources/SpatialLib/view/View+Access.swift similarity index 100% rename from Sources/Spatial/view/View+Access.swift rename to Sources/SpatialLib/view/View+Access.swift diff --git a/Sources/Spatial/view/View+Activate+Bulk.swift b/Sources/SpatialLib/view/View+Activate+Bulk.swift similarity index 100% rename from Sources/Spatial/view/View+Activate+Bulk.swift rename to Sources/SpatialLib/view/View+Activate+Bulk.swift diff --git a/Sources/Spatial/view/View+Activate.swift b/Sources/SpatialLib/view/View+Activate.swift similarity index 100% rename from Sources/Spatial/view/View+Activate.swift rename to Sources/SpatialLib/view/View+Activate.swift diff --git a/Sources/Spatial/view/View+Anchor.swift b/Sources/SpatialLib/view/View+Anchor.swift similarity index 100% rename from Sources/Spatial/view/View+Anchor.swift rename to Sources/SpatialLib/view/View+Anchor.swift diff --git a/Sources/Spatial/view/View+Distribution.swift b/Sources/SpatialLib/view/View+Distribution.swift similarity index 100% rename from Sources/Spatial/view/View+Distribution.swift rename to Sources/SpatialLib/view/View+Distribution.swift diff --git a/Sources/Spatial/view/View+Size.swift b/Sources/SpatialLib/view/View+Size.swift similarity index 100% rename from Sources/Spatial/view/View+Size.swift rename to Sources/SpatialLib/view/View+Size.swift diff --git a/Sources/Spatial/view/View+Type.swift b/Sources/SpatialLib/view/View+Type.swift similarity index 100% rename from Sources/Spatial/view/View+Type.swift rename to Sources/SpatialLib/view/View+Type.swift diff --git a/Tests/SpatialTests/SpatialTests.swift b/Tests/SpatialTests/SpatialTests.swift index e5af02a..8aa133d 100644 --- a/Tests/SpatialTests/SpatialTests.swift +++ b/Tests/SpatialTests/SpatialTests.swift @@ -1,4 +1,4 @@ -import Spatial +import SpatialLib #if canImport(XCTest) import XCTest