Refactored UITextField extension into a subclass