• 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: Unicode replaceOccuranceOfString?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unicode replaceOccuranceOfString?


  • Subject: Re: Unicode replaceOccuranceOfString?
  • From: Rachel Blackman <email@hidden>
  • Date: Sun, 19 Sep 2004 01:59:49 -0700

NSString *emdash = [NSString stringWithCharacters:u length:sizeof(u) / sizeof(unichar)];

...how did I miss stringWithCharacters?

I didn't need to end up mucking about with CFStringRefs in my implementation at all after all! *sigh* This is what I get for coding at 2am.

Thank you, either way. Your method's a step more efficient than mine since I don't have to do the silly conversion. I still think I'll keep the convenience allocator, though, since it's useful for inlining. :)

--
Rachel 'Sparks' Blackman -- sysadmin, developer, mad scientist
"If it is not broken, give me five minutes to redesign it!"
 _______________________________________________
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: 
 >Unicode replaceOccuranceOfString? (From: Rachel Blackman <email@hidden>)
 >Re: Unicode replaceOccuranceOfString? (From: Ali Ozer <email@hidden>)

  • Prev by Date: Re: Unicode replaceOccuranceOfString?
  • Next by Date: Re: align subview of scrollview
  • Previous by thread: Re: Unicode replaceOccuranceOfString?
  • Next by thread: Re: Why does SCM have to be so ....... hard?
  • Index(es):
    • Date
    • Thread