Last Updated: July 07, 2016
· brendanobrienesq

Custom Unicode Characters in Objective-C (SymbolSet)

I recently purchased a copy of <a href="">Symbolset</a> from Oak studios, and was excited to use it in our iOS app. after some fiddling, characters can be shown using their unicode values in 8-hex format. The lookup table provides them in html hex entities, so a conversion from:


would look like this in any c-based language:


basically, drop the &#x bit, and prepend zeros to pad out to 8 characters, respecting capitalization.

1 Response
Add your response

在swift 1.2 或者 swift 2.1中

over 1 year ago ·