- 12.0.0 and master184.108.40.206.04.2
- 12.0.0 and masteriOSmacOS(Intel)macOS(ARM)LinuxtvOSwatchOS
📱 AutoAPI Swift lib - the parsing library for the Auto API vehicle data model
The AutoAPI Swift SDK purpose is to help developers serialise AutoAPI data in Swift, so they wouldn't have to worry about parsing and generating the bytes themselves. The SDK is generated based on the AutoAPI spec.
Serialising: The library is designed to serialise AutoAPI data to and from Swift types.
Support for Updates: Updates to the AutoAPI spec (non-binary) will work with older versions of the library and the new types of data are accessible.
The library is distributed as a Swift Package, allowing it to be used with Xcode's built-in SPM or directly in a
For using the package through Xcode, it can be added in
File > Swift Packages > ... or going to project settings and selecting
Swift Packages in the top-center.
When targeting a Swift package, the
Package.swift file must include
.package(url: "https://github.com/highmobility/auto-api-swift", .upToNextMinor(from: "[__version__]")), under dependencies.
AutoAPI Swift SDK requires Xcode 11.0 or later and is compatible with apps targeting iOS 10.0 or above.
Get started by reading the iOS AutoAPI guide in high-mobility.com.
There are 3 sample apps available on Github.com to showcase usage of AutoAPI (and HMKit):
The generator used to create this lib, based on the AutoAPI spec, will be open-sourced in the near future. Until then, changes to the Swift interface need to go through our private generator. If you'd like to make changes to the AutoAPI, please see here.
See more in CONTRIBUTING.md
This repository is using MIT license. See more in LICENSE