Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/makomori/Sharaku

(Not maintained)Image filtering UI library like Instagram.
https://github.com/makomori/Sharaku

cocoapods instagram ios swift swift-3 swift-library

Last synced: 3 months ago
JSON representation

(Not maintained)Image filtering UI library like Instagram.

Awesome Lists containing this project

README

        

![sharaku_header](https://github.com/makomori/Sharaku/blob/master/sharaku_header.png)

# Sharaku

[![Version](https://img.shields.io/cocoapods/v/Sharaku.svg?style=flat)](http://cocoapods.org/pods/Sharaku)
[![License](https://img.shields.io/cocoapods/l/Sharaku.svg?style=flat)](http://cocoapods.org/pods/Sharaku)
[![Platform](https://img.shields.io/cocoapods/p/Sharaku.svg?style=flat)](http://cocoapods.org/pods/Sharaku)

## Usage
### How to present SHViewController
``` Swift
let imageToBeFiltered = UIImage(named: "targetImage")
let vc = SHViewController(image: imageToBeFiltered)
vc.delegate = self
self.present(vc, animated:true, completion: nil)
```

### SHViewControllerDelegate methods
``` Swift
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](https://github.com/makomori/Sharaku/blob/master/sharaku_animation.gif)

## Requirements
- Swift3
- iOS 8.3+

## Installation

Sharaku is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:

```ruby
pod "Sharaku"
```
### Install manually
It requires a few things. Please follow the [steps](https://github.com/makomori/Sharaku/wiki/manual_install).

## 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](https://twitter.com/makomori26)

## License

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