Skip to content

Commit

Permalink
Updated tvOS support
Browse files Browse the repository at this point in the history
  • Loading branch information
WindowsMEMZ committed Jul 15, 2024
1 parent 4afcdeb commit 2db5b5a
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 3 deletions.
32 changes: 32 additions & 0 deletions .swiftpm/configuration/Package.resolved
Original file line number Diff line number Diff line change
@@ -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
}
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
4 changes: 2 additions & 2 deletions Sources/DarockKit/UIExt.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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<String>, password: Bool = false, paddings: [CGFloat] = [5, 20], noAutoInput: Bool = false) -> some View {
VStack {
Expand Down Expand Up @@ -292,7 +292,7 @@ public struct Zoomable: ViewModifier {
}
#endif

#if !os(watchOS)
#if canImport(WebKit)
import WebKit

public struct WebView: UIViewRepresentable {
Expand Down

0 comments on commit 2db5b5a

Please sign in to comment.