leftView & clearButtonMode

You can now use this library when you have already set the leftView in your textfield or even the clearButtonMode.
The width of the textrect is automatically resized when you add or remove bars from the UITextField.

There is however a bug as far as i can tell where when you add bars the textRectForBounds does not resize the rect correctly even if the nslog shows that the width has decreased. When removing bars it works as expected.
To counter this bug i add and remove a space to make the textRectForBounds actually resize correctly.

thanks