Survey: Simple iOS Forms library

by wesson 10/16/2012, 2:17 PMwith 12 comments

by jrnkntlon 10/16/2012, 3:15 PM

Nice work!

Some other iOS forms libs:

- QuickDialog / https://github.com/escoz/quickdialog

- ELCTextFieldCell / https://github.com/elc/ELCTextFieldCell

- IBAForms / https://github.com/ittybittydude/IBAForms

- FormKit.m / https://github.com/brunow/FormKit.m

I suggest you submit it to http://www.cocoacontrols.com/controls/new as well.

by pretzon 10/16/2012, 3:16 PM

This looks well designed and useful, but whenever I see a new project like this my first question is "What makes this different?"

There are a number of existing form libraries for iOS* that have been around for a while at differing levels of complexity. Could you give a brief summary of why you wrote a new library instead of using one of the existing ones? Putting an explanation like that in the readme would be a great way to explain why you did all this work.

*: https://github.com/chrismiles/EZForm https://github.com/escoz/QuickDialog https://github.com/ittybittydude/IBAForms

by sjmon 10/16/2012, 2:58 PM

This is cool :) I've actually created something similar for a work-related project, but it's specifically based off Core Data entities and uses QuickDialog for creating and managing the elements (so supporting all the Core Data attribute types is easy, and you get the benefit of the QuickDialog style provider/skinning support). For customisation and validation I use Core Data's user info on properties, which means it's easy to create fully-fledged forms with all attribute types and entity relationship types, predicates, and lots of other little things I've needed with basically zero coding.

It's kind of turned into a DSL specified within the Core Data model editor, but with the nature of the project it was for it's saved me a lot of time. I'd love to open-source it if there was interest, but I'd have to look into the logistics :)

by doe88on 10/16/2012, 2:47 PM

A screenshot of the included example http://i.imgur.com/hJHYq.png

by MaxGabrielon 10/16/2012, 4:40 PM

Cool! What about supporting some sort of visual indicator for invalid fields?

by omnibobbleon 10/16/2012, 2:35 PM

Really cool but it would benefit from a nice demo page.

by tommyson 10/16/2012, 2:38 PM

not so cool in only supporting text fields...