https://github.com/russell-archer/skhelperdemo
A demo project for the SKHelper package that shows how to create a SwiftUI app with in-app purchases for iOS and macOS using Xcode 16.
https://github.com/russell-archer/skhelperdemo
in-app-purchase ios17 macos14 swift6 swiftui xcode16
Last synced: 3 months ago
JSON representation
A demo project for the SKHelper package that shows how to create a SwiftUI app with in-app purchases for iOS and macOS using Xcode 16.
- Host: GitHub
- URL: https://github.com/russell-archer/skhelperdemo
- Owner: russell-archer
- Created: 2024-08-06T22:14:28.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-10-06T13:39:21.000Z (8 months ago)
- Last Synced: 2025-01-18T05:35:39.190Z (5 months ago)
- Topics: in-app-purchase, ios17, macos14, swift6, swiftui, xcode16
- Language: Swift
- Homepage:
- Size: 8.18 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SKHelperDemo

- [SKHelper Documentation Landing Page](https://russell-archer.github.io/SKHelper/documentation/skhelper) - `SKHelper` documentation landing page
- [SKHelper Quick Start](https://russell-archer.github.io/SKHelper/tutorials/quickstart) - `SKHelper` quick-start guide
- [SKHelper In-Depth Guide](https://russell-archer.github.io/SKHelper/documentation/skhelper/guide) - `SKHelper` and `StoreKit2` in-depth guide
- [SKHelper Demo Project](https://github.com/russell-archer/SKHelperDemo) - This example Xcode `SKHelper` project
---## Overview of SKHelperDemo
`SKHelperDemo` is an Xcode 16 project that provides a bare-bones example of how to use the `SKHelper` package to create a
SwiftUI project that supports in-app purchases.Refer to the [SKHelper Quick Start](https://russell-archer.github.io/SKHelper/tutorials/quickstart) for a step-by-step walk-through
of how to create a SwiftUI app that supports in-app purchases in the form of subscriptions and non-consumable products.---
## Overview of SKHelper
`SKHelper` is a Swift Package Manager (SPM) package that enables developers using **Xcode 16** to easily add in-app purchase
support to **iOS 16.4+** and **macOS 14.6+** SwiftUI apps.`SKHelper` provides the following features:
- Multi-platform (iOS, macOS) SwiftUI support for purchasing **Consumable** (not yet implemented), **Non-consumable** and **Subscription** products
- Makes use of Apple's **StoreKit Views** to provide a standard and easily customizable UI
- Designed to be **lightweight**, simple and an easier-to-use refactoring of the `StoreHelper` package
- Detailed **documentation** and an example project
- Supports **transaction validation**, **pending ("ask to buy") transactions**, **cancelled** and **failed** transactions
- Supports customer **refunds** and management of **subscriptions** (not yet implemented)
- Provides detailed **transaction information and history** for non-consumables and subscriptions (not yet implemented)
- Support for direct App Store purchases of **promoted in-app purchases** via Purchase Intents
- Supports Xcode 16's "complete" **Strict Concurrency Checking**## License
MIT license, copyright (c) 2024 Russell Archer. This software is provided "as-is" without warranty and may be freely used, copied,
modified and redistributed, including as part of commercial software.See [License](https://russell-archer.github.io/SKHelper/documentation/skhelper/license) for details.
## Requirements
`SKHelper` uses the newest features of Apple's `StoreKit2` and which requires **iOS 16.4+**, **macOS 14.6+** and **Xcode 16**.
## Getting Started
Jump to the [SKHelper Quick Start](https://russell-archer.github.io/SKHelper/tutorials/quickstart) guide.