Latest 1.0.2
Homepage https://github.com/makomori/Sharaku
License MIT
Platforms ios 8.3
Authors

sharaku_header

Version
License
Platform

Usage

How to present SHViewController

let imageToBeFiltered = UIImage(named: "targetImage")
let vc = SHViewController(image: imageToBeFiltered)
vc.delegate = self
self.present(vc, animated:true, completion: nil)

SHViewControllerDelegate methods

extension ViewController: SHViewControllerDelegate {
    func shViewControllerImageDidFilter(image: UIImage) {
      // Filtered image will be returned here.
    }

    func shViewControllerDidCancel() {
      // This will be called when you cancel filtering the image.
    }
}

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Demo video

Sharaku animation

Requirements

  • Swift3
  • iOS 8.3+

Installation

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

pod "Sharaku"

Install manually

It requires a few things. Please follow the steps.

Contribution

Creating new issues for bug report, feature request and pull request is always welcome! Please feel free to contribute to Sharaku!

Author

makomori, [email protected], Twitter: @makomori26

License

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

Latest podspec

{
    "name": "Sharaku",
    "version": "1.0.2",
    "summary": "Sharaku is an image filtering UI library like Instagram.",
    "description": "Sharaku is an image filtering library like Instagram which is using CIFilter. This library is strongly inspired by Fusuma.",
    "homepage": "https://github.com/makomori/Sharaku",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "makomori": "[email protected]"
    },
    "source": {
        "git": "https://github.com/makomori/Sharaku.git",
        "tag": "1.0.2"
    },
    "social_media_url": "https://twitter.com/makomori26",
    "platforms": {
        "ios": "8.3"
    },
    "source_files": "Sharaku/Classes/**/*",
    "resources": [
        "Sharaku/Classes/**/*.xib",
        "Sharaku/**/*.xcassets"
    ],
    "resource_bundles": {},
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This