{"action":"created","issue":{"url":"https://api.github.com/repos/nicklockwood/FXForms/issues/260","repository_url":"https://api.github.com/repos/nicklockwood/FXForms","labels_url":"https://api.github.com/repos/nicklockwood/FXForms/issues/260/labels{/name}","comments_url":"https://api.github.com/repos/nicklockwood/FXForms/issues/260/comments","events_url":"https://api.github.com/repos/nicklockwood/FXForms/issues/260/events","html_url":"https://github.com/nicklockwood/FXForms/issues/260","id":51166572,"number":260,"title":"options based on Enum & placeholder","user":{"login":"wdcurry","id":2454749,"avatar_url":"https://avatars.githubusercontent.com/u/2454749?v=3","gravatar_id":"","url":"https://api.github.com/users/wdcurry","html_url":"https://github.com/wdcurry","followers_url":"https://api.github.com/users/wdcurry/followers","following_url":"https://api.github.com/users/wdcurry/following{/other_user}","gists_url":"https://api.github.com/users/wdcurry/gists{/gist_id}","starred_url":"https://api.github.com/users/wdcurry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wdcurry/subscriptions","organizations_url":"https://api.github.com/users/wdcurry/orgs","repos_url":"https://api.github.com/users/wdcurry/repos","events_url":"https://api.github.com/users/wdcurry/events{/privacy}","received_events_url":"https://api.github.com/users/wdcurry/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-12-06T02:00:44Z","updated_at":"2016-04-19T16:09:24Z","closed_at":null,"body":"Perhaps because the enum is NSInteger, but the placeholder is not auto-set on form show, but the always shows the first element of the enum, when technically the property is nil. This feels wrong but perhaps i am missing something basic. I can open it up, select the topmost placeholder and then it shows, but not automatically, which is the desired behaviour."},"comment":{"url":"https://api.github.com/repos/nicklockwood/FXForms/issues/comments/211998872","html_url":"https://github.com/nicklockwood/FXForms/issues/260#issuecomment-211998872","issue_url":"https://api.github.com/repos/nicklockwood/FXForms/issues/260","id":211998872,"user":{"login":"nicklockwood","id":546885,"avatar_url":"https://avatars.githubusercontent.com/u/546885?v=3","gravatar_id":"","url":"https://api.github.com/users/nicklockwood","html_url":"https://github.com/nicklockwood","followers_url":"https://api.github.com/users/nicklockwood/followers","following_url":"https://api.github.com/users/nicklockwood/following{/other_user}","gists_url":"https://api.github.com/users/nicklockwood/gists{/gist_id}","starred_url":"https://api.github.com/users/nicklockwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicklockwood/subscriptions","organizations_url":"https://api.github.com/users/nicklockwood/orgs","repos_url":"https://api.github.com/users/nicklockwood/repos","events_url":"https://api.github.com/users/nicklockwood/events{/privacy}","received_events_url":"https://api.github.com/users/nicklockwood/received_events","type":"User","site_admin":false},"created_at":"2016-04-19T16:09:24Z","updated_at":"2016-04-19T16:09:24Z","body":"In Objective-C, NSInteger can't be nil. You need to set the value to NSNotFound to clear it - the default value of zero maps to the first element."}}