On 14/04/2010, at 9:01 AM, Kyle Sluder wrote:

> Things like phone numbers, zip codes, and order numbers aren't really
> numbers. They're labels composed of digits. Numbers are typically
> useful for quantities, and that's where number formatters are
> appropriate. Custom formatters that convert from strings to strings
> are the more appropriate choice for telephone numbers and the like.


Just to throw in my 2ยข worth... please, please, please don't release an app 
that assumes all phone numbers are US formatted. I'm fed up with trying to 
shoehorn my details into US-centric fields. My state abbreviation (NSW) has 
three characters. My phone number has 8 digits, with a 2-digit state prefix and 
a 2-digit international dialling prefix. The worst offenders are certain 
e-commerce websites that refuse to even validate if you cannot enter a valid US 
state abbreviation. Naturally those sites don't get my business even when I 
want them to take my money!

--Graham


_______________________________________________

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