프로젝트
GitHub에서 보기 
bevy/photo-editor
소개
다양한 편리한 기능을 갖춘 사진 편집기입니다.
디자인 및 미디어What you can do
- Adding images -Stickers-
- Adding Text with colors
- Drawing with colors
- Scaling and rotating objects
측정된 스타 증가
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginaliOS Photo Editor
Features
- Cropping
- Adding images -Stickers-
- Adding Text with colors
- Drawing with colors
- Scaling and rotating objects
- Deleting objects
- Saving to photos and Sharing
- Cool animations
- Uses iOS Taptic Engine feedback
Installation
CocoaPods
CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:
$ gem install cocoapods
To integrate iOS Photo Editor into your Xcode project using CocoaPods, specify it in your Podfile:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '10.0'
use_frameworks!
target '<Your Target Name>' do
pod 'iOSPhotoEditor'
end
Then, run the following command:
$ pod install
Usage
Photo
The PhotoEditorViewController.
let photoEditor = PhotoEditorViewController(nibName:"PhotoEditorViewController",bundle: Bundle(for: PhotoEditorViewController.self))
//PhotoEditorDelegate
photoEditor.photoEditorDelegate = self
//The image to be edited
photoEditor.image = image
//Stickers that the user will choose from to add on the image
photoEditor.stickers.append(UIImage(named: "sticker" )!)
//Optional: To hide controls - array of enum control
photoEditor.hiddenControls = [.crop, .draw, .share]
//Optional: Colors for drawing and Text, If not set default values will be used
photoEditor.colors = [.red,.blue,.green]
//Present the View Controller
present(photoEditor, animated: true, completion: nil)
The PhotoEditorDelegate methods.
func doneEditing(image: UIImage) {
// the edited image
}
func canceledEditing() {
print("Canceled")
}
Live Demo appetize.io
Demo Video
Credits
Written by Mohamed Hamed.
License
Released under the MIT License.
관련 프로젝트 살펴보기
불러오는 중…


