360° flyover on a MKMapView 🚁
This version adds support for Xcode 11 in especially for the Swift Package Manager and iOS 13.
This release adds Swift 5 and Xcode 10.2 support
Added CaseIterable to FlyoverAwesomePlace
for place in FlyoverAwesomePlace.allCases {
print(place)
}
for place in FlyoverAwesomePlace.iterate() {
print(place)
}
Added Xcode 10 and Swift 4.2 compatibility
This release adds tvOS 📺 support to FlyoverKit 🙌
This release removed the ConfigurationTheme
and the specific initializer. The ConfigurationThemes are now available as static
property on FlyoverCamera.Configuration
.
/// No longer available
let camera = FlyoverCamera(
mapView: mapView,
configurationTheme: .lowFlying
)
/// Use the configuration initializer and set static property (e.g. .lowFlying)
let camera = FlyoverCamera(
mapView: mapView,
configuration: .lowFlying
)
Small Swift 4.1 updates 👨💻
Small code improvements and bug fixes 👨💻
In this release the property isStarted
is completely removed and replaced with the state
enum property. In order to check if the FlyoverCamera
is started you can check
// Is FlyoverCamera started?
self.flyoverCamera.state == .started
// Is FlyoverCamera stopped?
self.flyoverCamera.state == .stopped
In order to compare two Flyover
types you can use the following two operators.
// Equatable operator (==)
self.flyover1 == self.flyover2
This checks if the two given Flyover
types are exactly the same via comparison of latitude and longitude.
// Rounded Equatable operator (~~)
self.flyover1 ~~ self.flyover2
This checks if the two given Flyover
types are nearly the same via comparison of rounded latitude and longitude.
Version 1.1.0 introduces a new FlyoverCamera.Configuration.Theme
named astronautView
. The theme configures the FlyoverCamera
to give you a view like an astronaut 🌎
In this release we fixed an issue with foreground and background behavior of an Application running a FlyoverCamera
or FlyoverMapView
. The FlyoverCamera
will stop as soon the Application is going into the background mode and will automatically start the flyover when the Application is in foreground
This is the initial release of the FlyoverKit