You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add backwards compatability to Swift 5.10 (#221)
* feat: Add backwards compatability to Swift 5.10
* Update Xcode version in CI workflow
* Code review nits
* Change iOS Simulator destination in CI workflow
Updated the iOS Simulator destination from iPhone 16 Pro Max to iPhone 15 Pro Max in the CI workflow.
* Add extra sendables
* code review nits
Copy file name to clipboardExpand all lines: Sources/ParseSwift/Extensions/JSONEncoder+ParseEncoder.swift
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -11,5 +11,9 @@ import Foundation
11
11
// swiftlint:disable line_length
12
12
13
13
#if canImport(Darwin)
14
+
#if compiler(>=6.0)
14
15
extensionJSONEncoder:@retroactive@uncheckedSendable{} // JSONEncoder Sendable conformance is not available before macOS 13.0/iOS 16.0/watchOS 9.0/tvOS 16.0 16.0
16
+
#else
17
+
extensionJSONEncoder:@uncheckedSendable{} // JSONEncoder Sendable conformance is not available before macOS 13.0/iOS 16.0/watchOS 9.0/tvOS 16.0 16.0
0 commit comments