Hi,
I have a UITextField that I'd like to validate the input as currency. I looked into using NSFormatter and was able to create one, but the iphone library does not appear to have the setFormatter method to associate the NSNumberFormatter with the textfield.
Does anyone know how to make this association?
Maybe I should use NSCharacterSet instead and just check to make sure my input is part of a custom set (0-9 and .) using characterIsMember?
I have a UITextField that I'd like to validate the input as currency. I looked into using NSFormatter and was able to create one, but the iphone library does not appear to have the setFormatter method to associate the NSNumberFormatter with the textfield.
Does anyone know how to make this association?
Maybe I should use NSCharacterSet instead and just check to make sure my input is part of a custom set (0-9 and .) using characterIsMember?