Re: showing a symbol on NSTextField
Re: showing a symbol on NSTextField
- Subject: Re: showing a symbol on NSTextField
- From: Jerry Krinock <email@hidden>
- Date: Mon, 08 Jan 2007 11:04:11 -0800
- Thread-topic: showing a symbol on NSTextField
on 07/01/08 9:58, Tolga Katas at email@hidden wrote:
> I'm grabbing html text from the web, anyone know of a quickway to
> change ™ to a TM symbol? I need to show it in an NSTextField.
The hard part: In any Cocoa app, menu > Edit > Special characters, and find
the unicode for "trademark" .
The easy part:
myStr = [NSString stringWithFormat:@"%@ %C", @"MyTrademark", 0xffff] ;
where you have replaced ffff with the unicode you found in the hard part.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden