forked fromprscX/photo-editor
- Notifications
You must be signed in to change notification settings - Fork0
Photo editor with a lot of cool features
License
NotificationsYou must be signed in to change notification settings
MaintainX/prscx-photo-editor-fork
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
- Cropping
- Adding images -Stickers-
- Adding Text with colors
- Drawing wihtcolors
- Scaling and rotating objects
- Deleting objects
- Saving to photos and Sharing
- Cool animations
- Uses iOS Taptic Engine feedback
Thanks tohttps://github.com/sprint84/PhotoCropEditor
It now supports Cropping 💃🏻
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 yourPodfile:
source'https://github.com/CocoaPods/Specs.git'platform:ios,'10.0'use_frameworks!target'<Your Target Name>'dopod'iOSPhotoEditor'end
Then, run the following command:
$ pod install
ThePhotoEditorViewController.
letphotoEditor=PhotoEditorViewController(nibName:"PhotoEditorViewController",bundle:Bundle(for:PhotoEditorViewController.self))//PhotoEditorDelegatephotoEditor.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 controlphotoEditor.hiddenControls=[.crop,.draw,.share]//Optional: Colors for drawing and Text, If not set default values will be usedphotoEditor.colors=[.red,.blue,.green]//Present the View Controllerpresent(photoEditor, animated:true, completion:nil)
ThePhotoEditorDelegate methods.
func doneEditing(image:UIImage){ // the edited image}func canceledEditing(){print("Canceled")}
Written byMohamed Hamed.
Released under theMIT License.
About
Photo editor with a lot of cool features
Resources
License
Code of conduct
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Languages
- Swift98.0%
- Ruby2.0%


