Latest 0.0.1
Homepage https://github.com/yokurin/CIFilterImage
License MIT
Platforms ios 11.4
Authors

Platform
Cocoapods
Carthage compatible
License

Overview

CIFilterImage provides UI that can be easily filter images.
This is wrapper of CIFilter.

Demo

Here are some style of demos using CIFilterImage.

White Theme Black Theme
CIFilterImage CIFilterImage

// model: Pintarest

Example

Open CIFilterImage.xcodeproj and run CIFilterImage-Example.

Usages

// Create CIFilterViewController
let vc = CIFilterViewController()
vc.image = UIImage(named: "sample")

// customize color
vc.backgroundColor = .white
vc.textColor = .black

// set delegate
vc.delegate = self
extension ViewController: CIFilterViewControllerDelegate {
    // Called when Done Button Tapped
    func didFinish(_ image: UIImage) {
        print("image", image)
    }

    // Called when Cancel Button Tapped
    func didCancel() {
        print("did Cancel")
    }
}

Requirements

  • iOS 11.4+
  • Xcode 10.2+
  • Swift 5.0+

Installation

CocoaPods

CIFilterImage is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'CIFilterImage'

Carthage

You can integrate via Carthage, too.
Add the following line to your Cartfile :

github "yokurin/CIFilterImage"

and run carthage update

Author

Tsubasa Hayashi

License

CIFilterImage is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "CIFilterImage",
    "version": "0.0.1",
    "summary": "CIFilterImage provides UI that can be easily filter images. This is wrapper of CIFilter.",
    "description": "CIFilterImage provides UI that can be easily filter images.  nThis is wrapper of CIFilter.",
    "homepage": "https://github.com/yokurin/CIFilterImage",
    "license": {
        "type": "MIT",
        "file": "./LICENSE"
    },
    "authors": {
        "Tsubasa Hayashi": "[email protected]"
    },
    "social_media_url": "http://twitter.com/_yokurin",
    "source": {
        "git": "https://github.com/yokurin/CIFilterImage.git",
        "tag": "0.0.1"
    },
    "platforms": {
        "ios": "11.4"
    },
    "swift_versions": "5.0",
    "source_files": "CIFilterImage/**/*.swift"
}

Pin It on Pinterest

Share This