From ce8c101aee4a3e69b29df3c437f9cb5deedb7b5a Mon Sep 17 00:00:00 2001 From: Casper Zandbergen Date: Tue, 8 Dec 2020 13:49:22 +0100 Subject: [PATCH] Update SPM to AmzdIntrospect --- Package.resolved | 8 ++++---- Package.swift | 4 ++-- Sources/ScrollViewProxy/ScrollViewProxy.swift | 5 ----- 3 files changed, 6 insertions(+), 11 deletions(-) diff --git a/Package.resolved b/Package.resolved index ce84da7..908fa66 100644 --- a/Package.resolved +++ b/Package.resolved @@ -2,12 +2,12 @@ "object": { "pins": [ { - "package": "Introspect", - "repositoryURL": "https://github.com/timbersoftware/SwiftUI-Introspect.git", + "package": "AmzdIntrospect", + "repositoryURL": "https://github.com/Amzd/SwiftUI-Introspect.git", "state": { "branch": null, - "revision": "f1ec9da347a7fbe53c520d35434f6c2295650bd5", - "version": "0.1.1" + "revision": "daa2ee72339db6b7490e29815afaa6e50b1cd208", + "version": "0.1.3" } } ] diff --git a/Package.swift b/Package.swift index 5c798f0..a787fa4 100644 --- a/Package.swift +++ b/Package.swift @@ -20,14 +20,14 @@ let package = Package( dependencies: [ // Dependencies declare other packages that this package depends on. // .package(url: /* package url */, from: "1.0.0"), - .package(name: "Introspect", url: "https://github.com/timbersoftware/SwiftUI-Introspect.git", .upToNextMajor(from: "0.1.0")) + .package(name: "AmzdIntrospect", url: "https://github.com/Amzd/SwiftUI-Introspect.git", .upToNextMajor(from: "0.1.3")) ], targets: [ // Targets are the basic building blocks of a package. A target can define a module or a test suite. // Targets can depend on other targets in this package, and on products in packages which this package depends on. .target( name: "ScrollViewProxy", - dependencies: ["Introspect"]), + dependencies: ["AmzdIntrospect"]), // .testTarget( // name: "ScrollViewProxyTests", // dependencies: ["ScrollViewProxy"]), diff --git a/Sources/ScrollViewProxy/ScrollViewProxy.swift b/Sources/ScrollViewProxy/ScrollViewProxy.swift index 87b5525..103d71d 100644 --- a/Sources/ScrollViewProxy/ScrollViewProxy.swift +++ b/Sources/ScrollViewProxy/ScrollViewProxy.swift @@ -1,12 +1,7 @@ // Created by Casper Zandbergen on 01/06/2020. // https://twitter.com/amzdme -#if canImport(Introspect) -import Introspect -#elseif canImport(AmzdIntrospect) -// CocoaPods import AmzdIntrospect -#endif import SwiftUI import Combine