Logo

github Download
Swift examples

Example projects with SwiftThemis #

Once you have installed SwiftThemis, it’s time to give it some action!

Code samples #

Some code samples for Themis features are available at docs/examples/swift on GitHub:

  • data encryption using Secure Cell
  • message encryption using Secure Message
  • password authentication using Secure Comparator
  • integration with SPM, CocoaPods and Carthage for macOS and iOS

You can also take a look at unit tests in SwiftThemis source code.

Blog posts #

The Swift Alps demo project demonstrates the usage of Secure Cell and Secure Session, with a live server.

What’s next #

Read the feature guide to learn how to use Themis effectively in Swift.