mirror of
https://github.com/RevenueCat/purchases-ios
synced 2026-11-09 22:35:56 +05:45
* import Purchases -> import RevenueCat * updated Pod name to Purchases * updated more Pod names
Magic Weather SwiftUI - RevenueCat Sample
Magic Weather is a sample app demonstrating the proper methods for using RevenueCat's Purchases SDK. This sample uses only native platform components - no third-party SDK's other than the Purchases SDK.
Sign up for a free RevenueCat account here.
Requirements
This sample uses:
- SwiftUI
- Xcode 12.2
- iOS 14
- Swift 5
See minimum platform version requirements for RevenueCat's Purchases SDK here.
Features
This sample demonstrates:
- How to configure an instance of Purchases
- How to display product prices and names, and how to build a basic paywall
- How to check subscription status
- How to restore transactions
- How to identify users and how to logout
Support
For more technical resources, check out our documentation.
Looking for RevenueCat Support? Visit our Help Center.