2 "name": "ImageFreeCut",
4 "summary": "A UIView subclass lets you draw a path over a image and crops thats part.",
5 "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.",
6 "homepage": "https://github.com/cemolcay/ImageFreeCut",
9 "cemolcay": "ccemolcay@gmail.com"
15 "git": "https://github.com/cemolcay/ImageFreeCut.git",
18 "source_files": "ImageFreeCut/ImageFreeCutView.swift",