[Add] ZJSDK 2.5.5.0
[CocoaPods.git] / Specs / d / 3 / 2 / Cycles / 0.3.1 / Cycles.podspec.json
blob85b1599b1413b0be23521214e3d14ae86eaf0795
2   "name": "Cycles",
3   "version": "0.3.1",
4   "summary": "HTTP library written in Swift.",
5   "description": "                       Cycles is a HTTP library written in Swift. The target of Cycles is to\n                       free you from writing glue code around the NSURLSession classes.\n\n                       ```\n                       Cycle.get(\"https://api.github.com/user/\",\n                           requestProcessors: [BasicAuthProcessor(username: \"user\", password: \"pass\")],\n                           responseProcessors: [JSONProcessor()],\n                           completionHandler: { (cycle, error) in\n                              println(\"(cycle.response.statusCode)\") // 200\n                              var header = cycle.response.valueForHTTPHeaderField(\"content-type\")\n                              println(\"(header)\") // application/json; charset=utf-8\n                              println(\"(cycle.response.textEncoding)\") // 4\n                              println(\"(cycle.response.text)\") // {\"login\":\"user\",\"id\":3 ...\n                              println(\"(cycle.response.object)\") // {\"avatar_url\" = ...\n                           })\n                       ```\n\n                       Cycles offers a set of higher-level objects. With these objects, there is no\n                       need to manually build query strings, or to create collection objects from\n                       JSON response. More importantly, Cycles is designed in a way to help you build\n                       HTTP functionality into your model layer. Also, properties like `solicited`\n                       encourage you to build delightful user experiences.\n",
6   "homepage": "http://www.swift-cycles.org",
7   "license": {
8     "type": "MIT",
9     "file": "LICENSE"
10   },
11   "authors": {
12     "Weipin Xia": "weipin@me.com"
13   },
14   "source": {
15     "git": "https://github.com/weipin/Cycles.git",
16     "tag": "0.3.1"
17   },
18   "platforms": {
19     "ios": "7.0"
20   },
21   "requires_arc": true,
22   "source_files": "source/*",
23   "documentation_url": "http://docs.swift-cycles.org"