This library is a version update to swift 5.0 of Sharaku library.
To run the example project, clone the repo, and run pod install
from the Example directory first.
Include in your swift header
import AutmFitering
Using
// AutmFiltering, AutmFilteringViewController
let imageToBeFiltered = UIImage(named: "targetImage")
let autm = AutmFilteringViewController.init();
autm.imageOrigin = imageToBeFiltered;
autm.delegate = self
present(autm, animated: true, completion: nil)
Delegate
extension ViewController:AutmFilteringDelegate {
func autmFilteringImageDidFilter(image: UIImage) {
// image output
}
func autmFilteringDidCancel() {
//cancel
}
}
- Swift4.2 +
- iOS 10.0+
AutmFitering is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'AutmFitering'
sylvanas, [email protected]
AutmFitering is available under the MIT license. See the LICENSE file for more info.