Skip to content

0.3.0

Compare
Choose a tag to compare
@JonasVautherin JonasVautherin released this 08 Feb 19:55

The Swift SDK now uses autogenerated code (defined in the proto submodule). The API was slightly modified:

  • Observables are not suffixed with *Observable anymore (e.g. positionObservable -> position) to be more consistent with other calls (like takeoff()).
  • Discover and Timeout observables were merged into ConnectionState.
  • We now have real errors (e.g. ActionError) instead of using strings.
  • A Drone helper got added, that initializes all the plugins at once.
  • Core.connect() becomes Drone.startMavlink.subscribe() on iOS (and it does not exist on other platforms).

Regarding the build system:

  • We now use Xcodegen to generate the xcodeproj (from project.yml).
  • We are now compatible with SwiftPM (meaning that the Swift SDK can now run on macOS, Linux, and all systems running Swift)!