Latest 0.3.5
Homepage https://github.com/M-Hamed/photo-editor
License MIT
Platforms ios 9.0
Authors

iOS Photo Editor

Features

  • [x] Adding images -Stickers-
  • [x] Adding Text -colored-
  • [x] Drawing -colored-
  • [x] Scaling and rotating objects
  • [x] Deleting objects
  • [x] Saving to photos
  • [x] Cool animations
  • [x] 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 = UIStoryboard(name: "PhotoEditor", bundle: Bundle(for: PhotoEditorViewController.self)).instantiateViewController(withIdentifier: "PhotoEditorViewController") as! PhotoEditorViewController

//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" )!)

//Present the View Controller
present(photoEditor, animated: true, completion: nil)

The PhotoEditorDelegate methods.

func imageEdited(image: UIImage) {
    // the edited image
}

func editorCanceled() {
    print("Canceled")
}

Live Demo appetize.io

Demo

Demo Video

Demo

License

Open Source, waiting your contributions !!

Latest podspec

{
    "name": "iOSPhotoEditor",
    "version": "0.3.5",
    "summary": "Photo Editor supports drawing, writing text and adding stickers and emojis",
    "description": "Photo Editor supports drawing, writing text and adding stickers and emojisnwith the ability to scale and rotate objects",
    "homepage": "https://github.com/M-Hamed/photo-editor",
    "license": {
        "type": "MIT",
        "file": "LICENSE.md"
    },
    "authors": {
        "Mohamed Hamed": "[email protected]"
    },
    "source": {
        "git": "https://github.com/M-Hamed/photo-editor.git",
        "tag": "0.3.5"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "Photo Editor/**/*.{swift}",
    "exclude_files": "Photo Editor/**/AppDelegate.swift",
    "resources": "Photo Editor/**/*.{png,jpeg,jpg,storyboard,xib,ttf}",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This