Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/makomori/Sharaku
- Owner: makomori
- License: mit
- Created: 2017-01-04T00:02:53.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-01-18T18:53:28.000Z (almost 4 years ago)
- Last Synced: 2024-07-19T13:48:43.027Z (4 months ago)
- Topics: cocoapods, instagram, ios, swift, swift-3, swift-library
- Language: Swift
- Homepage:
- Size: 10.9 MB
- Stars: 1,513
- Watchers: 37
- Forks: 151
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-ios - Sharaku - Instagram-like image filter ViewController. (Media / Image)
- awesome-swift - Sharaku - Image filtering UI library like Instagram. (Libs / Images)
- awesome-swift - Sharaku - Image filtering UI library like Instagram. (Libs / Images)
- awesome-ios-star - Sharaku - Instagram-like image filter ViewController. (Media / Image)
- fucking-awesome-swift - Sharaku - Image filtering UI library like Instagram. (Libs / Images)
- awesome-swift - Sharaku - (Not maintained)Image filtering UI library like Instagram. ` 📝 2 years ago ` (Images [🔝](#readme))
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.