It is a project where you can learn CoreImage, Photos and Rxswift libraries in depth.
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
With this project, we can edit, crop and share photos on social media with presets filters.
Here's why:
- To learn CoreImage and Photos Library
- To learn RxSwift and reactive programming.
The frameworks I used in this project are listed below.
This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
- Xcode 12.x
- Swift 5.x
For Xcode 11 and below, use RxSwift 5.x.
RxSwift doesn't contain any external dependencies.
These are currently the supported installation options:
Open Rx.xcworkspace, choose RxExample
and hit run. This method will build everything and run the sample app
# Podfile
use_frameworks!
target 'YOUR_TARGET_NAME' do
pod 'RxSwift', '6.1.0'
pod 'RxCocoa', '6.1.0'
end
# RxTest and RxBlocking make the most sense in the context of unit/integration tests
target 'YOUR_TESTING_TARGET' do
pod 'RxBlocking', '6.1.0'
pod 'RxTest', '6.1.0'
end
Replace YOUR_TARGET_NAME
and then, in the Podfile
directory, type:
$ pod install
Here's an example |
---|
Filter a photo... |
private func applyFilter(to inputImage: UIImage, value: Float, myFilter: Filters, completion: @escaping ((UIImage) -> ())) { |
Distributed under the MIT License. See LICENSE
for more information.
Project Link: https://github.com/bilaldurnagol/PhotoFilterRxSwift