blob: c602dfb3d11859ff84155444ebda33f1c7fb995f [file] [log] [blame]
{
"name": "CameraBackground",
"version": "1.0.2",
"summary": "Show camera layer as a background to any UIView.",
"description": "Features:\n\n* Both **front and back** camera supported.\n* **Flash** modes: auto, on, off.\n* Countdown **timer**.\n* Tap to **focus**.\n* Pinch to **zoom**.\n\nUsage:\n\n```swift\nview.addCameraBackground()\n// ...\nview.takeCameraSnapshot( {\n // animate snapshot capture\n self.view.alpha = 0\n UIView.animateWithDuration(1) { self.view.alpha = 1 }\n },\n completion: { (capturedImage, error) -> () in\n self.view.freeCameraSnapshot() // unfreeze image\n // ... handle capturedImage and error\n }\n)\n// ...\nview.removeCameraBackground()\n```",
"homepage": "https://github.com/yonat/CameraBackground",
"screenshots": [
"https://raw.githubusercontent.com/yonat/CameraBackground/master/screenshots/focus.png",
"https://raw.githubusercontent.com/yonat/CameraBackground/master/screenshots/countdown.png"
],
"license": {
"type": "MIT",
"file": "LICENSE.txt"
},
"authors": {
"Yonat Sharon": "yonat@ootips.org"
},
"social_media_url": "http://twitter.com/yonatsharon",
"platforms": {
"ios": "8.0"
},
"requires_arc": true,
"source": {
"git": "https://github.com/yonat/CameraBackground.git",
"tag": "1.0.2"
},
"source_files": "Sources/*.swift",
"dependencies": {
"MiniLayout": [
],
"MiniDispatch": [
],
"MultiToggleButton": [
]
},
"pushed_with_swift_version": "2.3",
"subspecs": [
{
"name": "Resources",
"resource_bundles": {
"CameraBackground": "Sources/*.png"
}
}
]
}