| { |
| "name": "QPChainable", |
| "version": "1.1.0", |
| "summary": "Provides an easy way to construct chained expressions for Objective-C.", |
| "description": "Provides an easy way to construct chained expressions for Objective-C.\n\nExample:\n @interface QPPacketMaker : NSObject\n - QP_CHAINABLE_DECLARE(length, (void), NSUInteger);\n - QP_CHAINABLE_DECLARE(append, (QPMultipartData *data), QPPacketMaker *);\n - QP_CHAINABLE_DECLARE(send, (void), QPPacketMaker *);\n @end\n\n @implementation QPPacketMaker\n - QP_CHAINABLE_IMPLEMENTATION(length, (void), NSUInteger, ({\n return self.data.length;\n }));\n - QP_CHAINABLE_IMPLEMENTATION(append, (QPMultipartData *data), QPPacketMaker *, ({\n // do something here.\n return self;\n }));\n - QP_CHAINABLE_IMPLEMENTATION(send, (void), QPPacketMaker *, ({\n // do something here.\n return self;\n }));\n @end", |
| "homepage": "https://github.com/keqiongpan/QPChainable", |
| "license": { |
| "type": "MIT", |
| "file": "LICENSE" |
| }, |
| "authors": { |
| "keqiongpan": "keqiongpan@163.com" |
| }, |
| "source": { |
| "git": "https://github.com/keqiongpan/QPChainable.git", |
| "tag": "1.1.0" |
| }, |
| "platforms": { |
| "ios": "8.0", |
| "osx": "10.8", |
| "tvos": "9.0", |
| "watchos": "2.0" |
| }, |
| "source_files": "QPChainable", |
| "public_header_files": "QPChainable/**/*.h", |
| "frameworks": "Foundation" |
| } |