-
-
Notifications
You must be signed in to change notification settings - Fork 953
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for NSFormatter #306
Add support for NSFormatter #306
Conversation
9fc677d
to
7970132
Compare
Hello, At least then I could help so as this PR is being merged at some point. Thanks a lot for the great work that you are doing |
@ziogaschr I will review the code and get back to you with my comments on this. We should have to figure out a elegant way to expose these properties (i don't like the idea of exposing them as Perhaps implementing all these stuff inside My point is that NSFormatter usage is a edge case scenario and i don't want to expose more properties inside Anyway let me think a little bit about it. |
Any news on this? |
Seems to be a good solution for my issue and more. Thanks |
so I ended up adding some personal stuff in the forked version of this Pod, I'm now trying to upgrade to 3.0 and realized that this wasn't added, might have to re-fork again and add the formatter again in my own version of the app |
@mtnbarreto How would you do something like entering a currency. Usually the user would enter a decimal value, but it's nice to have a '$' ahead of it along with making sure it's always 2 decimals...or how about a number format. making "1234567890" into "(123) 456-7890". I don't believe that THOSE would be edge cases |
Any news ? |
7970132
to
2c972c5
Compare
I just rebased my branch with your master for anyone interested using it. |
2c972c5
to
24638f9
Compare
Any update on merging this? What's the case against it? It seems fairly common use case to format certain text. |
@mtnbarreto have you thought on it? Let me know of which you think the best way for such a feature will be, so as I implement it in May. I wouldn't like to work on something that will not be merged. So please advice me on the best possible way for such a thing. Thanks, Chris :) |
Any luck on getting this feature merged or even ask me to redesign. I have to merge my fork again from version 2.2.0. It will be nice if I can use your repo directly :) |
Hi @ziogaschr . I will merge it if you can rebase it onto the latest master version. |
24638f9
to
f52c532
Compare
Hi @mats-claassen. Thanks for the quick response. I merged it with |
All the credits for this pull request are for @bhirt-bpl who made the initial PR #77 and also to @fwhenin who made an attempt #195 to rebase it 4 months ago.
I rebased all the work from @bhirt-bpl at current master and also removed the extra commits/features @fwhenin added on his PR.
It will be nice if you could accept this Pull Request soon. Thanks