{"action":"created","issue":{"url":"https://api.github.com/repos/unicorn/FlourishUI/issues/4","labels_url":"https://api.github.com/repos/unicorn/FlourishUI/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/unicorn/FlourishUI/issues/4/comments","events_url":"https://api.github.com/repos/unicorn/FlourishUI/issues/4/events","html_url":"https://github.com/unicorn/FlourishUI/issues/4","id":81476592,"number":4,"title":"Add button programmatically?","user":{"login":"wstudios","id":660143,"avatar_url":"https://avatars.githubusercontent.com/u/660143?v=3","gravatar_id":"","url":"https://api.github.com/users/wstudios","html_url":"https://github.com/wstudios","followers_url":"https://api.github.com/users/wstudios/followers","following_url":"https://api.github.com/users/wstudios/following{/other_user}","gists_url":"https://api.github.com/users/wstudios/gists{/gist_id}","starred_url":"https://api.github.com/users/wstudios/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wstudios/subscriptions","organizations_url":"https://api.github.com/users/wstudios/orgs","repos_url":"https://api.github.com/users/wstudios/repos","events_url":"https://api.github.com/users/wstudios/events{/privacy}","received_events_url":"https://api.github.com/users/wstudios/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-27T14:43:45Z","updated_at":"2015-05-29T13:28:10Z","closed_at":"2015-05-29T13:28:10Z","body":"Hi, how do i create a FlourishUI button programmatically with rounded corners and the effects. I currently have the following:\r\n\r\n            let button   = Button.buttonWithType(UIButtonType.System) as! Button\r\n            button.frame = CGRectMake(10, 10, 355, 32)\r\n            button.backgroundColor = UIColor(rgba: \"#C2784D\")\r\n            button.tintColor = UIColor(rgba: \"#ffffff\")\r\n            button.setTitle(\"Logout\", forState: UIControlState.Normal)\r\n            button.addTarget(self, action: \"logoutBtnTouched:\", forControlEvents: UIControlEvents.TouchUpInside)\r\n\r\nI appreciate any help. Thanks"},"comment":{"url":"https://api.github.com/repos/unicorn/FlourishUI/issues/comments/106802241","html_url":"https://github.com/unicorn/FlourishUI/issues/4#issuecomment-106802241","issue_url":"https://api.github.com/repos/unicorn/FlourishUI/issues/4","id":106802241,"user":{"login":"wstudios","id":660143,"avatar_url":"https://avatars.githubusercontent.com/u/660143?v=3","gravatar_id":"","url":"https://api.github.com/users/wstudios","html_url":"https://github.com/wstudios","followers_url":"https://api.github.com/users/wstudios/followers","following_url":"https://api.github.com/users/wstudios/following{/other_user}","gists_url":"https://api.github.com/users/wstudios/gists{/gist_id}","starred_url":"https://api.github.com/users/wstudios/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wstudios/subscriptions","organizations_url":"https://api.github.com/users/wstudios/orgs","repos_url":"https://api.github.com/users/wstudios/repos","events_url":"https://api.github.com/users/wstudios/events{/privacy}","received_events_url":"https://api.github.com/users/wstudios/received_events","type":"User","site_admin":false},"created_at":"2015-05-29T13:28:10Z","updated_at":"2015-05-29T13:28:10Z","body":"Thank you very much. My coding level is not great right now so i will use the cornerRadius option you mentioned and will leave the animation for now."}}