UIToolbar above the keyboard with previous/next/close buttons - #111
UIToolbar above the keyboard with previous/next/close buttons#111neoneye wants to merge 2 commits into
Conversation
…s for navigating between responders. The close button title can be customized.
|
Excellent, please merge this feature, this is important to have. |
|
+1 |
|
👍 |
|
+1 |
|
There are some indentation issues, by the way |
|
Indeed , this is needed , great addition 👍 |
|
@nicklockwood any chance of merging this? |
|
Also it would be nice to have an option to set title for toolbar. Here is my current implementation (not at FXForm yet): https://www.dropbox.com/s/14pmbpl2iiht1wr/Screenshot%202014-08-16%2010.54.14.png |
|
I haven't looked at the code/implementation but this is a great idea IMO |
|
Hi guys with the write access :) Cheers! |
|
I'm OK with this idea, but there are a few problems with the implementation that's stopping me from merging it as it stands:
I need to think of a good way to expose an option to enabled/disable this feature. I don't currently have a mechanism for this kind of from-wide configuration, and I want to add it in a way that will scale for other features
|
|
I think this pull request can remove the lines #define APPLE_PRIVATE_API_UIBarButtonSystemItem_Previous ((UIBarButtonSystemItem)105) as well and create the next / previous bar buttons in a custom way to eliminate the risk of rejection. I can understand your concerns in your first comment. Thanks for sharing your thoughts @nicklockwood |
|
Agreed it should be optional. Seems more and more common that people use this, but it's not for everyone. looking forward to getting this one merged, so I can use it! |
|
I tried to merge this PR into master on my fork, it has some weird conflicts - multiple implementations of functions, access to private variables. Even after I solved it, it doesn't seem to be doing anything. |
|
@neoneye can you take a glance? Seems like this a heavily requested feature. I know none of us want to manage an aging fork of FXForms. |
|
I ended up implementing what I needed myself. I needed a toolbar above each picker with a single "Done" button.
|
|
@GantMan sorry, I'm busy with other projects |
|
There is any way to change the close button title based in a tag(or other attribute) of the field? |
|
In addition to @danielbraun's comment, that's what I do to add a done button to a picker view:
|
Maybe useful for those of you that needs a toolbar above the keyboard