Skip to content

Commit abf7aa7

Browse files
authored
Merge pull request #27 from kkebo/swift-6-language-mode
2 parents 04de1bc + e4ffea4 commit abf7aa7

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

Package.swift

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version: 5.10
1+
// swift-tools-version: 6.0
22

33
// WARNING:
44
// This file is automatically generated.
@@ -24,9 +24,7 @@ let package = Package(
2424
.target(
2525
name: "GameOfLife",
2626
swiftSettings: [
27-
.enableExperimentalFeature("StrictConcurrency"),
28-
.enableUpcomingFeature("BareSlashRegexLiterals"),
29-
.enableUpcomingFeature("ExistentialAny"),
27+
.enableUpcomingFeature("ExistentialAny")
3028
]
3129
),
3230
.executableTarget(
@@ -38,9 +36,7 @@ let package = Package(
3836
swiftSettings: [
3937
.unsafeFlags(["-Xfrontend", "-warn-long-function-bodies=100"], .when(configuration: .debug)),
4038
.unsafeFlags(["-Xfrontend", "-warn-long-expression-type-checking=100"], .when(configuration: .debug)),
41-
.enableExperimentalFeature("StrictConcurrency"),
4239
.unsafeFlags(["-Xfrontend", "-enable-actor-data-race-checks"]),
43-
.enableUpcomingFeature("BareSlashRegexLiterals"),
4440
.enableUpcomingFeature("ExistentialAny"),
4541
]
4642
),

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Game of Life
22

3-
[![Swift](https://img.shields.io/badge/Swift-5.10-orange.svg)](https://www.swift.org)
4-
[![Swift Playgrounds](https://img.shields.io/badge/Swift%20Playgrounds-4.5-orange.svg)](https://itunes.apple.com/jp/app/swift-playgrounds/id908519492)
3+
[![Swift](https://img.shields.io/badge/Swift-6.0-orange.svg)](https://www.swift.org)
4+
[![Swift Playground](https://img.shields.io/badge/Swift%20Playground-4.6-orange.svg)](https://itunes.apple.com/jp/app/swift-playground/id908519492)
55
![Platform](https://img.shields.io/badge/platform-ipados%20%7C%20ios-lightgrey.svg)
66
[![License](https://img.shields.io/github/license/kkebo/GameOfLife.swiftpm.svg)](LICENSE.txt)
77

@@ -14,7 +14,7 @@ This is [the Conway's Game of Life](https://en.wikipedia.org/wiki/Conway's_Game_
1414

1515
## Build requirements
1616

17-
- Swift Playgrounds 4.5 or later (iPadOS 16.1 or later)
17+
- Swift Playgrounds 4.6 or later (iPadOS 17.0 or later)
1818

1919
## Get Started
2020

Sources/AppModule/ContentView.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ struct ContentView {
3030
}
3131
}
3232

33+
@MainActor
3334
extension ContentView: View {
3435
var body: some View {
3536
VStack(spacing: 5) {

0 commit comments

Comments
 (0)