项目
在 GitHub 查看
makomori/Sharaku
关于
(不再维护)类似 Instagram 的图像滤镜 UI 库。
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- -1
- 15天
- -1
- 1个月
- -2
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
Sharaku
Usage
How to present SHViewController
let imageToBeFiltered = UIImage(named: "targetImage")
let vc = SHViewController(image: imageToBeFiltered)
vc.delegate = self
self.present(vc, animated:true, completion: nil)
SHViewControllerDelegate methods
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

Requirements
- Swift3
- iOS 8.3+
Installation
Sharaku is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "Sharaku"
Install manually
It requires a few things. Please follow the steps.
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
License
Sharaku is available under the MIT license. See the LICENSE file for more info.
探索相关项目
加载中…