how can i insert 2 or more uitextfields in blocktextpromptalertview?!
Another very nice consequence of this library is that is implemented as a simple UIView with labels and buttons. So it's very easy to modify the behavior and add stuff. Check out the source code. And if you manage to do this, please do a pull request so I can add this back to the main repo.
I've implemented this, but fixed to 2 UITextFields on screen, more then that could not fit the screen depending on the size of the text. Could be useful? If so I'll send a pull request.
I depends on how you've implemented this. Send the pull request so I can decide. Thanks again.
I'm going make some refactories too, adding a class to represent a UITextField configuration, giving the opportunity to extend the UITextField behavior. How about?
Love to see this. Have at it!
May I broke back compatibility? The BlockTextPromptAlertView constructors may receive a new parameter: BlockTextPromptAlertView having all the configs to extend the default behavior of a UITextField..
I would not like that. Isn't there another way? Maybe using a property instead of a parameter in the constructor?
I'm going to close this as it's a year old and I (nor any of the other contributors, to my knowledge) have no plans to add a second text block as of this writing.
The code has been refactored to make these changes much easier if desired (subclass inits and "addComponents" and probably modify the block for shouldDismiss).
If anyone implements this subclass (and preferably adds a sub-podspec for it :P) send a pull request.
How can i access this shouldismiss property in my class.
What is the use of shoulddismiss?