On Apr 13, 2010, at 3:15 PM, Bill Hernandez wrote:

> I am calling a method that I pass a phone number string "1234567890" and 
> should return "(123) 456-7890" but sure enough, that is not what is 
> happening...

You are asking the NSNumberFormatters to format a string, which it does not do 
(hence the class name). You must pass it a number, or use your own NSFormatter 
subclass.

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"

_______________________________________________

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