• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Special characters for buttons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Special characters for buttons


  • Subject: Re: Special characters for buttons
  • From: j o a r <email@hidden>
  • Date: Tue, 10 Jan 2006 14:03:21 +0100


On 10 jan 2006, at 13.42, goessly wrote:

I have to add some special characters ("tab"-arrows, "return"- arrows) to my apps' buttons. Although "Font Collection" shows that Lucida Grande includes them, I can't access them via keyboard - or, since Font Collection doesn't allow it, copy-and-paste.
So how do I get such those characters into my buttons?

You can create strings with these characters programmatically, and set them at runtime:


+ (NSString *) returnKeyCharacter
{
    unichar tm[1] = {0x21a9};
    return [NSString stringWithCharacters: tm length: 1];
}

Use the Character Palette to find out the character values to use.


j o a r


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Special characters for buttons (From: goessly <email@hidden>)

  • Prev by Date: Special characters for buttons
  • Next by Date: Re: Special characters for buttons
  • Previous by thread: Special characters for buttons
  • Next by thread: Re: Special characters for buttons
  • Index(es):
    • Date
    • Thread