Skip to content

Instantly share code, notes, and snippets.

View nikolaknez's full-sized avatar
💭
making things happen

Nikola Knezevic, MPh, PgMP, SPC, SCM,PMP, MSP nikolaknez

💭
making things happen
View GitHub Profile
@nikolaknez
nikolaknez / PurchaseManager.swift
Created August 2, 2025 19:02 — forked from lienmt/PurchaseManager.swift
PurchaseManager with SwiftUI & StoreKit
import Foundation
import StoreKit
enum ProductsId: String {
case subsWeekly24 = "WeeklyId"
case subsAnnual24 = "AnnualId"
}
@MainActor
class PurchaseManager: NSObject, ObservableObject {