Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ios.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: ios

env:
XCODE_VERSION: 'Xcode_16.0'
XCODE_VERSION: 'Xcode_16.3'

on:
pull_request:
Expand Down
2 changes: 1 addition & 1 deletion ios/MCGpsLayer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public extension MCGpsStyleInfoInterface {
}
}

private class MCGpsCallbackHandler: MCGpsLayerCallbackInterface {
private class MCGpsCallbackHandler: MCGpsLayerCallbackInterface, @unchecked Sendable {
var modeDidChangeCallback: ((_ mode: MCGpsMode) -> Void)?
var onPointClickCallback: ((_ coordinate: MCCoord) -> Void)?

Expand Down
4 changes: 2 additions & 2 deletions ios/UBLocationManager+MCGpsLayer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import CoreLocation
import UBLocation
import UIKit

private var binders: [LocationManagerLayerBinder] = []
nonisolated(unsafe) private var binders: [LocationManagerLayerBinder] = []
private let bindersQueue = DispatchQueue(label: "ch.layergps.ublocationbindersQueue")

public extension UBLocationManager {
Expand All @@ -22,7 +22,7 @@ public extension UBLocationManager {
}
}

public class LocationManagerLayerBinder: NSObject {
public class LocationManagerLayerBinder: NSObject, @unchecked Sendable {
weak var layer: MCGpsLayer?
public init(layer: MCGpsLayer) {
self.layer = layer
Expand Down