{"action":"created","issue":{"url":"https://api.github.com/repos/namsk/spritekit-swift-physics-bouncing-balls/issues/2","labels_url":"https://api.github.com/repos/namsk/spritekit-swift-physics-bouncing-balls/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/namsk/spritekit-swift-physics-bouncing-balls/issues/2/comments","events_url":"https://api.github.com/repos/namsk/spritekit-swift-physics-bouncing-balls/issues/2/events","html_url":"https://github.com/namsk/spritekit-swift-physics-bouncing-balls/issues/2","id":75876729,"number":2,"title":"Changes needed for XCode 6.3.1.","user":{"login":"stephmur","id":261360,"avatar_url":"https://avatars.githubusercontent.com/u/261360?v=3","gravatar_id":"","url":"https://api.github.com/users/stephmur","html_url":"https://github.com/stephmur","followers_url":"https://api.github.com/users/stephmur/followers","following_url":"https://api.github.com/users/stephmur/following{/other_user}","gists_url":"https://api.github.com/users/stephmur/gists{/gist_id}","starred_url":"https://api.github.com/users/stephmur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephmur/subscriptions","organizations_url":"https://api.github.com/users/stephmur/orgs","repos_url":"https://api.github.com/users/stephmur/repos","events_url":"https://api.github.com/users/stephmur/events{/privacy}","received_events_url":"https://api.github.com/users/stephmur/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-13T07:11:22Z","updated_at":"2015-05-14T05:44:56Z","closed_at":null,"body":"Due to changes in Swift syntax, the following changes are needed to make the project compile. I'm not an expert in Swift but these changes seem to work:\r\n\r\n1. In the file AppDelegate.swift, Class AppDelegate the \"application\" declaration needs to change:\r\n// Old:\r\n//func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: //NSDictionary?) -> Bool { \r\n// New:\r\nfunc application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {\r\n\r\n2. In GameScene.swift the following needs to change:\r\n// Old:\r\n// override func touchesBegan(touches: NSSet, withEvent event: UIEvent) {\r\n// New:\r\n   override func touchesBegan(touches: Set<NSObject>, withEvent event: UIEvent) {\r\n\r\n3. In GameViewController.swift change:\r\n// Old:\r\n//      let skView = self.view as SKView\r\n// New: \r\n        let skView = self.view as! SKView\r\n\r\nSorry if this is not the correct way to submit changes, but I'm new at this. I just thought this might be helpful for other newcomers to Swift like me.\r\n\r\n  --Steve\r\n"},"comment":{"url":"https://api.github.com/repos/namsk/spritekit-swift-physics-bouncing-balls/issues/comments/101921114","html_url":"https://github.com/namsk/spritekit-swift-physics-bouncing-balls/issues/2#issuecomment-101921114","issue_url":"https://api.github.com/repos/namsk/spritekit-swift-physics-bouncing-balls/issues/2","id":101921114,"user":{"login":"namsk","id":2292083,"avatar_url":"https://avatars.githubusercontent.com/u/2292083?v=3","gravatar_id":"","url":"https://api.github.com/users/namsk","html_url":"https://github.com/namsk","followers_url":"https://api.github.com/users/namsk/followers","following_url":"https://api.github.com/users/namsk/following{/other_user}","gists_url":"https://api.github.com/users/namsk/gists{/gist_id}","starred_url":"https://api.github.com/users/namsk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/namsk/subscriptions","organizations_url":"https://api.github.com/users/namsk/orgs","repos_url":"https://api.github.com/users/namsk/repos","events_url":"https://api.github.com/users/namsk/events{/privacy}","received_events_url":"https://api.github.com/users/namsk/received_events","type":"User","site_admin":false},"created_at":"2015-05-14T05:44:56Z","updated_at":"2015-05-14T05:44:56Z","body":"Fixed.\r\n\r\nThanks."}}