• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [newb] Allowing error-prone code line to persist in app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >[newb] Allowing error-prone code line to persist in app (From: Chris Paveglio <email@hidden>)
 >Re: [newb] Allowing error-prone code line to persist in app (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: [newb] Allowing error-prone code line to persist in app
  • Next by Date: Re: Overriding NSCollectionView's selection: a good idea?
  • Previous by thread: Re: [newb] Allowing error-prone code line to persist in app
  • Next by thread: Re: [newb] Allowing error-prone code line to persist in app
  • Index(es):
    • Date
    • Thread