Re: NSNumberFormatter not working for me ?
Re: NSNumberFormatter not working for me ?
- Subject: Re: NSNumberFormatter not working for me ?
- From: Keary Suska <email@hidden>
- Date: Tue, 13 Apr 2010 15:49:50 -0600
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 (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