{"action":"created","issue":{"url":"https://api.github.com/repos/ArtSabintsev/MaterialSwitch/issues/1","labels_url":"https://api.github.com/repos/ArtSabintsev/MaterialSwitch/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/ArtSabintsev/MaterialSwitch/issues/1/comments","events_url":"https://api.github.com/repos/ArtSabintsev/MaterialSwitch/issues/1/events","html_url":"https://github.com/ArtSabintsev/MaterialSwitch/issues/1","id":93528261,"number":1,"title":"Target-action instead of delegate pattern","user":{"login":"stuartjmoore","id":642708,"avatar_url":"https://avatars.githubusercontent.com/u/642708?v=3","gravatar_id":"","url":"https://api.github.com/users/stuartjmoore","html_url":"https://github.com/stuartjmoore","followers_url":"https://api.github.com/users/stuartjmoore/followers","following_url":"https://api.github.com/users/stuartjmoore/following{/other_user}","gists_url":"https://api.github.com/users/stuartjmoore/gists{/gist_id}","starred_url":"https://api.github.com/users/stuartjmoore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stuartjmoore/subscriptions","organizations_url":"https://api.github.com/users/stuartjmoore/orgs","repos_url":"https://api.github.com/users/stuartjmoore/repos","events_url":"https://api.github.com/users/stuartjmoore/events{/privacy}","received_events_url":"https://api.github.com/users/stuartjmoore/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-07T13:15:52Z","updated_at":"2015-07-07T13:19:07Z","closed_at":null,"body":"By subclassing `UIControl`, you can use `sendActionsForControlEvents(.ValueChanged)` whenever the state changes, instead of delegating the change. Similar to how `UISwitch` works.\r\n\r\nAlso, it makes IB setup dead simple."},"comment":{"url":"https://api.github.com/repos/ArtSabintsev/MaterialSwitch/issues/comments/119200671","html_url":"https://github.com/ArtSabintsev/MaterialSwitch/issues/1#issuecomment-119200671","issue_url":"https://api.github.com/repos/ArtSabintsev/MaterialSwitch/issues/1","id":119200671,"user":{"login":"ArtSabintsev","id":854860,"avatar_url":"https://avatars.githubusercontent.com/u/854860?v=3","gravatar_id":"","url":"https://api.github.com/users/ArtSabintsev","html_url":"https://github.com/ArtSabintsev","followers_url":"https://api.github.com/users/ArtSabintsev/followers","following_url":"https://api.github.com/users/ArtSabintsev/following{/other_user}","gists_url":"https://api.github.com/users/ArtSabintsev/gists{/gist_id}","starred_url":"https://api.github.com/users/ArtSabintsev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArtSabintsev/subscriptions","organizations_url":"https://api.github.com/users/ArtSabintsev/orgs","repos_url":"https://api.github.com/users/ArtSabintsev/repos","events_url":"https://api.github.com/users/ArtSabintsev/events{/privacy}","received_events_url":"https://api.github.com/users/ArtSabintsev/received_events","type":"User","site_admin":false},"created_at":"2015-07-07T13:19:07Z","updated_at":"2015-07-07T13:19:07Z","body":"Great point! I made this on the fly without really thinking about it. I was more concerned with the proportions of the track and thumb, than I was the other aspects."}}