Skip to main content

The FAQ Provider delivers cached, searchable FAQs to your iOS app with automatic sync and offline support.

Initialization

Important: FAQProvider must be initialized separately from StringProvider.
The preload step ensures FAQs are available immediately when your app opens, while the background sync fetches the latest updates.

Usage

Fetching FAQs

Filtering by SubTags

SwiftUI Integration

You can easily build an FAQ view in SwiftUI.

Manual Refresh

Manually refresh FAQs from the server (e.g., on pull-to-refresh):

Reactive Updates with Combine

Use Combine to automatically update your UI when FAQs change: