Skip to content

Instantly share code, notes, and snippets.

View hamermike's full-sized avatar

Mike Hamer hamermike

View GitHub Profile
@ren6
ren6 / IAPManager.swift
Created June 18, 2019 10:36
This is a class that handles process of purchasing, validating subscriptions, refreshing receipt, restoring transactions.
//
// IAPManager.swift
// http://apphud.com
//
// Created by Apphud on 04/01/2019.
// Copyright © 2019 Apphud. All rights reserved.
//
import UIKit
import StoreKit
@hfossli
hfossli / SHA256-Bridging-Header.h
Last active April 9, 2024 01:05
AES 256 in swift 4 with CommonCrypto
#import <CommonCrypto/CommonCrypto.h>