New architecture and easier customisation of cell dimensions
The 2.0.0 release brings in a new class architecture, a TextView based input, mechanisms for cell customisation and bug fixes:
- class architecture refactoring 87d7230
BPFormInfoCellno longer subclassesBPFormCell, butUITableViewCellBPFormCellProtocolcontains all the methods for a cell that is member of aBPFormViewControllertable. At this point, implemented byBPFormCellandBPFormInfoCellBPFormInputCellbecame an abstract class, with usable subclassesBPFormInputTextFieldClassandBPFormInputTextViewClass- renamed
BPFormFloatLabelInputCelltoBPFormFloatInputTextFieldCell(subclass ofBPFormInputTextFieldCell) - renamed
BPFormMultiLineFloatLabelInputCelltoBPFormFloatInputTextViewCell(subclass ofBPFormInputTextViewCell)
- cell dimensions customization: easy to achieve using
customCellHeight,spaceToNextCell,customContentHeight,customContentWidth - Moved validation icon outside the text input control (textfield, textview) c4f7bba
- Added keyboard mode to help with using the form view controller in a UIPopover with auto layout #2 thanks @snown
- fixed keyboard disappear table view animation 499177a 4c95725
- updated input cell validation, for optional cells, so that they aren't validated if empty 8a88078
- Renamed
BPTextFieldValidateBlockWithPatternAndMessagetoBPValidateBlockWithPatternAndMessage85eb9d3