Skip to content

Instantly share code, notes, and snippets.

View asowers1's full-sized avatar

Andrew Sowers asowers1

  • Gannett
  • Elmira, New York
View GitHub Profile
@lattner
lattner / TaskConcurrencyManifesto.md
Last active May 3, 2024 08:18
Swift Concurrency Manifesto
@mteera
mteera / Custom UITextField
Last active January 13, 2020 02:45
Custom UITextField using @IBDesignable with Swift 3
import UIKit
@IBDesignable class CustomUITextField: UITextField {
@IBInspectable var cornerRadius: CGFloat = 0 {
didSet {
layer.cornerRadius = cornerRadius
}
}
//
// 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>