Latest 0.1.3
Homepage https://github.com/keshiim/ZMJImageEditor
License MIT
Platforms ios 7.0
Dependencies YYCategories
Frameworks UIKit, MapKit
Authors

CI Status
Version
License
Platform

功能介绍

剪裁、涂鸦、文字。各种旋转各种好完,如果有bug,欢迎issue,下面是几个介绍功能的GIF

  1. draw功能

draw

  1. text

text
text2

  1. clip,rotation

clip,rotation

Usage

调起

WBGImageEditor *editor = [[WBGImageEditor alloc] initWithImage:_imageView.image delegate:self];
[self presentViewController:editor animated:YES completion:nil];

回调delegate

#pragma mark - WBGImageEditorDelegate
- (void)imageEditor:(WBGImageEditor *)editor didFinishEdittingWithImage:(UIImage *)image {
self.imageView.image = image;
[editor.presentingViewController dismissViewControllerAnimated:YES completion:nil];
}

- (void)imageEditorDidCancel:(WBGImageEditor *)editor {

}

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

and this is the demo project

Requirements

iOS7+

Installation

ZMJImageEditor is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "ZMJImageEditor"

Author

keshiim, [email protected]

License

ZMJImageEditor is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "ZMJImageEditor",
    "version": "0.1.3",
    "summary": "ZMJImageEditor u662fu4e00u4e2au548cu5faeu4fe1u4e00u6837u56feu7247u7f16u8f91u7684u7ec4u4ef6uff0cu529fu80fdu5f3au5927uff0cu6781u6613u96c6u6210",
    "homepage": "https://github.com/keshiim/ZMJImageEditor",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "keshiim": "[email protected]"
    },
    "source": {
        "git": "https://github.com/keshiim/ZMJImageEditor.git",
        "tag": "0.1.3"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source_files": "ZMJImageEditor/Classes/**/*",
    "resources": [
        "ZMJImageEditor/Assets/*.png",
        "ZMJImageEditor/Assets/*.{xib,storyboard}",
        "ZMJImageEditor/Assets/*.{pdf,xcassets}"
    ],
    "frameworks": [
        "UIKit",
        "MapKit"
    ],
    "dependencies": {
        "YYCategories": [
            "~> 1.0.4"
        ]
    }
}

Pin It on Pinterest

Share This