{"action":"created","issue":{"url":"https://api.github.com/repos/Alamofire/Alamofire/issues/1316","repository_url":"https://api.github.com/repos/Alamofire/Alamofire","labels_url":"https://api.github.com/repos/Alamofire/Alamofire/issues/1316/labels{/name}","comments_url":"https://api.github.com/repos/Alamofire/Alamofire/issues/1316/comments","events_url":"https://api.github.com/repos/Alamofire/Alamofire/issues/1316/events","html_url":"https://github.com/Alamofire/Alamofire/issues/1316","id":160982367,"number":1316,"title":"[WIP] Swift 3.0 Migration ","user":{"login":"kcharwood","id":198768,"avatar_url":"https://avatars.githubusercontent.com/u/198768?v=3","gravatar_id":"","url":"https://api.github.com/users/kcharwood","html_url":"https://github.com/kcharwood","followers_url":"https://api.github.com/users/kcharwood/followers","following_url":"https://api.github.com/users/kcharwood/following{/other_user}","gists_url":"https://api.github.com/users/kcharwood/gists{/gist_id}","starred_url":"https://api.github.com/users/kcharwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kcharwood/subscriptions","organizations_url":"https://api.github.com/users/kcharwood/orgs","repos_url":"https://api.github.com/users/kcharwood/repos","events_url":"https://api.github.com/users/kcharwood/events{/privacy}","received_events_url":"https://api.github.com/users/kcharwood/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":68,"created_at":"2016-06-17T21:56:49Z","updated_at":"2016-08-29T09:49:37Z","closed_at":null,"body":"# Alamofire - Swift 3.0\r\n\r\nThe initial migration to [Swift 3.0](https://swift.org/migration-guide/) has been completed, and can be found in the [`swift3`](https://github.com/Alamofire/Alamofire/tree/swift3) branch. Many thanks to the Apple Engineers in the labs at WWDC who assisted with some of the migration issues. :beers:\r\n\r\nPlease file Github issues for any problems discovered while using this branch.\r\n\r\nThis branch should be considered a work in progress, and will be updated as future Xcode 8 and Swift 3 seeds are released by Apple.\r\n\r\nOfficial support for Swift 3.0 and Xcode 8 will be not available until the fall when Apple releases both.\r\n\r\n## Migration Notes\r\n * Many Foundation types are now value types, instead of reference types. Please audit your code to ensure all references to `NSMutableURLRequest` are now properly handled as `var` and are of type `URLRequest`.\r\n * Due to the Swift 3.0 naming conventions, many Alamofire API parameters that referenced an object in the URL Foundation loading system and began with capital letters now begin with lowercase letters. For example, `URLRequest` parameter names are now `urlRequest` to prevent confusion.\r\n\r\n\r\n More notes will be added as issues are discovered.\r\n \r\n## Radars\r\nThe following radars were filed as a result of this migration and are currently being tracked by the ASF team.\r\n\r\n* **[26850776](rdar://26850776)**: `CharacterSet` crashes when attempting to remove an item from the set in Swift 3.0\r\n* **[26849668](rdar://26849668)**: `NSURLProtocol` APIs still contain `NSMutableURLRequest` parameter types and do not support the Swift 3.0 value types\r\n* **[26870455](rdar://26870455)**: `NSURLSession` with background configuration does not function on the iOS simulator inside of test targets\r\n \r\n## TODO\r\n\r\n- [ ] Update Project Recommended Settings\r\n- [ ] Update Example\r\n- [ ] Travis CI Support\r\n- [ ] Update Documentation/README\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Alamofire/Alamofire/issues/comments/243081821","html_url":"https://github.com/Alamofire/Alamofire/issues/1316#issuecomment-243081821","issue_url":"https://api.github.com/repos/Alamofire/Alamofire/issues/1316","id":243081821,"user":{"login":"chieudai14kytu","id":12514532,"avatar_url":"https://avatars.githubusercontent.com/u/12514532?v=3","gravatar_id":"","url":"https://api.github.com/users/chieudai14kytu","html_url":"https://github.com/chieudai14kytu","followers_url":"https://api.github.com/users/chieudai14kytu/followers","following_url":"https://api.github.com/users/chieudai14kytu/following{/other_user}","gists_url":"https://api.github.com/users/chieudai14kytu/gists{/gist_id}","starred_url":"https://api.github.com/users/chieudai14kytu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chieudai14kytu/subscriptions","organizations_url":"https://api.github.com/users/chieudai14kytu/orgs","repos_url":"https://api.github.com/users/chieudai14kytu/repos","events_url":"https://api.github.com/users/chieudai14kytu/events{/privacy}","received_events_url":"https://api.github.com/users/chieudai14kytu/received_events","type":"User","site_admin":false},"created_at":"2016-08-29T09:49:37Z","updated_at":"2016-08-29T09:49:37Z","body":"Hi guys, I'm getting these errors. How do i fix it?. I'm using Xcode beta 6.\r\n<img width=\"575\" alt=\"screen shot 2016-08-29 at 4 44 43 pm\" src=\"https://cloud.githubusercontent.com/assets/12514532/18047605/f490e726-6e07-11e6-9f4a-4904ec03fa5e.png\">\r\n<img width=\"261\" alt=\"screen shot 2016-08-29 at 4 44 00 pm\" src=\"https://cloud.githubusercontent.com/assets/12514532/18047617/fc5c9946-6e07-11e6-9078-21635f8d7090.png\">\r\n"}}
{"actor":{"display_login":"chieudai14kytu"}}