Skip to content

autm-syl/AutmFitering

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutmFitering

This library is a version update to swift 5.0 of Sharaku library.

sharaku_header

CI Status Version License Platform

Example

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
    }
}

Requirements

  • Swift4.2 +
  • iOS 10.0+

Installation

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

pod 'AutmFitering'

Author

sylvanas, [email protected]

License

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