Re: Unicode replaceOccuranceOfString?
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