{"action":"created","issue":{"url":"https://api.github.com/repos/stephencelis/SQLite.swift/issues/154","labels_url":"https://api.github.com/repos/stephencelis/SQLite.swift/issues/154/labels{/name}","comments_url":"https://api.github.com/repos/stephencelis/SQLite.swift/issues/154/comments","events_url":"https://api.github.com/repos/stephencelis/SQLite.swift/issues/154/events","html_url":"https://github.com/stephencelis/SQLite.swift/pull/154","id":96300806,"number":154,"title":"WIP: Swift 2","user":{"login":"stephencelis","id":658,"avatar_url":"https://avatars.githubusercontent.com/u/658?v=3","gravatar_id":"","url":"https://api.github.com/users/stephencelis","html_url":"https://github.com/stephencelis","followers_url":"https://api.github.com/users/stephencelis/followers","following_url":"https://api.github.com/users/stephencelis/following{/other_user}","gists_url":"https://api.github.com/users/stephencelis/gists{/gist_id}","starred_url":"https://api.github.com/users/stephencelis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephencelis/subscriptions","organizations_url":"https://api.github.com/users/stephencelis/orgs","repos_url":"https://api.github.com/users/stephencelis/repos","events_url":"https://api.github.com/users/stephencelis/events{/privacy}","received_events_url":"https://api.github.com/users/stephencelis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-21T12:06:58Z","updated_at":"2015-08-16T21:52:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/stephencelis/SQLite.swift/pulls/154","html_url":"https://github.com/stephencelis/SQLite.swift/pull/154","diff_url":"https://github.com/stephencelis/SQLite.swift/pull/154.diff","patch_url":"https://github.com/stephencelis/SQLite.swift/pull/154.patch"},"body":"This is a work in progress with much to do. It's an ambitious update that adds support for Swift 2 features along with some project file restructuring needed to support Carthage, and API restructuring needed to decouple database connections from the query builder and support database names.\r\n\r\nIt will address #133, #30, #77.\r\n\r\nOld code has momentarily been deleted and functionality with it. This PR will not work with your existing code at the moment. See **Tests** and read the **Source** for new behavior.\r\n\r\nMust-haves:\r\n\r\n- [x] Use Swift 2 error model\r\n- [x] Use protocol extensions\r\n- [ ] Feature parity\r\n    - [ ] Re-hook up `asc`, `desc`, `alias`\r\n- [x] Re-hook up SQLCipher\r\n- [x] Re-hook up CocoaPods\r\n- [ ] Finish tests (and provide as complete coverage as possible)\r\n- [ ] Update documentation\r\n    - [x] Update general text and example code\r\n    - [ ] Address FIXMEs\r\n    - [ ] Update installation instructions and image\r\n    - [ ] Add more specific examples around expression protocol extensions\r\n- [ ] Update playground\r\n- [ ] Update README (partially done)\r\n    - [x] Update general text and example code\r\n    - [ ] Update installation instructions and image\r\n\r\nNice-to-haves:\r\n\r\n- [x] Decouple database connections from query builder\r\n- [x] Hook up Carthage\r\n- [x] Database name support\r\n- [ ] Attach/detach helpers\r\n- [ ] Pragma helpers\r\n- [ ] Extract SQLCipher into its own SQLiteCipher.swift repository\r\n- [ ] Section playground into chapters with more examples\r\n- [ ] Clean up raw interface\r\n    - [ ] Consider less subscripting and more flexibility for retrieving values\r\n    - [ ] Use `func forEach(Element -> Void) throws` for lazy iteration\r\n- [ ] Split into sub-frameworks (don't require typed builder use)\r\n- [ ] Multi-reader/single-writer locking"},"comment":{"url":"https://api.github.com/repos/stephencelis/SQLite.swift/issues/comments/131630527","html_url":"https://github.com/stephencelis/SQLite.swift/pull/154#issuecomment-131630527","issue_url":"https://api.github.com/repos/stephencelis/SQLite.swift/issues/154","id":131630527,"user":{"login":"schickling","id":1567498,"avatar_url":"https://avatars.githubusercontent.com/u/1567498?v=3","gravatar_id":"","url":"https://api.github.com/users/schickling","html_url":"https://github.com/schickling","followers_url":"https://api.github.com/users/schickling/followers","following_url":"https://api.github.com/users/schickling/following{/other_user}","gists_url":"https://api.github.com/users/schickling/gists{/gist_id}","starred_url":"https://api.github.com/users/schickling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schickling/subscriptions","organizations_url":"https://api.github.com/users/schickling/orgs","repos_url":"https://api.github.com/users/schickling/repos","events_url":"https://api.github.com/users/schickling/events{/privacy}","received_events_url":"https://api.github.com/users/schickling/received_events","type":"User","site_admin":false},"created_at":"2015-08-16T21:52:57Z","updated_at":"2015-08-16T21:52:57Z","body":"Any news about when `.order` by `.asc`/`.desc` can be expected?"}}