diff --git a/.swiftpm/configuration/Package.resolved b/.swiftpm/configuration/Package.resolved new file mode 100644 index 0000000..dbdd64a --- /dev/null +++ b/.swiftpm/configuration/Package.resolved @@ -0,0 +1,32 @@ +{ + "pins" : [ + { + "identity" : "alamofire", + "kind" : "remoteSourceControl", + "location" : "https://github.com/Alamofire/Alamofire.git", + "state" : { + "revision" : "3dc6a42c7727c49bf26508e29b0a0b35f9c7e1ad", + "version" : "5.8.1" + } + }, + { + "identity" : "swiftdate", + "kind" : "remoteSourceControl", + "location" : "https://github.com/malcommac/SwiftDate", + "state" : { + "revision" : "5d943224c3bb173e6ecf27295611615eba90c80e", + "version" : "7.0.0" + } + }, + { + "identity" : "swiftyjson", + "kind" : "remoteSourceControl", + "location" : "https://github.com/SwiftyJSON/SwiftyJSON.git", + "state" : { + "revision" : "2b6054efa051565954e1d2b9da831680026cd768", + "version" : "4.3.0" + } + } + ], + "version" : 2 +} diff --git a/Package.swift b/Package.swift index e4fcefe..2cea6aa 100644 --- a/Package.swift +++ b/Package.swift @@ -6,7 +6,7 @@ import PackageDescription let package = Package( name: "DarockKit", platforms: [ - .iOS(.v15) + .iOS(.v15), .watchOS(.v8), .macOS(.v10_15), .tvOS(.v15) ], products: [ .library( diff --git a/Sources/DarockKit/UIExt.swift b/Sources/DarockKit/UIExt.swift index aa7cd05..e4ec8b3 100644 --- a/Sources/DarockKit/UIExt.swift +++ b/Sources/DarockKit/UIExt.swift @@ -29,7 +29,7 @@ public struct NoAutoInput: ViewModifier { } } -#if !os(visionOS) +#if !os(visionOS) && !os(tvOS) //MARK: Neumorphic @ViewBuilder public func NeuInput(_ placeholder: String, icon: String, text: Binding, password: Bool = false, paddings: [CGFloat] = [5, 20], noAutoInput: Bool = false) -> some View { VStack { @@ -292,7 +292,7 @@ public struct Zoomable: ViewModifier { } #endif -#if !os(watchOS) +#if canImport(WebKit) import WebKit public struct WebView: UIViewRepresentable {