I actually attended that session - so thanks for reminding me about it. I 
should add I have worked with unicode, asian languages, etc.. on other 
platforms for many years and am aware of the complexities (though I've been 
working on the Mac since 1992 and Cocoa since 2007). Its not so much 
eye-opening as "sigh..." that it has to be that way. My issue is that I 
remembered the vague bits of this stuff at the moment as I thankfully have not 
had to deal with this area for awhile. I remember QuickDraw GX. ATSUI. So on. 
Vaguely at this point...

As for allowing AppKit/UIKit to handle things for me - usually yes I totally 
agree. And we do. However there are always specific cases where customizing a 
specific behavior makes sense for a specific purpose. Or if you have to use a 
lower level API instead of a higher level one; an example - we cannot use any 
of the NS* classes for calendar math on iOS because they are radically too slow 
(yes, we've profiled them and spent many hours with Apple engineers at WWDC 
labs). Instead we use the CF* classes - but this requires us to do a few things 
ourselves that UIKit does for you. Its fine. As iOS matures we've been able to 
remove old code we wrote and replace it with new UIKit code when the 
performance/functionality comes up and are happy to do so.

That all said, everything everyone said is true here about this not being a 
one-size fits all solution. Its not meant to be. That's the one reason I tend 
not to post here much - I feel like sometimes I have to give everyone a full 
design doc along my question otherwise I spend the next 20 posts trying to 
explain my purpose. But in the end I do get what I need and I thank everyone 
for that.

On Oct 18, 2010, at 1:56 PM, Conrad Shultz wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 10/18/10 10:19 AM, Alex Kac wrote:
>> This works in Western languages just fine. However in languages like
>> Korean it does not work giving a random character seemingly. From
>> reading on this list over time I believe its because I'm just getting
>> one part of a multi-part character (I'm no good with unicode terms
>> sorry).
> 
> As others have noted, you are likely to run into other problems with
> exotic configurations.
> 
> I don't recall if it contains anything that will be directly pertinent
> to your task, but I highly recommend you watch the "Internationalizing
> Data" session video from WWDC 2010.  Even if it doesn't have the
> specifics you are looking for, you will probably find it eye-opening.
> 
> The upshot of it is: the world is complicated, let the operating system
> and AppKit/UIKit handle things for you.
> 
> - -- 
> Conrad Shultz
> 
> Synthetiq Solutions
> www.synthetiqsolutions.com
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iD8DBQFMvJhQaOlrz5+0JdURAm1wAJ9apqiVTA6amnsNWyN5aPhg9UWJeACeKy+I
> FIocw+q416flQgP0JkHl8vg=
> =uIeG
> -----END PGP SIGNATURE-----

Alex Kac - President and Founder
Web Information Solutions, Inc.

"The optimist proclaims that we live in the best of all possible worlds; and 
the pessimist fears this is true."
-- James Clabell




_______________________________________________

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

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to