{"action":"created","issue":{"url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/issues/665","repository_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON","labels_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/issues/665/labels{/name}","comments_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/issues/665/comments","events_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/issues/665/events","html_url":"https://github.com/SwiftyJSON/SwiftyJSON/issues/665","id":180462716,"number":665,"title":"Swift 3: Cannot convert return expression of type 'Int32?' to return type 'Int?'","user":{"login":"marcusleon","id":17421510,"avatar_url":"https://avatars.githubusercontent.com/u/17421510?v=3","gravatar_id":"","url":"https://api.github.com/users/marcusleon","html_url":"https://github.com/marcusleon","followers_url":"https://api.github.com/users/marcusleon/followers","following_url":"https://api.github.com/users/marcusleon/following{/other_user}","gists_url":"https://api.github.com/users/marcusleon/gists{/gist_id}","starred_url":"https://api.github.com/users/marcusleon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcusleon/subscriptions","organizations_url":"https://api.github.com/users/marcusleon/orgs","repos_url":"https://api.github.com/users/marcusleon/repos","events_url":"https://api.github.com/users/marcusleon/events{/privacy}","received_events_url":"https://api.github.com/users/marcusleon/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-01T15:35:46Z","updated_at":"2016-10-01T18:06:18Z","closed_at":"2016-10-01T15:40:58Z","body":"We are upgrading to SwiftyJSON Swift 3 with CocoaPods config `pod 'SwiftyJSON', '3.1.0'`.   \r\n\r\nWe are getting this error: \r\n\r\n> /Users/xxx/Documents/iOS/xxx/Pods/SwiftyJSON/Source/SwiftyJSON.swift:866:33:\r\n> Cannot convert return expression of type 'Int32?' to return type\r\n> 'Int?'\r\n\r\nError is on the return statement in SwiftyJSON.swift:\r\n\r\n    public var int: Int? {\r\n        get {\r\n            return self.number?.int32Value\r\n        }\r\n        set {\r\n            if let newValue = newValue {\r\n                self.object = NSNumber(value: newValue)\r\n            } else {\r\n                self.object = NSNull()\r\n            }\r\n        }\r\n    }\r\n\r\nAnyone know what the issue is?  Is this an issue with our CocoaPods config or with SwiftyJSON?"},"comment":{"url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/issues/comments/250927422","html_url":"https://github.com/SwiftyJSON/SwiftyJSON/issues/665#issuecomment-250927422","issue_url":"https://api.github.com/repos/SwiftyJSON/SwiftyJSON/issues/665","id":250927422,"user":{"login":"mostafamaan","id":15940143,"avatar_url":"https://avatars.githubusercontent.com/u/15940143?v=3","gravatar_id":"","url":"https://api.github.com/users/mostafamaan","html_url":"https://github.com/mostafamaan","followers_url":"https://api.github.com/users/mostafamaan/followers","following_url":"https://api.github.com/users/mostafamaan/following{/other_user}","gists_url":"https://api.github.com/users/mostafamaan/gists{/gist_id}","starred_url":"https://api.github.com/users/mostafamaan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mostafamaan/subscriptions","organizations_url":"https://api.github.com/users/mostafamaan/orgs","repos_url":"https://api.github.com/users/mostafamaan/repos","events_url":"https://api.github.com/users/mostafamaan/events{/privacy}","received_events_url":"https://api.github.com/users/mostafamaan/received_events","type":"User","site_admin":false},"created_at":"2016-10-01T18:06:18Z","updated_at":"2016-10-01T18:06:18Z","body":"same thing for me but with both version on 3.0.0 and 3.1.0 in both i get \"Cannot convert return expression of type 'Int32?' to return type 'Int?'\"\r\nxcode 8A218a \r\n"}}
{"actor":{"display_login":"mostafamaan"}}