Re: NSString from wstring

2008-03-04 Thread Alexander Cohen
thx, works like a charm. AC On 4-Mar-08, at 12:49 PM, [EMAIL PROTECTED] wrote: On 4 Mar 2008, at 18:43, Alexander Cohen wrote: Hi, Whats the best way to get an NSString from a wstring? This is what I do: @interface NSString (wstring_additions) +(NSString*) stringWithwstring:(const std:

Re: NSString from wstring

2008-03-04 Thread matt . gough
On 4 Mar 2008, at 18:43, Alexander Cohen wrote: Hi, Whats the best way to get an NSString from a wstring? This is what I do: @interface NSString (wstring_additions) +(NSString*) stringWithwstring:(const std::wstring&)string; -(std::wstring) getwstring; @end @implementation NSString (wstri

NSString from wstring

2008-03-04 Thread Alexander Cohen
Hi, Whats the best way to get an NSString from a wstring? thanks AC ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple