TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Jan 2017 |
SwiftSwift Version | 3.0 |
SPMSupports SPM | ✗ |
Maintained by Makoto Mori.
let imageToBeFiltered = UIImage(named: "targetImage")
let vc = SHViewController(image: imageToBeFiltered)
vc.delegate = self
self.present(vc, animated:true, completion: nil)
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.
}
}
To run the example project, clone the repo, and run pod install
from the Example directory first.
Sharaku is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "Sharaku"
It requires a few things. Please follow the steps.
makomori, [email protected]
Sharaku is available under the MIT license. See the LICENSE file for more info.