Re: language based scaning

2009-10-15 Thread Nz Gmail
what I'm trying to do is sort of Twitter client, in which the tweets can be English or Arabic so in case of Arabic the alignment should be from right to left, i hope I made it clear this time cheers On Oct 13, 2009, at 2:26 PM, Ricky Sharp rsh...@mac.com wrote: You probably do not

Re: language based scaning

2009-10-15 Thread Ricky Sharp
On Oct 15, 2009, at 1:11 PM, Nz Gmail wrote: what I'm trying to do is sort of Twitter client, in which the tweets can be English or Arabic so in case of Arabic the alignment should be from right to left, i hope I made it clear this time cheers In that case, you can probably scan the

Re: language based scaning,

2009-10-15 Thread Nasser Al Zahrani
thanks Ricky, so what classes should i be looking at ? ___ 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.com

Re: language based scaning,

2009-10-15 Thread Jens Alfke
On Oct 15, 2009, at 12:33 PM, Nasser Al Zahrani wrote: so what classes should i be looking at ? NSString, mostly. Call -characters and loop over the UniChar[] array it returns. It's possible there are APIs for language/script detection at a lower level, like CoreText, but this may be

Re: language based scaning,

2009-10-15 Thread Douglas Davidson
On Oct 15, 2009, at 1:02 PM, Jens Alfke wrote: NSString, mostly. Call -characters and loop over the UniChar[] array it returns. It's possible there are APIs for language/script detection at a lower level, like CoreText, but this may be the wrong list to find experts on that. Another