Skip to content

Instantly share code, notes, and snippets.

View ren6's full-sized avatar

Renat Kurbanov ren6

View GitHub Profile
//
// ViewController.m
// AVPlayerCaching
//
// Created by Anurag Mishra on 5/19/14.
// Sample code to demonstrate how to cache a remote audio file while streaming it with AVPlayer
//
#import "ViewController.h"
#import <AVFoundation/AVFoundation.h>
@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