{"action":"opened","issue":{"url":"https://api.github.com/repos/aleene/ManagedTagListView/issues/10","repository_url":"https://api.github.com/repos/aleene/ManagedTagListView","labels_url":"https://api.github.com/repos/aleene/ManagedTagListView/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/aleene/ManagedTagListView/issues/10/comments","events_url":"https://api.github.com/repos/aleene/ManagedTagListView/issues/10/events","html_url":"https://github.com/aleene/ManagedTagListView/issues/10","id":196123555,"number":10,"title":"Tag state","user":{"login":"aleene","id":1329905,"avatar_url":"https://avatars.githubusercontent.com/u/1329905?v=3","gravatar_id":"","url":"https://api.github.com/users/aleene","html_url":"https://github.com/aleene","followers_url":"https://api.github.com/users/aleene/followers","following_url":"https://api.github.com/users/aleene/following{/other_user}","gists_url":"https://api.github.com/users/aleene/gists{/gist_id}","starred_url":"https://api.github.com/users/aleene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleene/subscriptions","organizations_url":"https://api.github.com/users/aleene/orgs","repos_url":"https://api.github.com/users/aleene/repos","events_url":"https://api.github.com/users/aleene/events{/privacy}","received_events_url":"https://api.github.com/users/aleene/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-16T18:21:24Z","updated_at":"2016-12-16T18:21:24Z","closed_at":null,"body":"Introduce an enum to describe the state of a tag (.normal, .selected, .removable). I can then introduce related functions:\r\n- set(_ scheme: ColorScheme, for state: TagState);\r\n- indeces(for state:TagState)\r\n- setTag(at index:Int, to state:TagState)\r\n- etc\r\nThis wil generalise the current isSelected."}}
{"actor":{"display_login":"aleene"}}