{"action":"closed","issue":{"url":"https://api.github.com/repos/SwiftBond/Bond/issues/10","labels_url":"https://api.github.com/repos/SwiftBond/Bond/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/SwiftBond/Bond/issues/10/comments","events_url":"https://api.github.com/repos/SwiftBond/Bond/issues/10/events","html_url":"https://github.com/SwiftBond/Bond/issues/10","id":57083535,"number":10,"title":"Compiler issues with Swift 1.2 / Xcode 6.3 beta","user":{"login":"lyricsboy","id":36460,"avatar_url":"https://avatars.githubusercontent.com/u/36460?v=3","gravatar_id":"","url":"https://api.github.com/users/lyricsboy","html_url":"https://github.com/lyricsboy","followers_url":"https://api.github.com/users/lyricsboy/followers","following_url":"https://api.github.com/users/lyricsboy/following{/other_user}","gists_url":"https://api.github.com/users/lyricsboy/gists{/gist_id}","starred_url":"https://api.github.com/users/lyricsboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lyricsboy/subscriptions","organizations_url":"https://api.github.com/users/lyricsboy/orgs","repos_url":"https://api.github.com/users/lyricsboy/repos","events_url":"https://api.github.com/users/lyricsboy/events{/privacy}","received_events_url":"https://api.github.com/users/lyricsboy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-09T20:16:22Z","updated_at":"2015-02-09T21:32:13Z","closed_at":"2015-02-09T21:32:13Z","body":"With today's release of Xcode 6.3 beta 1, including Swift 1.2, the new `as!` operator is required to force a downcast. There are several uses that need to be updated in Bond, for example:\r\n\r\n```\r\nBond/Bond/Bond+Foundation.swift:62:67: error: 'AnyObject?' is not convertible to 'T'; did you mean to use 'as!' to force downcast?\r\n    let dynamic = DynamicExtended(object.valueForKeyPath(keyPath) as T)\r\n                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~\r\n                                                                  as!\r\n```"}}