Building in-app UI in iOS and macOS

Learn more about the in-app notifications experiences you can build in Swift with Knock.

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 Swift 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.