{"action":"created","issue":{"url":"https://api.github.com/repos/madebybowtie/FlagKit/issues/15","labels_url":"https://api.github.com/repos/madebybowtie/FlagKit/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/madebybowtie/FlagKit/issues/15/comments","events_url":"https://api.github.com/repos/madebybowtie/FlagKit/issues/15/events","html_url":"https://github.com/madebybowtie/FlagKit/pull/15","id":112547361,"number":15,"title":"Support for NSImage","user":{"login":"yageek","id":170917,"avatar_url":"https://avatars.githubusercontent.com/u/170917?v=3","gravatar_id":"","url":"https://api.github.com/users/yageek","html_url":"https://github.com/yageek","followers_url":"https://api.github.com/users/yageek/followers","following_url":"https://api.github.com/users/yageek/following{/other_user}","gists_url":"https://api.github.com/users/yageek/gists{/gist_id}","starred_url":"https://api.github.com/users/yageek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yageek/subscriptions","organizations_url":"https://api.github.com/users/yageek/orgs","repos_url":"https://api.github.com/users/yageek/repos","events_url":"https://api.github.com/users/yageek/events{/privacy}","received_events_url":"https://api.github.com/users/yageek/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-21T09:29:58Z","updated_at":"2015-10-21T12:41:16Z","closed_at":"2015-10-21T12:28:47Z","pull_request":{"url":"https://api.github.com/repos/madebybowtie/FlagKit/pulls/15","html_url":"https://github.com/madebybowtie/FlagKit/pull/15","diff_url":"https://github.com/madebybowtie/FlagKit/pull/15.diff","patch_url":"https://github.com/madebybowtie/FlagKit/pull/15.patch"},"body":"Create two separated frameworks\nAdd extension to NSImage\n\nTo preserve the API, I needed to use kind of new initialisers (declared\nin Objective-C). I don’t know if it is the correct way to perform it.\n\nAny suggestion is welcomed"},"comment":{"url":"https://api.github.com/repos/madebybowtie/FlagKit/issues/comments/149882050","html_url":"https://github.com/madebybowtie/FlagKit/pull/15#issuecomment-149882050","issue_url":"https://api.github.com/repos/madebybowtie/FlagKit/issues/15","id":149882050,"user":{"login":"yageek","id":170917,"avatar_url":"https://avatars.githubusercontent.com/u/170917?v=3","gravatar_id":"","url":"https://api.github.com/users/yageek","html_url":"https://github.com/yageek","followers_url":"https://api.github.com/users/yageek/followers","following_url":"https://api.github.com/users/yageek/following{/other_user}","gists_url":"https://api.github.com/users/yageek/gists{/gist_id}","starred_url":"https://api.github.com/users/yageek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yageek/subscriptions","organizations_url":"https://api.github.com/users/yageek/orgs","repos_url":"https://api.github.com/users/yageek/repos","events_url":"https://api.github.com/users/yageek/events{/privacy}","received_events_url":"https://api.github.com/users/yageek/received_events","type":"User","site_admin":false},"created_at":"2015-10-21T12:41:15Z","updated_at":"2015-10-21T12:41:15Z","body":"I was first using something similar as this line to get the asset \r\n```\r\n guard let URL = FlagKit.assetBundle.URLForImageResource(countryCode) else {return nil}\r\n```\r\nBut it seems to always return nil. As asset are compressed in a `.cab` archive, I'm not sure it is possible to get an URL to it. "}}