Skip to content

Commit

Permalink
Update to Swift 6
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelesantos committed Oct 6, 2024
1 parent f06c507 commit 31ba9bb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version: 5.9
// swift-tools-version: 6.0
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription
Expand All @@ -7,13 +7,13 @@ let package = Package(
name: "RefdsCoreData",
defaultLocalization: "pt",
platforms: [
.iOS(.v17),
.macCatalyst(.v17),
.macOS(.v14),
.tvOS(.v17),
.watchOS(.v10),
.visionOS(.v1),
.driverKit(.v23)
.iOS(.v18),
.macCatalyst(.v18),
.macOS(.v15),
.tvOS(.v18),
.watchOS(.v11),
.visionOS(.v2),
.driverKit(.v24)
],
products: [
.library(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public extension NSPersistentCloudKitContainer {
}
})
container.viewContext.automaticallyMergesChangesFromParent = true
container.viewContext.mergePolicy = NSMergeByPropertyObjectTrumpMergePolicy
container.viewContext.mergePolicy = NSMergePolicy(merge: .mergeByPropertyObjectTrumpMergePolicyType)
return container
}

Expand Down

0 comments on commit 31ba9bb

Please sign in to comment.