iOS

Reference for integrating with the TIKI iOS SDK

TIKI's SDK is the client-side component that your users will interact with to accept (or decline) data licensing offers.

TIKI's SDK creates immutable, digitally signed license records using cryptographic hashing, forming an audit trail. Programmatically consume records and enforce terms client or server-side using developer-friendly data structures and APIs.

Before you get started, you will need a Publishing ID. It's free to create one; simply log in to our Developer Console and create a new Project.

Installation

Add the Swift Package repository: https://github.com/tiki/tiki-sdk-ios

If you're unfamiliar with the Swift Package Manager, check out Apple's instructions.

  • If you're running in debug mode and intend to use the Simulator, you're all set.
  • If you're ready to deploy a release version, set your package repository to the latest release version. At the time of writing, it's 2.0.3, but make sure to check the registry. We release often.

That's it. And yes, it's really that easy.


Use

All of our libraries include in-code platform-specific documentation. Instead of us trying to force it into here, check out our Swift docs in a format you already know.


Pre-built UI Initialization

Initialize the TIKI SDK in minutes with the TIKI pre-built UI and a custom data offer —just 1 builder function.



Source Code and Reporting Issues

TIKI is open source! Check out the iOS SDK on GitHub. If you run into an issue, please open an issue. And no, we are not picky about issue formatting, just get the info in, and we'll get right on it.

If you'd like implementation help or to chat with the team responsible for building this awesome SDK, hop in our Discord.