{"action":"created","issue":{"url":"https://api.github.com/repos/paoloboschini/Icomations/issues/1","labels_url":"https://api.github.com/repos/paoloboschini/Icomations/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/paoloboschini/Icomations/issues/1/comments","events_url":"https://api.github.com/repos/paoloboschini/Icomations/issues/1/events","html_url":"https://github.com/paoloboschini/Icomations/issues/1","id":79490655,"number":1,"title":"Using Icomations On A UIBarButtonItem","user":{"login":"zacwolff","id":7019488,"avatar_url":"https://avatars.githubusercontent.com/u/7019488?v=3","gravatar_id":"","url":"https://api.github.com/users/zacwolff","html_url":"https://github.com/zacwolff","followers_url":"https://api.github.com/users/zacwolff/followers","following_url":"https://api.github.com/users/zacwolff/following{/other_user}","gists_url":"https://api.github.com/users/zacwolff/gists{/gist_id}","starred_url":"https://api.github.com/users/zacwolff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zacwolff/subscriptions","organizations_url":"https://api.github.com/users/zacwolff/orgs","repos_url":"https://api.github.com/users/zacwolff/repos","events_url":"https://api.github.com/users/zacwolff/events{/privacy}","received_events_url":"https://api.github.com/users/zacwolff/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-22T15:11:10Z","updated_at":"2015-05-22T16:01:34Z","closed_at":null,"body":"Thanks for your work. Its really crisp and I'd really want to use it in an app I'm working on. Could you please assist with how I could use this in a BarButtonItem? \r\n\r\nThank you."},"comment":{"url":"https://api.github.com/repos/paoloboschini/Icomations/issues/comments/104698441","html_url":"https://github.com/paoloboschini/Icomations/issues/1#issuecomment-104698441","issue_url":"https://api.github.com/repos/paoloboschini/Icomations/issues/1","id":104698441,"user":{"login":"paoloboschini","id":2466855,"avatar_url":"https://avatars.githubusercontent.com/u/2466855?v=3","gravatar_id":"","url":"https://api.github.com/users/paoloboschini","html_url":"https://github.com/paoloboschini","followers_url":"https://api.github.com/users/paoloboschini/followers","following_url":"https://api.github.com/users/paoloboschini/following{/other_user}","gists_url":"https://api.github.com/users/paoloboschini/gists{/gist_id}","starred_url":"https://api.github.com/users/paoloboschini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paoloboschini/subscriptions","organizations_url":"https://api.github.com/users/paoloboschini/orgs","repos_url":"https://api.github.com/users/paoloboschini/repos","events_url":"https://api.github.com/users/paoloboschini/events{/privacy}","received_events_url":"https://api.github.com/users/paoloboschini/received_events","type":"User","site_admin":false},"created_at":"2015-05-22T16:01:34Z","updated_at":"2015-05-22T16:01:34Z","body":"Thanks! What about this?\r\n\r\n```swift\r\nvar icomation = Icomation(frame: CGRectMake(0, 0, 30, 30))\r\nicomation.topShape.strokeColor = UIColor.redColor().CGColor\r\nicomation.middleShape.strokeColor = UIColor.blueColor().CGColor\r\nicomation.bottomShape.strokeColor = UIColor.blackColor().CGColor\r\nicomation.addTarget(self, action: \"tapped\", forControlEvents: UIControlEvents.TouchUpInside)\r\nnavigationItem.leftBarButtonItem = UIBarButtonItem(customView: icomation)\r\n    \r\nfunc tapped() {\r\n    println(__FUNCTION__)\r\n}\r\n```"}}