Skip to main content

Platform Services

PrismCapabilities wraps Apple’s platform frameworks into type-safe, Sendable APIs. Manage in-app purchases, sync data to iCloud, build widgets, schedule notifications, and integrate with Siri Shortcuts.

StoreKit — In-App Purchases

PrismStoreKit wraps StoreKit 2 for managing products, purchases, and subscriptions:
Fetch Products

Purchase Flow

Purchase a Product

Product Types

Transaction Monitoring

Listen for Transactions

CloudKit

PrismCloudKit provides CRUD operations on CloudKit records:
CloudKit CRUD

Cloud Value Types

Query Records

Query CloudKit

Databases


WidgetKit

PrismWidgetKit manages widget timeline reloads and configuration:
Reload Widgets

Widget Families

Timeline Entries

Widget Timeline Entry

Reload Policies


Push Notifications

PrismPushNotifications manages notification permissions, scheduling, and content:
Request Notification Permission

Schedule a Local Notification

Schedule Notification

Permission Status

Sounds


App Intents

PrismAppIntentClient integrates with App Intents for Siri Shortcuts and the Shortcuts app:
App Intent

App Clips

PrismAppClip handles App Clip lifecycle and invocation:
App Clip
App Clips must be under 15 MB. Use PrismAppClip to detect the App Clip context and show a focused UI.