Releases: SvenTiigi/FlyoverKit
Version 1.3.1
Version 1.3.0
Swift 5 support
This release adds Swift 5 and Xcode 10.2 support
Version 1.2.2
FlyoverAwesomePlace
Added CaseIterable to FlyoverAwesomePlace
for place in FlyoverAwesomePlace.allCases {
print(place)
}
for place in FlyoverAwesomePlace.iterate() {
print(place)
}
Version 1.2.1
Swift 4.2 compatibility
Added Xcode 10 and Swift 4.2 compatibility
Version 1.2.0
tvOS
This release adds tvOS πΊ support to FlyoverKit π
ConfigurationTheme
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
)
Version 1.1.2
Small Swift 4.1 updates π¨βπ»
Version 1.1.1
Small code improvements and bug fixes π¨βπ»
Version 1.1.0
FlyoverCamera State
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
Flyover Operators
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.
AstronautView
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 π
Foreground/Background behavior
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
Initial Release π
This is the initial release of the FlyoverKit