{"action":"created","issue":{"url":"https://api.github.com/repos/drkameleon/iswift/issues/128","labels_url":"https://api.github.com/repos/drkameleon/iswift/issues/128/labels{/name}","comments_url":"https://api.github.com/repos/drkameleon/iswift/issues/128/comments","events_url":"https://api.github.com/repos/drkameleon/iswift/issues/128/events","html_url":"https://github.com/drkameleon/iswift/issues/128","id":117661492,"number":128,"title":"iSwift fails to convert valid Objective-C code to Swift","user":{"login":"ianhlavats","id":3005952,"avatar_url":"https://avatars.githubusercontent.com/u/3005952?v=3","gravatar_id":"","url":"https://api.github.com/users/ianhlavats","html_url":"https://github.com/ianhlavats","followers_url":"https://api.github.com/users/ianhlavats/followers","following_url":"https://api.github.com/users/ianhlavats/following{/other_user}","gists_url":"https://api.github.com/users/ianhlavats/gists{/gist_id}","starred_url":"https://api.github.com/users/ianhlavats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianhlavats/subscriptions","organizations_url":"https://api.github.com/users/ianhlavats/orgs","repos_url":"https://api.github.com/users/ianhlavats/repos","events_url":"https://api.github.com/users/ianhlavats/events{/privacy}","received_events_url":"https://api.github.com/users/ianhlavats/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/drkameleon/iswift/labels/help%20wanted","name":"help wanted","color":"159818"},{"url":"https://api.github.com/repos/drkameleon/iswift/labels/wontfix","name":"wontfix","color":"ffffff"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-18T19:26:22Z","updated_at":"2015-11-18T20:14:37Z","closed_at":"2015-11-18T20:11:45Z","body":"When attempting to convert this simple if statement it results in an error message:\r\n\r\nif ([someObject someValue] != nil) {\r\n \r\n}\r\n\r\n![pastedgraphic-1](https://cloud.githubusercontent.com/assets/3005952/11251661/99b0767e-8e32-11e5-96dc-77de67693e09.png)\r\n\r\nAm I doing something wrong?\r\n"},"comment":{"url":"https://api.github.com/repos/drkameleon/iswift/issues/comments/157848472","html_url":"https://github.com/drkameleon/iswift/issues/128#issuecomment-157848472","issue_url":"https://api.github.com/repos/drkameleon/iswift/issues/128","id":157848472,"user":{"login":"drkameleon","id":1265028,"avatar_url":"https://avatars.githubusercontent.com/u/1265028?v=3","gravatar_id":"","url":"https://api.github.com/users/drkameleon","html_url":"https://github.com/drkameleon","followers_url":"https://api.github.com/users/drkameleon/followers","following_url":"https://api.github.com/users/drkameleon/following{/other_user}","gists_url":"https://api.github.com/users/drkameleon/gists{/gist_id}","starred_url":"https://api.github.com/users/drkameleon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drkameleon/subscriptions","organizations_url":"https://api.github.com/users/drkameleon/orgs","repos_url":"https://api.github.com/users/drkameleon/repos","events_url":"https://api.github.com/users/drkameleon/events{/privacy}","received_events_url":"https://api.github.com/users/drkameleon/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T20:14:37Z","updated_at":"2015-11-18T20:14:37Z","body":"Well, Glad we sorted this one out! :)\r\n\r\nAs for your suggestion, to be honest, I've thought of it (to avoid mis-interpretations of what the app does, like this one), but given that it's build like a regular compiler-parser and based on the official Objective-C specifications (or at least trying to, as much as possible), this could make it a bit messy.\r\n\r\nIn any case, I'll add a \"recheck\" tag here - to revisit the issue at some later point, and not forget that it may still confuse people.\r\n\r\nThanks a lot for the input - keep it coming! ;-)"}}