Migrate from 2.0.x to 2.1.x
This guide is provided in order to ease the transition of existing applications using SkyPath v2.0.x to v2.1.x APIs.
Where possible, Xcode will provide an automatic "fix-it".
Breaking Changes
-
New development environment requirements:
- Xcode version 14.2 or higher.
- A target of iOS 14.0 or higher.
- Swift version 5.7 or higher.
-
Fetching data is broken down into different areas, so
DataAreaType
is now introduced in theSkyPathDelegate
.func didReceiveNewTurbulenceData()
is replaced with
func didReceiveNewTurbulenceData(areaType: DataAreaType)
-
H3.swift
class has been removed so if you used it for any operations, please use other the corresponding properties or functions ofSkyPath
orTurbulenceItem
or any other classes. Let us know if you don't find a replacement. -
TurbulenceItem.bbox
has been renamed toTurbulenceItem.vertices
. -
SkyPath.startFlight(_:)
andSkyPath.endFlight()
has been replaced with one methodSkyPath.setFlight(_:)
.