Closed azizkamoun closed 5 years ago
Searching the web for this error in the context of MapKit has resolved the issue. Assigning cluster.annotations
to an array of untyped objects bridges the Objective-C class to Swift.
if cluster.count > 1 {
let clusterAnnotations: [AnyObject] = cluster.annotations
for clusteredAnnotation in clusterAnnotations {
print(clusteredAnnotation.coordinate)
}
}
Hi there, thank you for this wonderful library! I was hoping you could help resolve the following issue. It appears as though MKAnnotations in an NSArray do not match those in a Swift Array. Do you know why this could be the case?