Swift Bindings

Swift Bindings #


swiftBindings


“The cure for Apple is not cost-cutting. The cure for Apple is to innovate its way out of its current predicament.” — Apple Inc., Macintosh Human Interface Guidelines

The AppKey Passkey authentication system extends solid support for Apple’s Swift, neatly bundling the intricacies of AppKey REST API programming into a public Swift Package aptly named AppKeySwift. Each API call finds expression as a Swift asynchronous function, allowing seamless integration into client Swift applications. Notably, a sample Swift application, AppKey-SwiftDemo, is generously shared as a public GitHub repository. Both the Swift Package and the demo application adhere to an open-source ethos, governed by the Apache license.

AppKeySwift SDK #

You can locate the AppKeySwift package at the following url

    https://github.com/Cosync/AppKeySwift

To incorporate this package into your Swift application, be sure to add it using “File -> Add Package Dependencies…” in Xcode.

AppKey-SwiftDemo Application #

You can locate the AppKey-SwiftDemo application at the following url. To acquire this package on your local machine, utilize the git clone command for cloning.

    git clone git@github.com:Cosync/AppKey-SwiftDemo.git

To run this program, simply edit the constants.swift file, inputting the AppKey Portal keys linked to your application.