Last active
July 19, 2020 00:20
-
-
Save ts95/4ef0cdc616b939d48939c5eabac80592 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SwiftUI | |
import MapKit | |
struct AnyMapAnnotation: MapAnnotationProtocol { | |
let _annotationData: _MapAnnotationData | |
let base: Any | |
init<T: MapAnnotationProtocol>(_ base: T) { | |
self._annotationData = base._annotationData | |
self.base = base | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment