Reputation: 36703
I'm currently using an star/asterisk character to separate syllables in a vocabulary quiz program. But, I would prefer to use a black dot that sits about midway between the top and bottom of the line height. So, my questions are
1) How do I find the unicode for this character?
edit: from wikipedia, it looks like the character might be "middle dot", U+00B7
2) How do I display it?
Upvotes: 6
Views: 14992
Reputation: 10333
You can just escape unicode characters inside NSString like this:
NSString *string = @"Hi \u00B7 there!";
Here's the great website to reference Unicode codes and how to place them inside programming languages (encodings section).
Upvotes: 15