devxoul / UITextView-Placeholder

A missing placeholder for UITextView
MIT License
1.48k stars 259 forks source link

Multi placeholder string for one uitextview #46

Closed Ashutos39 closed 6 years ago

Ashutos39 commented 6 years ago

how to add the placeholder for Arabic and English for the same uitextview if that uitextview code is in my storyboard.i have created the outlet for that too.

devxoul commented 6 years ago

Is that available in UITextField?

Ashutos39 commented 6 years ago

my question was how to add that in programmatically for English and Arabic for the same text field, which I fixed later I got that answer too.

On Fri, Feb 2, 2018 at 12:42 PM, Jeon Suyeol notifications@github.com wrote:

Is that available in UITextField?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/devxoul/UITextView-Placeholder/issues/46#issuecomment-362505266, or mute the thread https://github.com/notifications/unsubscribe-auth/AVfm1CbQLvJdYZ3We-IaJesaoWTS_jojks5tQrVtgaJpZM4RyKz0 .

devxoul commented 6 years ago

I can't imagine the English and Arabic placeholders in a same place.

Ashutos39 commented 6 years ago

no, it's for if u change the language we can give it programmatically for the different language the same placeholder.

On Mon, Feb 5, 2018 at 10:05 AM, Jeon Suyeol notifications@github.com wrote:

I can't imagine the English and Arabic placeholders in a same place.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/devxoul/UITextView-Placeholder/issues/46#issuecomment-362979391, or mute the thread https://github.com/notifications/unsubscribe-auth/AVfm1ImVMvyTH-WisfTlR8xi0IWjdE04ks5tRoUsgaJpZM4RyKz0 .

devxoul commented 6 years ago

This is not a placeholder issue, you can just use NSLocalizedString.

Ashutos39 commented 6 years ago

yeah, I solved it thanks for your valuable time.

On Mon, Feb 5, 2018 at 2:07 PM, Jeon Suyeol notifications@github.com wrote:

This is not a placeholder issue, you can just use NSLocalizedString.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/devxoul/UITextView-Placeholder/issues/46#issuecomment-363015141, or mute the thread https://github.com/notifications/unsubscribe-auth/AVfm1HsZ3sRyPeaVlVpIoo-KWIMkGtq3ks5tRr2_gaJpZM4RyKz0 .