Skip to content

Instantly share code, notes, and snippets.

View kostapappas's full-sized avatar

LAMPROS KOSTAPAPPAS kostapappas

View GitHub Profile
@kostapappas
kostapappas / CIFilter+Extension.swift
Created May 28, 2019 15:20 — forked from ha1f/CIFilter+Extension.swift
CIFilter+Extension.swift
//
// Created by はるふ on 2017/12/11.
// Copyright © 2017年 ha1f. All rights reserved.
//
import Foundation
import CoreImage
import AVFoundation
extension CIFilter {
@kostapappas
kostapappas / filter.swift
Created May 28, 2019 15:20 — forked from seivan/filter.swift
Sample CIFilter with Swift.
@objc class JPTiltShiftGenerator: NSObject, CIFilterConstructor {
@objc func filterWithName(name: String)->CIFilter? {
return JPTiltShift()
}
}
class JPTiltShift : CIFilter {
class func register() {
@kostapappas
kostapappas / CIFilter+Extension.swift
Created May 28, 2019 15:19 — forked from Umity/CIFilter+Extension.swift
CIFilter+Extension.swift
//
// Created by はるふ on 2017/12/11.
// Copyright © 2017年 ha1f. All rights reserved.
//
import Foundation
import CoreImage
import AVFoundation
extension CIFilter {