blob: 51d5889288e60b6e5b3add070938224fbd5f5d52 [file] [log] [blame]
{
"name": "ImageFreeCut",
"version": "0.0.1",
"summary": "A UIView subclass lets you draw a path over a image and crops thats part.",
"description": "ImageFreeCut\n===\n\nA UIView subclass lets you draw a path over a image and crops thats part.\n\nDemo\n----\n\n![alt tag]()\n\nInstall\n----\n\n``` ruby\nuse_frameworks!\npod 'ImageFreeCut'\n```\n\nUsage\n----\n\n``` swift\nimport ImageFreeCut\n```\n\nYou can either use storyboard or create it programmatically like any UIView.\nNotice that view's class name is `ImageFreeCutView`.\n\nSets the image of `ImageFreeCutView`. You are going to crop that one.\n```\nopen var imageToCut: UIImage?\n```\n\nYou can set the imageView's properties like `contentMode` directly from your `ImageFreeCutView` instance.\n```\nopen var imageView: UIImageView!\n```\n\nYou can set cut layer's properties like `strokeColor`, `fillColor`, `dashPattern` directly from your `ImageFreeCutView` instance.\n```\nopen var imageCutShapeLayer: CAShapeLayer!\n```\n\nImageFreeCutViewDelegate\n----\nSet your instance delegate and implement\n\n```\nfunc imageFreeCutView(_ imageFreeCutView: ImageFreeCutView, didCut image: UIImage?)\n```\n\ndelegate method to retrive cropped image.",
"homepage": "https://github.com/cemolcay/ImageFreeCut",
"license": "MIT",
"authors": {
"cemolcay": "ccemolcay@gmail.com"
},
"platforms": {
"ios": "10.0"
},
"source": {
"git": "https://github.com/cemolcay/ImageFreeCut.git",
"tag": "0.0.1"
},
"source_files": "ImageFreeCut/ImageFreeCutView.swift",
"requires_arc": true
}