Skip to content

Instantly share code, notes, and snippets.

View 2ivovani2's full-sized avatar
🏠
Working from home

Alexander Yaroslavskiy 2ivovani2

🏠
Working from home
View GitHub Profile
@lukeredpath
lukeredpath / PerceptualImage.swift
Created September 13, 2022 10:15
Perceptual image snapshot strategy
// Taken from https://github.com/pointfreeco/swift-snapshot-testing/pull/628/files
import Foundation
import SwiftUI
@testable import SnapshotTesting
#if os(iOS) || os(tvOS)
import CoreImage.CIFilterBuiltins
import UIKit