Knock Swift SDK (iOS and macOS)

Learn more about integrating Knock into your iOS and macOS applications through our Swift SDK.

The Knock Swift SDK is a client-side SDK for interacting with the Knock API and for building in-app notification experiences across iOS, macOS, and watchOS.

Quick links

Example app

You can find a complete iOS example application that uses the Swift SDK here. The app shows patterns for handling push token registration, building an in-app feed using SwiftUI, and managing user notification preferences.

Need help?

Our Swift SDK is worked on full-time by the Knock Mobile team.

Join the community

Provide feedback

  • Open an issue
  • Use the "Help" dropdown at the top of this page to contact support.


All contributors are welcome, from casual to regular. Feel free to open a pull request.