Clean project.
This commit is contained in:
1 parent
20e2b8ed86
commit
b2c8d7af5a
16 files changed
+93
-194
No files matched your search
@@ -0,0 +1,30 @@
|
||||
// swift-tools-version: 5.4
|
||||
|
||||
import PackageDescription
|
||||
|
||||
let package = Package(
|
||||
name: "AppImport",
|
||||
platforms: [
|
||||
.iOS(.v12),
|
||||
.tvOS(.v12),
|
||||
.watchOS(.v3)
|
||||
],
|
||||
products: [
|
||||
.library(name: "AppImport", targets: ["AppImport"]),
|
||||
],
|
||||
dependencies: [
|
||||
.package(name: "SparrowKit", url: "https://github.com/ivanvorobei/SparrowKit", .upToNextMajor(from: "3.4.3")),
|
||||
.package(name: "SPDiffable", url: "https://github.com/ivanvorobei/SPDiffable", .upToNextMajor(from: "1.6.2")),
|
||||
.package(name: "SPIndicator", path: "SPIndicator")
|
||||
],
|
||||
targets: [
|
||||
.target(
|
||||
name: "AppImport",
|
||||
dependencies: [
|
||||
.product(name: "SparrowKit", package: "SparrowKit"),
|
||||
.product(name: "SPDiffable", package: "SPDiffable"),
|
||||
.product(name: "SPIndicator", package: "SPIndicator")
|
||||
]
|
||||
),
|
||||
]
|
||||
)
|
||||
@@ -0,0 +1,22 @@
|
||||
// The MIT License (MIT)
|
||||
// Copyright © 2020 Ivan Vorobei (hello@ivanvorobei.by)
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files (the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights
|
||||
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice shall be included in all
|
||||
// copies or substantial portions of the Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
// SOFTWARE.
|
||||
|
||||
import Foundation
|
||||
@@ -11,12 +11,9 @@
|
||||
F43F829E26578DCA001D9B3D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F43F829526578DCA001D9B3D /* LaunchScreen.storyboard */; };
|
||||
F43F829F26578DCA001D9B3D /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = F43F829726578DCA001D9B3D /* AppDelegate.swift */; };
|
||||
F43F82A126578DCA001D9B3D /* PresetsController.swift in Sources */ = {isa = PBXBuildFile; fileRef = F43F829B26578DCA001D9B3D /* PresetsController.swift */; };
|
||||
F46C34BE27071E59005681BA /* SPIndicator in Frameworks */ = {isa = PBXBuildFile; productRef = F46C34BD27071E59005681BA /* SPIndicator */; };
|
||||
F4B96F99265AC34400A01A29 /* SPDiffable in Frameworks */ = {isa = PBXBuildFile; productRef = F4B96F98265AC34400A01A29 /* SPDiffable */; };
|
||||
F457C6AB276927C1005B4E19 /* AppImport in Frameworks */ = {isa = PBXBuildFile; productRef = F457C6AA276927C1005B4E19 /* AppImport */; };
|
||||
F457C6AD27692A1B005B4E19 /* AppImport in Frameworks */ = {isa = PBXBuildFile; productRef = F457C6AC27692A1B005B4E19 /* AppImport */; };
|
||||
F4B96F9C265AC36F00A01A29 /* IndicatorPresetModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = F4B96F9B265AC36F00A01A29 /* IndicatorPresetModel.swift */; };
|
||||
F4BAA4352658292F00DA5BF7 /* SparrowKit in Frameworks */ = {isa = PBXBuildFile; productRef = F4BAA4342658292F00DA5BF7 /* SparrowKit */; };
|
||||
F4BAA4392658293F00DA5BF7 /* SparrowKit in Frameworks */ = {isa = PBXBuildFile; productRef = F4BAA4382658293F00DA5BF7 /* SparrowKit */; };
|
||||
F4BAA43B2658294200DA5BF7 /* SPIndicator in Frameworks */ = {isa = PBXBuildFile; productRef = F4BAA43A2658294200DA5BF7 /* SPIndicator */; };
|
||||
F4BAA4402658297300DA5BF7 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F4BAA43D2658297300DA5BF7 /* LaunchScreen.storyboard */; };
|
||||
F4BAA4412658297300DA5BF7 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = F4BAA43E2658297300DA5BF7 /* Assets.xcassets */; };
|
||||
F4BAA4422658297300DA5BF7 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = F4BAA43F2658297300DA5BF7 /* AppDelegate.swift */; };
|
||||
@@ -44,6 +41,7 @@
|
||||
F43F829C26578DCA001D9B3D /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
||||
F43F82AB26578F03001D9B3D /* tvOS Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "tvOS Example.app"; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
F43F82B926578F04001D9B3D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
||||
F457C6A92769270D005B4E19 /* AppImport */ = {isa = PBXFileReference; lastKnownFileType = wrapper; path = AppImport; sourceTree = "<group>"; };
|
||||
F46C34BC27071E43005681BA /* SPIndicator */ = {isa = PBXFileReference; lastKnownFileType = folder; name = SPIndicator; path = ..; sourceTree = "<group>"; };
|
||||
F4B96F9B265AC36F00A01A29 /* IndicatorPresetModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = IndicatorPresetModel.swift; sourceTree = "<group>"; };
|
||||
F4BAA43D2658297300DA5BF7 /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = LaunchScreen.storyboard; sourceTree = "<group>"; };
|
||||
@@ -56,9 +54,7 @@
|
||||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
F4B96F99265AC34400A01A29 /* SPDiffable in Frameworks */,
|
||||
F4BAA4352658292F00DA5BF7 /* SparrowKit in Frameworks */,
|
||||
F46C34BE27071E59005681BA /* SPIndicator in Frameworks */,
|
||||
F457C6AB276927C1005B4E19 /* AppImport in Frameworks */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
@@ -66,8 +62,7 @@
|
||||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
F4BAA4392658293F00DA5BF7 /* SparrowKit in Frameworks */,
|
||||
F4BAA43B2658294200DA5BF7 /* SPIndicator in Frameworks */,
|
||||
F457C6AD27692A1B005B4E19 /* AppImport in Frameworks */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
@@ -77,6 +72,7 @@
|
||||
F43F827226578D83001D9B3D = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
F457C6A92769270D005B4E19 /* AppImport */,
|
||||
F46C34BC27071E43005681BA /* SPIndicator */,
|
||||
F43F829226578DCA001D9B3D /* iOS Example */,
|
||||
F43F82AC26578F03001D9B3D /* tvOS Example */,
|
||||
@@ -175,9 +171,7 @@
|
||||
);
|
||||
name = "iOS Example";
|
||||
packageProductDependencies = (
|
||||
F4BAA4342658292F00DA5BF7 /* SparrowKit */,
|
||||
F4B96F98265AC34400A01A29 /* SPDiffable */,
|
||||
F46C34BD27071E59005681BA /* SPIndicator */,
|
||||
F457C6AA276927C1005B4E19 /* AppImport */,
|
||||
);
|
||||
productName = SparrowKit;
|
||||
productReference = F43F827B26578D83001D9B3D /* iOS Example.app */;
|
||||
@@ -197,8 +191,7 @@
|
||||
);
|
||||
name = "tvOS Example";
|
||||
packageProductDependencies = (
|
||||
F4BAA4382658293F00DA5BF7 /* SparrowKit */,
|
||||
F4BAA43A2658294200DA5BF7 /* SPIndicator */,
|
||||
F457C6AC27692A1B005B4E19 /* AppImport */,
|
||||
);
|
||||
productName = "tvOS Example";
|
||||
productReference = F43F82AB26578F03001D9B3D /* tvOS Example.app */;
|
||||
@@ -231,8 +224,6 @@
|
||||
);
|
||||
mainGroup = F43F827226578D83001D9B3D;
|
||||
packageReferences = (
|
||||
F4BAA4332658292F00DA5BF7 /* XCRemoteSwiftPackageReference "SparrowKit" */,
|
||||
F4B96F97265AC34400A01A29 /* XCRemoteSwiftPackageReference "SPDiffable" */,
|
||||
);
|
||||
productRefGroup = F43F827C26578D83001D9B3D /* Products */;
|
||||
projectDirPath = "";
|
||||
@@ -528,48 +519,14 @@
|
||||
};
|
||||
/* End XCConfigurationList section */
|
||||
|
||||
/* Begin XCRemoteSwiftPackageReference section */
|
||||
F4B96F97265AC34400A01A29 /* XCRemoteSwiftPackageReference "SPDiffable" */ = {
|
||||
isa = XCRemoteSwiftPackageReference;
|
||||
repositoryURL = "https://github.com/ivanvorobei/SPDiffable";
|
||||
requirement = {
|
||||
kind = upToNextMajorVersion;
|
||||
minimumVersion = 1.2.4;
|
||||
};
|
||||
};
|
||||
F4BAA4332658292F00DA5BF7 /* XCRemoteSwiftPackageReference "SparrowKit" */ = {
|
||||
isa = XCRemoteSwiftPackageReference;
|
||||
repositoryURL = "https://github.com/ivanvorobei/SparrowKit";
|
||||
requirement = {
|
||||
kind = upToNextMajorVersion;
|
||||
minimumVersion = 3.0.8;
|
||||
};
|
||||
};
|
||||
/* End XCRemoteSwiftPackageReference section */
|
||||
|
||||
/* Begin XCSwiftPackageProductDependency section */
|
||||
F46C34BD27071E59005681BA /* SPIndicator */ = {
|
||||
F457C6AA276927C1005B4E19 /* AppImport */ = {
|
||||
isa = XCSwiftPackageProductDependency;
|
||||
productName = SPIndicator;
|
||||
productName = AppImport;
|
||||
};
|
||||
F4B96F98265AC34400A01A29 /* SPDiffable */ = {
|
||||
F457C6AC27692A1B005B4E19 /* AppImport */ = {
|
||||
isa = XCSwiftPackageProductDependency;
|
||||
package = F4B96F97265AC34400A01A29 /* XCRemoteSwiftPackageReference "SPDiffable" */;
|
||||
productName = SPDiffable;
|
||||
};
|
||||
F4BAA4342658292F00DA5BF7 /* SparrowKit */ = {
|
||||
isa = XCSwiftPackageProductDependency;
|
||||
package = F4BAA4332658292F00DA5BF7 /* XCRemoteSwiftPackageReference "SparrowKit" */;
|
||||
productName = SparrowKit;
|
||||
};
|
||||
F4BAA4382658293F00DA5BF7 /* SparrowKit */ = {
|
||||
isa = XCSwiftPackageProductDependency;
|
||||
package = F4BAA4332658292F00DA5BF7 /* XCRemoteSwiftPackageReference "SparrowKit" */;
|
||||
productName = SparrowKit;
|
||||
};
|
||||
F4BAA43A2658294200DA5BF7 /* SPIndicator */ = {
|
||||
isa = XCSwiftPackageProductDependency;
|
||||
productName = SPIndicator;
|
||||
productName = AppImport;
|
||||
};
|
||||
/* End XCSwiftPackageProductDependency section */
|
||||
};
|
||||
|
||||
+4
-4
@@ -6,8 +6,8 @@
|
||||
"repositoryURL": "https://github.com/ivanvorobei/SparrowKit",
|
||||
"state": {
|
||||
"branch": null,
|
||||
"revision": "d1a2d489417f98620558da08ddcf44a9d53e58f3",
|
||||
"version": "3.2.0"
|
||||
"revision": "be8adcf0d1f91f04eed460faee78852d15d75acc",
|
||||
"version": "3.4.3"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -15,8 +15,8 @@
|
||||
"repositoryURL": "https://github.com/ivanvorobei/SPDiffable",
|
||||
"state": {
|
||||
"branch": null,
|
||||
"revision": "884198fb29a339156b824483bc09e2b488d27e28",
|
||||
"version": "1.4.1"
|
||||
"revision": "d8bf7bb3280dfc98b8ddcf2b1dedd7dacbed1c97",
|
||||
"version": "1.6.5"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
BIN
Binary file not shown.
+1
-1
@@ -12,7 +12,7 @@
|
||||
<key>tvOS Example.xcscheme_^#shared#^_</key>
|
||||
<dict>
|
||||
<key>orderHint</key>
|
||||
<integer>1</integer>
|
||||
<integer>3</integer>
|
||||
</dict>
|
||||
<key>watchOS Example.xcscheme_^#shared#^_</key>
|
||||
<dict>
|
||||
|
||||
@@ -163,7 +163,7 @@ class PresetsController: SPDiffableTableController {
|
||||
return SPDiffableTableRow(
|
||||
text: preset.name,
|
||||
accessoryType: (preset.id == currentPreset?.id) ? .checkmark : .none,
|
||||
selectionStyle: .none) { [weak self] _ in
|
||||
selectionStyle: .none) { [weak self] _, _ in
|
||||
guard let self = self else { return }
|
||||
self.currentPreset = preset
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user