Re: [newb] Allowing error-prone code line to persist in app
Re: [newb] Allowing error-prone code line to persist in app
- Subject: Re: [newb] Allowing error-prone code line to persist in app
- From: Alastair Houghton <email@hidden>
- Date: Tue, 18 Aug 2009 17:54:43 +0100
On 18 Aug 2009, at 17:35, I. Savant wrote:
On Aug 18, 2009, at 12:25 PM, Alastair Houghton wrote:
Also, PLEASE remember that there are people who don't live in the
United States!
WHAT?! Oh, those poor dears! ;-)
In seriousness, yes, very valid point. There are, however, no good
localized (localised?) "phone number formatters" built into the
system so rolling your own is no small task. If you can't find a
good open source solution, it's probably best to either turn off the
formatter when not in "US" mode, or just don't force formatting at
all.
And even if you're going to be smart about it and format them for
people in the U.S., remember that English != United States, and that
even U.S. users might have international numbers or various other
types of special numbers (internal PBX numbers, numbers with control
strings, #s, *s and so on, or even alphanumeric "numbers" if their
phone system supports them).
Kind regards,
Alastair.
--
http://alastairs-place.net
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden