{"action":"opened","issue":{"url":"https://api.github.com/repos/thii/FontAwesome.swift/issues/112","repository_url":"https://api.github.com/repos/thii/FontAwesome.swift","labels_url":"https://api.github.com/repos/thii/FontAwesome.swift/issues/112/labels{/name}","comments_url":"https://api.github.com/repos/thii/FontAwesome.swift/issues/112/comments","events_url":"https://api.github.com/repos/thii/FontAwesome.swift/issues/112/events","html_url":"https://github.com/thii/FontAwesome.swift/issues/112","id":180015923,"number":112,"title":"Icon from array of icons?","user":{"login":"RNUK","id":11478756,"avatar_url":"https://avatars.githubusercontent.com/u/11478756?v=3","gravatar_id":"","url":"https://api.github.com/users/RNUK","html_url":"https://github.com/RNUK","followers_url":"https://api.github.com/users/RNUK/followers","following_url":"https://api.github.com/users/RNUK/following{/other_user}","gists_url":"https://api.github.com/users/RNUK/gists{/gist_id}","starred_url":"https://api.github.com/users/RNUK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RNUK/subscriptions","organizations_url":"https://api.github.com/users/RNUK/orgs","repos_url":"https://api.github.com/users/RNUK/repos","events_url":"https://api.github.com/users/RNUK/events{/privacy}","received_events_url":"https://api.github.com/users/RNUK/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-29T10:52:11Z","updated_at":"2016-09-29T10:52:11Z","closed_at":null,"body":"I'm adding icons to a tableview and I have an array of the icons I want. I've setup a label in the cell and I want to run through the array and pick out the icon to display, but I keep getting a EXC_BAD_Instruction error. Any ideas?\r\n\r\nMy code is as follows:\r\n\r\n(cell?.contentView.viewWithTag(1)! as! UILabel).text = String.fontAwesomeIconWithName(FontAwesome(rawValue: String(format: \"%@\", icons[(indexPath as NSIndexPath).row]))!)\r\n\r\nArray defined as:\r\nopen var icons:[String] = [\"Home\", \"User\", \"Folder\", \"Inbox\", \"Calendar\", \"MapMarker\", \"Search\",\"Users\", \"Info\",\"Bug\", \"SignOut\"]\r\n"}}
{"actor":{"display_login":"RNUK"}}