Coder Social home page Coder Social logo

mysforms's People

Contributors

amozoss avatar atomkirk avatar bryan1anderson avatar thebarndog avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mysforms's Issues

Trying to create a dynamic height uitextviewcell

Hi, we are trying to implement a cell with a textview that sizes itself to the size of the text in the textview.
However, when we call formElement valueDidChange the cell gets reloaded and textview looses keyboard focus.
So we can't call formElement valueDidChange from the UITextView's textViewDidChange delegate method to resize the cell when entering text.

Do you have any tips to accomplish a self sizing cell with a textview?

We've tried stuff like http://stackoverflow.com/questions/25895311/uicollectionview-self-sizing-cells-with-auto-layout but this is something that doesn't seem to run well with MYSForms...

Feature request - PickerView close/collapse on tap

Hi there, please implement a possibility to easily "close/collapse" an picker element when selecting another picker element or even click anywhere else in the view.

Because currently when selecting "one" picker element and it's shown, and then select a "second" picker element, both are left open/visible and this takes much of screen size.

Having normal pickerelement at the bottom (actionsheet) instead inline ?

Hi there again, i've one more question, is it possible to have the pickerelement displayed normally at the bottom instead of inline?

also when assigning the PresenceValidation to a pickerelement, it's not validating when selected ?

pickerField.addFormValidation(MYSFormPresenceValidation())

it's then always not valid even when selected a value from the picker.?

Thanks much for feedback and best regards,
Chris

receive Notifications on Form updates?

Hi there, i really like your MYSForms and i started using it in a project but now i have a question. :)
Is there any possibility to easily receive notifications when any form values changed?
So like that the form always gets submitted automatically with any value changes?

Thanks much for feedback and best regards,
Christian

Can't set custom cellClass

It seems that setting a custom cellClass fails because it's readOnly.

var usernameField = MYSFormTextFieldElement(label: "User ID", modelKeyPath: "username")
usernameField.cellClass = FormTextFieldCell.self

gives me "Cannot assign to 'cellClass' in 'usernameField'"

Or am I doing it wrong in swift?

Edit: I see now that I was using tag 0.0.2...
Problem was fixed by modifying my Podfile to read:
pod 'MYSForms', :git => 'https://github.com/mysterioustrousers/MYSForms.git'

So, the problem will be fixed after creating a tag of the new functionality. For now, I'll be using the master branch....

"Cannot assign to theme in self" error

Hi there,

since i updated with your last changes to the theming i now get an error when instantiate a theme:

// set a form-wide theme
self.theme = MYSFormTheme()

This drops me an error of: "Cannot assign to theme in self"

Does it mean i should not do this anymore and instead directly assign values to self.theme?

Also now if i leave it out and only directly changing the values from self.theme they seem to be not covered completely? For example i set background color to white but the whole background is now light gray or so.? Or did you change the backgroundColor now?

I need it to be complete white.

I've also attached your example. There's also not the white background anymore...
bildschirmfoto 2015-03-15 um 10 52 26

Thanks much for help and best regards,
Chris

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.