Skip to content

Commit 9b3b0a2

Browse files
Merge pull request apptekstudios#3 from apptekstudios/master
Bump min iOS version to 11
2 parents ff46142 + 40ccb00 commit 9b3b0a2

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

Library/SwiftUI/SwiftUI.Color+ColorResource.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import SwiftUI
1111

1212
@available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
13-
public extension SwiftUI.Color {
13+
public extension Color {
1414
/**
1515
Returns the SwiftUI.Color from this resource (R.color.*)
1616

@@ -25,7 +25,7 @@ public extension SwiftUI.Color {
2525

2626
@available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
2727
public extension ColorResource {
28-
var color: SwiftUI.Color {
28+
var color: Color {
2929
SwiftUI.Color(self)
3030
}
3131
}

Package.swift

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
1-
// swift-tools-version:5.0
1+
// swift-tools-version:5.2
22

33
import PackageDescription
44

55
let package = Package(
66
name: "R.swift.Library",
77
platforms: [
8-
.iOS(.v8),
9-
.tvOS(.v9),
10-
.watchOS(.v2),
8+
.iOS(.v11),
9+
.tvOS(.v9),
10+
.watchOS(.v2),
11+
1112
],
1213
products: [
1314
.library(name: "Rswift", targets: ["Rswift"]),
1415
.library(name: "RswiftDynamic", type: .dynamic, targets: ["Rswift"])
1516
],
1617
targets: [
17-
.target(name: "Rswift", path: "Library")
18+
.target(name: "Rswift", path: "Library")
1819
]
1920
)

0 commit comments

Comments
 (0)