• 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: Appending an ellipsis to a NSString
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Appending an ellipsis to a NSString


  • Subject: Re: Appending an ellipsis to a NSString
  • From: Ondra Cada <email@hidden>
  • Date: Fri, 23 Apr 2004 03:36:34 +0200

Glen,

On 23.4.2004, at 3:16, Glen Low wrote:

> [string stringByAppendingString: @"\u2026"]
> where 0x2026 is the Unicode for ellipsis, but the compiler doesn't
> recognize the \u escape sequence.

I guess the best bet is something like

unichar ell=0x2026;
static NSString *ellipsis=[[NSString alloc] initWithCharacters:&ell
length:1];
...
[string stringByAppendingString:ellipsis];
---
Ondra Hada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Appending an ellipsis to a NSString (From: Glen Low <email@hidden>)

  • Prev by Date: Colorizing an image
  • Next by Date: Re: Adding table columns with image cells - the problem
  • Previous by thread: Appending an ellipsis to a NSString
  • Next by thread: Re: Appending an ellipsis to a NSString
  • Index(es):
    • Date
    • Thread