CountryPickerView
CountryPickerView copied to clipboard
Improved RTL support (mainly for the UITextField use-case)
Expose containerView
to enable support for layoutMargins
and semanticContentAttribute
- mainly to improve the UITextField use-case for RTL languages.
Now it's possible to to add some spacing without a 'paddingView' and forceLeftToRight
so the flag is on the left in RTL languages - see the sample app for details.
Hey @kizitonwose any chance you can take a look at this? I'd love to see this released 🙏 🙇
Hey @kizitonwose any chance you can take a look at this? I'd love to see this released 🙏 🙇
Hello @kizitonwose, I see there has been some activity on this repo recently. Could you please take a look at this PR when you find the time?
Hi @zfoltin , I'll get on it as soon as I find the time, sorry for the delays. You can use your branch with cocoapods as a workaround for now.
I want to force my country picker to be LTR when the app in RTL. Is it possible to merge this request or give me a workaround to handle this situation?
@MMohamad70 you can do what @kizitonwose suggests - use the PR's branch in Cocoapods. Something like
pod 'CountryPickerView', :git => 'https://github.com/zfoltin/CountryPickerView.git', :branch => 'improved-textfield-support'
If this ever gets merged and released 🤞 then I'll delete my fork so keep an eye 👀 on this PR, just in case...
@zfoltin I didn't know I can use it this way. Thanks for your suggestion.
No worries @MMohamad70 👍 I hope @kizitonwose will find the time to review this PR and merge and publish it 🤞