Eduardo Domene Junior

1pod

TLCustomMask

TLCustomMask takes a string and applies a custom mask to it. Ideally it is used from within a TextField to apply real-time masks to text inputs. Usage: func textField(textField: UITextField, shouldChangeCharactersInRange range: NSRange, replacementString string: String) -> Bool { self.text = customMask!.formatStringWithRange(range, string: string) return false }

License: MIT

  • Swift