blob: cc469c71975eddbbce72a0b1c1a5ead3f8530428 [file] [log] [blame]
{
"name": "LGBluetooth",
"version": "1.1.2",
"summary": "Simple, block-based, lightweight library over CoreBluetooth.",
"platforms": {
"ios": "7.0",
"osx": "10.9"
},
"source": {
"git": "https://github.com/SocialObjects-Software/LGBluetooth.git",
"tag": "v1.1.2"
},
"description": " As we know CoreBluetooth is very hard to use - The methods of objects in Core bluetooth are messy\n\nFor example connectPeripheral:options: is written in CBCentralManager, discoverCharacteristics:forService is written in Peripheral, writeValue:forCharacteristic:type, readValueForCharacteristic are also in Peripheral\n\nThis messy code makes CoreBluetooth development really painfull. For example if you need to read characteristic value, you need to call \"connect\" on central object, wait for Central delegate callback, After that call \"discover services\", wait peripheral delegate callback, \"discover characteristic\" which you planned and wait for delegate callback, \"readValue\" and again wait for delegate callback. What will happen if your program will make 2 connections at once? Handling such cases makes messy code, and raises hundred of bugs.\n\nDon't worry, now you can forgot about that hell - LGBluetooth uses blocks for callbacks, you can start using modern code and hierarchical calls.\n",
"homepage": "socialobjects-software.github.io/LGBluetooth",
"license": "MIT",
"authors": {
"David Sahakyan": "loggerdev@gmail.com"
},
"source_files": "LGBluetooth/*",
"ios": {
"frameworks": "CoreBluetooth"
},
"osx": {
"frameworks": [
"IOBluetooth",
"IOBluetoothUI"
]
},
"requires_arc": true
}