blob: ead05bb8f8f06f53c443aec1d91f019fa4309f3b [file] [log] [blame]
{
"name": "3DTouchHelper",
"version": "0.1",
"summary": "Easy to use continuous 3D touch gesture recognizer.",
"description": "3DTouchHelper\n===\n\nEasy to use continuous 3D touch gesture recognizer.\n\nInstall\n----\n\n### Cocoapods\n\n``` ruby\nuse_frameworks\npod '3DTouchHelper'\n```\n\n### Manual\n\nCopy & paste `3DTouchHelper` file into your project.\n\nUsage\n----\n\nCall `add3DTouchGestureRecognizer:` function form your view or viewcontroller.\n\n``` swift\nadd3DTouchGestureRecognizer { (touchIndex, state, force, normalizedForce, forceValue, location) in\n print(\"touch (touchIndex) (state) (forceValue) value (normalizedForce) at (location)\")\n}\n```\n\n### Handler\n\n``` swift\ntypealias TDTouchGestureRecognizerCallback = (\n touchIndex: Int,\n state: UIGestureRecognizerState,\n force: CGFloat,\n normalizedForce: CGFloat,\n touchForce: TDTouchForce,\n location: CGPoint) -> Void\n```",
"homepage": "https://github.com/cemolcay/3DTouchHelper",
"license": {
"type": "MIT",
"file": "LICENSE"
},
"authors": {
"cemolcay": "ccemolcay@gmail.com"
},
"platforms": {
"ios": "9.0"
},
"source": {
"git": "https://github.com/cemolcay/3DTouchHelper.git",
"tag": "v0.1"
},
"source_files": "3DTouchHelper/3DTouchHelper/*.swift",
"requires_arc": true
}