oleghnidets / TweeTextField

Lightweight set of text fields with nice animation and functionality 🚀
MIT License
491 stars 59 forks source link

RTL language support #6

Closed ghimireprashant closed 6 years ago

ghimireprashant commented 6 years ago

no support for RTL

oleghnidets commented 6 years ago

Good point 👍🏻

oleghnidets commented 6 years ago

Check the latest release. Let me know whether it works for you.

ghimireprashant commented 6 years ago

simulator screen shot - iphone 8 plus - 2018-02-20 at 18 02 40 still no change while changing to RTL

oleghnidets commented 6 years ago

Because you are writing in English. Try to write in Arabic. It is default behavior of UITextField.

ghimireprashant commented 6 years ago

everything is fine but the side to Start to write must start from right now its from left side.ie like floating label while is in right side.

oleghnidets commented 6 years ago

Man, it is default behavior of UITextField. Try to type in Arabic and you will see that it begins from right. I won't implement special logic for this.

ghimireprashant commented 6 years ago

thank you mate I checked it and its really work when I change the keyboard.thank you once again mate you are life saver

oleghnidets commented 6 years ago

Thanks 🙂 Glad to hear that everything is good.

ghimireprashant commented 6 years ago

while using swift 3.2 I am facing one problem. my floating placeholder is not displaying in 3.2 can you help me.

let centerYConstraint = placeholderLabel.centerYAnchor.constraint(equalTo: centerYAnchor)

centerYConstraint.priority = 1000

centerYConstraint.isActive = true