{"action":"created","issue":{"url":"https://api.github.com/repos/zoonooz/PolyImageView/issues/1","labels_url":"https://api.github.com/repos/zoonooz/PolyImageView/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/zoonooz/PolyImageView/issues/1/comments","events_url":"https://api.github.com/repos/zoonooz/PolyImageView/issues/1/events","html_url":"https://github.com/zoonooz/PolyImageView/issues/1","id":90985864,"number":1,"title":"How can I use this?","user":{"login":"AbdullahAli","id":1620134,"avatar_url":"https://avatars.githubusercontent.com/u/1620134?v=3","gravatar_id":"","url":"https://api.github.com/users/AbdullahAli","html_url":"https://github.com/AbdullahAli","followers_url":"https://api.github.com/users/AbdullahAli/followers","following_url":"https://api.github.com/users/AbdullahAli/following{/other_user}","gists_url":"https://api.github.com/users/AbdullahAli/gists{/gist_id}","starred_url":"https://api.github.com/users/AbdullahAli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AbdullahAli/subscriptions","organizations_url":"https://api.github.com/users/AbdullahAli/orgs","repos_url":"https://api.github.com/users/AbdullahAli/repos","events_url":"https://api.github.com/users/AbdullahAli/events{/privacy}","received_events_url":"https://api.github.com/users/AbdullahAli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-25T14:48:00Z","updated_at":"2015-06-25T16:56:07Z","closed_at":null,"body":"How can I use this please?  I want to have an image, but every time the image is not displayed (only background shown in the polygon)\r\n\r\nCan you please post how you would use this from the ViewController? I looked at your blog post but that didn't help with this either.\r\n\r\n\r\nThis is how im using it:\r\n\r\n```\r\nvar v = PolyImageView(frame: CGRectMake(30, 30, 300, 300))\r\nv.imageView.image = UIImage(named: \"image\")\r\n```\r\n\r\nThis is what I get:\r\n![screen shot 2015-06-25 at 16 07 19](https://cloud.githubusercontent.com/assets/1620134/8357729/48fb55ce-1b54-11e5-927d-70c8be13d3e2.png)\r\n\r\n\r\nThank you"},"comment":{"url":"https://api.github.com/repos/zoonooz/PolyImageView/issues/comments/115322919","html_url":"https://github.com/zoonooz/PolyImageView/issues/1#issuecomment-115322919","issue_url":"https://api.github.com/repos/zoonooz/PolyImageView/issues/1","id":115322919,"user":{"login":"zoonooz","id":1230665,"avatar_url":"https://avatars.githubusercontent.com/u/1230665?v=3","gravatar_id":"","url":"https://api.github.com/users/zoonooz","html_url":"https://github.com/zoonooz","followers_url":"https://api.github.com/users/zoonooz/followers","following_url":"https://api.github.com/users/zoonooz/following{/other_user}","gists_url":"https://api.github.com/users/zoonooz/gists{/gist_id}","starred_url":"https://api.github.com/users/zoonooz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zoonooz/subscriptions","organizations_url":"https://api.github.com/users/zoonooz/orgs","repos_url":"https://api.github.com/users/zoonooz/repos","events_url":"https://api.github.com/users/zoonooz/events{/privacy}","received_events_url":"https://api.github.com/users/zoonooz/received_events","type":"User","site_admin":false},"created_at":"2015-06-25T16:56:07Z","updated_at":"2015-06-25T16:56:07Z","body":"Hi @AbdullahAli \r\n\r\nSeems like I missed `setup()` in\r\n\r\n```\r\noverride init(frame: CGRect) {\r\n        super.init(frame: frame)\r\n}\r\n```\r\n\r\nSorry."}}