Skip to content

Instantly share code, notes, and snippets.

View quantcon's full-sized avatar
💭
Electronic Magic

quantcon

💭
Electronic Magic
  • Philadelphia, USA
View GitHub Profile
@quantcon
quantcon / InteractiveVisorViewController.swift
Created January 25, 2019 01:22
How to use UIPercentDrivenInteractiveTransition in one file
//
// ViewController.swift
// Interactive Animated Presentation
// "Visor" Effect
//
import UIKit
class ViewController: UIViewController {
//
// VideoLoopView.swift
// Fobo
//
import UIKit
import AVFoundation
class VideoLoopView: UIView {
typealias OnPlayBlock = () -> ()
import XCTest
import SnapshotTesting
class ImageProcessorSingleImageTests: XCTestCase {
func test1920x1280() {
let imageNameSets = [
["1920x1280-1"],
["1280x1920-1"]
]