Latest 0.1.0
Homepage https://github.com/pixelrevision/CoreImageExtensions
License BSD
Platforms ios 9.0
Frameworks CoreImage
Authors

What is it?

CoreImage is a fantastic framework but can be a chore to work with due to lots of magic strings. This library is a generated set of classes and extensions designed to make working with core image filters more type safe. This is useful when using in a Playground or if you want more type safety in your project.

Usage

You can use the filters as typed classes.

let filter = GaussianBlur(image: image, radius: 10).filter()

Or use the extensions on CIImage to chain filters:

let filtered = UIImage(named: "sample_image")?.CIImage?
    .gaussianBlurFilter(10)?
    .colorControlsFilter(0.1, saturation: 0.3, brightness: 1.0)

Installation

If you use CocoaPods so you can just add a dependency your pod file:

platform :ios, '9.0'
use_frameworks!

target 'MyProject' do
    pod 'CoreImageExtensions', '~> 0.1.0'
end

Otherwise you can just open the Xcode project, build the framework and add it to your project.

Latest podspec

{
    "name": "CoreImageExtensions",
    "version": "0.1.0",
    "platforms": {
        "ios": "9.0"
    },
    "license": {
        "type": "BSD"
    },
    "homepage": "https://github.com/pixelrevision/CoreImageExtensions",
    "authors": {
        "Malcolm Wilson": "[email protected]"
    },
    "summary": "Type saftey and chaining for CoreImage filters.",
    "source": {
        "git": "https://github.com/pixelrevision/CoreImageExtensions.git",
        "tag": "0.1.0"
    },
    "source_files": "Source/*.swift",
    "frameworks": "CoreImage"
}

Pin It on Pinterest

Share This