Latest 0.0.1
Homepage https://github.com/cemolcay/ImageFreeCut
License MIT
Platforms ios 10.0, requires ARC
Authors

404: Not Found

Latest podspec

{
    "name": "ImageFreeCut",
    "version": "0.0.1",
    "summary": "A UIView subclass lets you draw a path over a image and crops thats part.",
    "description": "ImageFreeCutn===nnA UIView subclass lets you draw a path over a image and crops thats part.nnDemon----nn![alt tag]()nnInstalln----nn``` rubynuse_frameworks!npod 'ImageFreeCut'n```nnUsagen----nn``` swiftnimport ImageFreeCutn```nnYou can either use storyboard or create it programmatically like any UIView.nNotice that view's class name is `ImageFreeCutView`.nnSets the image of `ImageFreeCutView`. You are going to crop that one.n```nopen var imageToCut: UIImage?n```nnYou can set the imageView's properties like `contentMode` directly from your `ImageFreeCutView` instance.n```nopen var imageView: UIImageView!n```nnYou can set cut layer's properties like `strokeColor`, `fillColor`, `dashPattern` directly from your `ImageFreeCutView` instance.n```nopen var imageCutShapeLayer: CAShapeLayer!n```nnImageFreeCutViewDelegaten----nSet your instance delegate and implementnn```nfunc imageFreeCutView(_ imageFreeCutView: ImageFreeCutView, didCut image: UIImage?)n```nndelegate method to retrive cropped image.",
    "homepage": "https://github.com/cemolcay/ImageFreeCut",
    "license": "MIT",
    "authors": {
        "cemolcay": "[email protected]"
    },
    "platforms": {
        "ios": "10.0"
    },
    "source": {
        "git": "https://github.com/cemolcay/ImageFreeCut.git",
        "tag": "0.0.1"
    },
    "source_files": "ImageFreeCut/ImageFreeCutView.swift",
    "requires_arc": true
}

Pin It on Pinterest

Share This