Q:

Use of Symbol in UIFont

The UIFont I use supports the symbol I want. How programmatically can I type that symbol in the code?
UILabel *label = [ [UILabel alloc ] initWithFrame:frame];
scoreLabel.font = [UIFont fontWithName:@"Arial Rounded MT Bold" size:(20.0)];
label.text = [NSString stringWithFormat: @"%d", text];
[self addSubview:label];

A:

You can actually just paste the symbol right into the source code. All of Mac OS X's tools support UTF8 in source code.
So this is perfectly legitimate:
NSString *qa = @"6 ÷ 2 = 3";

You can enter the ÷ symbol using option-slash, or use Mac OS X's character viewer and double click it.
That said, I don't really trust that everything I use is going to support UTF8 properly. So for myself, I use unicode escape sequences. For instance:
NSString *qa = @"6 \u00F7 2 = 3";

