{"action":"created","issue":{"url":"https://api.github.com/repos/GraphStory/neo4j-ios/issues/3","labels_url":"https://api.github.com/repos/GraphStory/neo4j-ios/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/GraphStory/neo4j-ios/issues/3/comments","events_url":"https://api.github.com/repos/GraphStory/neo4j-ios/issues/3/events","html_url":"https://github.com/GraphStory/neo4j-ios/issues/3","id":67466730,"number":3,"title":"Transition To Swift 1.2 Errors","user":{"login":"tbogosia","id":4761846,"avatar_url":"https://avatars.githubusercontent.com/u/4761846?v=3","gravatar_id":"","url":"https://api.github.com/users/tbogosia","html_url":"https://github.com/tbogosia","followers_url":"https://api.github.com/users/tbogosia/followers","following_url":"https://api.github.com/users/tbogosia/following{/other_user}","gists_url":"https://api.github.com/users/tbogosia/gists{/gist_id}","starred_url":"https://api.github.com/users/tbogosia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbogosia/subscriptions","organizations_url":"https://api.github.com/users/tbogosia/orgs","repos_url":"https://api.github.com/users/tbogosia/repos","events_url":"https://api.github.com/users/tbogosia/events{/privacy}","received_events_url":"https://api.github.com/users/tbogosia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-04-09T22:46:54Z","updated_at":"2015-04-12T17:08:54Z","closed_at":null,"body":"While transitioning to Swift 1.2, I've found a number of syntactical errors and (after debugging these), general connection failures.\r\n\r\nThe syntactical errors appear to be mostly related to the inclusion of the \"as!\" syntax and instantiation of constants with \"let\".\r\n\r\nOnce these are resolved, I receive:\r\n\r\n```\r\nError Domain=com.theo.network.error Code=-1 \"The operation couldn’t be completed. (com.theo.network.error error -1.)\" UserInfo=0x170220f00 {TheoResponse=<NSHTTPURLResponse: 0x170237160> { URL: [MYCYPHERURL]} { status code: 400, headers {\r\n    \"Access-Control-Allow-Origin\" = \"*\";\r\n    Connection = \"keep-alive\";\r\n    \"Content-Length\" = 564;\r\n    \"Content-Type\" = \"application/json; charset=UTF-8\";\r\n    Date = \"Thu, 09 Apr 2015 22:43:03 GMT\";\r\n    Server = \"nginx/1.7.6\";\r\n} }, TheoResponseCode=400, NSLocalizedDescriptionKey=There was an error processing the request}\r\n```\r\nand \r\n\r\n```\r\nError Domain=com.theo.network.error Code=-1011 \"The operation couldn’t be completed. (com.theo.network.error error -1011.)\" UserInfo=0x174233f80 {TheoResponse=<NSHTTPURLResponse: 0x170220f00> { URL: [MYCYPHERURL]} { status code: 500, headers {\r\n    \"Cache-Control\" = \"must-revalidate,no-cache,no-store\";\r\n    Connection = \"keep-alive\";\r\n    \"Content-Length\" = 0;\r\n    \"Content-Type\" = \"text/html; charset=ISO-8859-1\";\r\n    Date = \"Thu, 09 Apr 2015 22:43:03 GMT\";\r\n    Server = \"nginx/1.7.6\";\r\n} }, TheoResponseCode=500, NSLocalizedDescriptionKey=The response was empty, but you received at valid response code}\r\n```"},"comment":{"url":"https://api.github.com/repos/GraphStory/neo4j-ios/issues/comments/92088275","html_url":"https://github.com/GraphStory/neo4j-ios/issues/3#issuecomment-92088275","issue_url":"https://api.github.com/repos/GraphStory/neo4j-ios/issues/3","id":92088275,"user":{"login":"tbogosia","id":4761846,"avatar_url":"https://avatars.githubusercontent.com/u/4761846?v=3","gravatar_id":"","url":"https://api.github.com/users/tbogosia","html_url":"https://github.com/tbogosia","followers_url":"https://api.github.com/users/tbogosia/followers","following_url":"https://api.github.com/users/tbogosia/following{/other_user}","gists_url":"https://api.github.com/users/tbogosia/gists{/gist_id}","starred_url":"https://api.github.com/users/tbogosia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbogosia/subscriptions","organizations_url":"https://api.github.com/users/tbogosia/orgs","repos_url":"https://api.github.com/users/tbogosia/repos","events_url":"https://api.github.com/users/tbogosia/events{/privacy}","received_events_url":"https://api.github.com/users/tbogosia/received_events","type":"User","site_admin":false},"created_at":"2015-04-12T17:08:54Z","updated_at":"2015-04-12T17:08:54Z","body":"@jeremykendall I learn something every day!"}}