title: Using Font Awesome dynamically in Swift
body: <p>I am trying to dynamically encode font-awesome characters in Swift. I am using an API which returns the code for the character (in the format f236) and I want to inject this as unicode into a UILabel. Ideally I would like to do the following:</p>
  
  <pre><code>var iconCode: String? = jsonItem.valueForKey("icon") as? String
  var unicodeIcon = "\u{\(iconCode)}"
  label.text = "\(unicodeIcon) \(titleText)"
  </code></pre>
  
  <p>However you obviously can't do this. Is there a way around this problem?</p>