> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kontext.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Swift SDK

> Integrate Kontext ads into your iOS app with the Swift SDK.

> [card] [Swift SDK](https://github.com/kontextso/sdk-swift)
>
> See how easy it is to integrate high-performance ads into your iOS app using our lightweight SDK.

## Requirements

* iOS 14.0+
* Swift 5.9+
* Xcode 15+

> [!NOTE]
>
> You'll need a [publisher account](https://docs.kontext.so/publishers.md#getting-started-is-easy) to obtain your `publisherToken` and placement codes.

> [card] [Installation](https://docs.kontext.so/sdk/swift/installation.md)
>
> Add the SDK via SPM or CocoaPods, configure ATT and SKAdNetwork.

> [card] [Showing your first ad](https://docs.kontext.so/sdk/swift/first-ad.md)
>
> Create a session, feed messages, mount an ad — the 5-minute integration.

> [card] [API reference](https://docs.kontext.so/sdk/swift/api.md)
>
> Every type and method exposed by the SDK.

> [card] [Guides](https://docs.kontext.so/sdk/swift/guides.md)
>
> Patterns and recipes: no-fill, character switching, SwiftUI wrapping, and more.

> [card] [Example app](https://docs.kontext.so/sdk/swift/example.md)
>
> Run the bundled UIKit demo end-to-end against your own publisher token.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.