{"action":"created","issue":{"url":"https://api.github.com/repos/ephread/Instructions/issues/21","repository_url":"https://api.github.com/repos/ephread/Instructions","labels_url":"https://api.github.com/repos/ephread/Instructions/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/ephread/Instructions/issues/21/comments","events_url":"https://api.github.com/repos/ephread/Instructions/issues/21/events","html_url":"https://github.com/ephread/Instructions/issues/21","id":123388061,"number":21,"title":"Wrap or remove access to `UIApplication.sharedApplication()`","user":{"login":"shergin","id":22032,"avatar_url":"https://avatars.githubusercontent.com/u/22032?v=3","gravatar_id":"","url":"https://api.github.com/users/shergin","html_url":"https://github.com/shergin","followers_url":"https://api.github.com/users/shergin/followers","following_url":"https://api.github.com/users/shergin/following{/other_user}","gists_url":"https://api.github.com/users/shergin/gists{/gist_id}","starred_url":"https://api.github.com/users/shergin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shergin/subscriptions","organizations_url":"https://api.github.com/users/shergin/orgs","repos_url":"https://api.github.com/users/shergin/repos","events_url":"https://api.github.com/users/shergin/events{/privacy}","received_events_url":"https://api.github.com/users/shergin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-12-22T00:35:51Z","updated_at":"2016-02-16T22:04:06Z","closed_at":"2016-02-16T21:57:22Z","body":"The reason is:\r\n```\r\n+ (UIApplication *)sharedApplication NS_EXTENSION_UNAVAILABLE_IOS(\"Use view controller based solutions where appropriate instead.\");\r\n```\r\n\r\nAccess to `UIApplication.sharedApplication()` unavailable inside iOS extensions and because of this library cannot be used for instance for guide inside custom keyboard.\r\n"},"comment":{"url":"https://api.github.com/repos/ephread/Instructions/issues/comments/184892946","html_url":"https://github.com/ephread/Instructions/issues/21#issuecomment-184892946","issue_url":"https://api.github.com/repos/ephread/Instructions/issues/21","id":184892946,"user":{"login":"ephread","id":722366,"avatar_url":"https://avatars.githubusercontent.com/u/722366?v=3","gravatar_id":"","url":"https://api.github.com/users/ephread","html_url":"https://github.com/ephread","followers_url":"https://api.github.com/users/ephread/followers","following_url":"https://api.github.com/users/ephread/following{/other_user}","gists_url":"https://api.github.com/users/ephread/gists{/gist_id}","starred_url":"https://api.github.com/users/ephread/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ephread/subscriptions","organizations_url":"https://api.github.com/users/ephread/orgs","repos_url":"https://api.github.com/users/ephread/repos","events_url":"https://api.github.com/users/ephread/events{/privacy}","received_events_url":"https://api.github.com/users/ephread/received_events","type":"User","site_admin":false},"created_at":"2016-02-16T22:04:06Z","updated_at":"2016-02-16T22:04:06Z","body":"I've been tinkering with the ability to use Instructions in app extensions during the last few days. In the end, I've taken a cautious approach here and removed the (mostly unnecessary) call entirely."}}