- Contributions by Luca Pizzini. Thank you. The background color is now customizable for buttons. Extended the README with guidance for how to install SwiftyFORM manually.
- Renamed from
CustomizableLabelstoCustomizableLabel, so it's consistent with the newCustomizableButtonprotocol. - Fixed broken PrecisionSliderFormItem. With iOS14 Apple have changed the view hierarchy inside UITableView.
- Example app: Renamed from
WorkInProgressViewControllertoLabViewController.
- Contributions by IOS-Sisa. Thank you. Fixed broken date picker. Since iOS 13.4 the UIDatePicker has a .preferredDatePickerStyle that must be set to .wheels, in order for expanded date pickers to work.
- Contributions by Bradley Mackey. Thank you. Support for UITableViewStyle.insetGrouped, which Apple introduced in iOS13.
- Contributions by Asaf Baibekov. Thank you. Neat simplifications and cleanups several places.
- RegularExpressionSpecification: Fixed crash with utf8/utf16 length mismatch. Special characters could crash the app.
- Contributions by Bradley Mackey. Thank you.
The PrecisionSliders have so far always had a pinch to zoom gesture.
Bradley have added a
simplestyle, where pinch is disabled.
- Contributions by Bradley Mackey. Thank you.
- TextFieldCell/TextViewCell improvements. Better layout inside the safe area (iPhone X+). More robust handling of orientation change.
- Extracted
CustomizableDetailLabelandCustomizableTitleLabel, for getter/setter functions shared across similar classes.
- Dark mode support and much more. Contributed by Bradley Mackey. Thank you.
- Upgraded from Xcode10.x to Xcode11.0
- Upgraded from Swift4.2 to Swift5
- Deleted "develop" branch.
- Upgraded from Xcode9.x to Xcode10.0
- Upgraded from Swift4 to Swift4.2
- Upgraded from Xcode9.0 to Xcode9.2
- Upgraded from Swift3 to Swift4
- Xcode9 preparations. Now compiles with Xcode9beta6.
- Swiftlint
- Upgraded from Xcode8.2.1 to Xcode8.3.1
- Classes derived from FormViewController can now be used inside storyboards. Added 'SettingsViewController' that demonstrates this. FormViewController.init(coder aDecoder: NSCoder) have until now invoked super.init(nibName: nil, bundle: nil) so it has never worked inside a storyboard. FormViewController now instead implements init?(coder aDecoder: NSCoder) so it can invoke super.init(coder: aDecoder).
- FormViewController.reloadForm() added.
- iPad: cells now adheres to
cellLayoutMarginsFollowReadableWidth = trueand uses the layoutMargin left/right for computing the frames. - DatePickerFormItem.minuteInterval added.
- Simplified specification pattern. In the future the
CompositeSpecificationclass will be removed. Instead of subclassingCompositeSpecificationone must instead subclassSpecification. - Simplified the
CharacterSetSpecificationfactory functions. In the future theCharacterSetSpecificationthe oldschool factory functions will be removed. - Fixed crash in the
Sign Upexample code. Tapping the "Export to JSON" button always crashed. The problem was introduced in theDumpVisitorclass when the project got migrated from Xcode7 to Xcode8. - Wrote documentation for the files in
Source/UtilandSource/Specification. - Upgraded from Xcode 8.0 to Xcode 8.1
- Fixed crash: When using a custom view for the section header and providing a height less than 10 pixels could cause expand/collapse to crash.
- Longer section header titles affects expand/collapse animations. Here it's better to use a custom view as section header.
- Imported specification pattern unittests
- Enabled Travis CI.
- Fixed podfile
- Major breaking changes, thus I'm incrementing version number from 0.x.x to 1.x.x
- Breaking: Upgraded from Swift 2.3 to Swift 3
- Breaking: Upgraded from Xcode 7.3.1 to Xcode 8.0
- Breaking:
CellHeightProvider.form_cellHeight()now requires the name of the first parameter - Breaking:
CellForRowDelegate.form_cellForRow()now requires the name of the first parameter - Breaking:
SelectOptionDelegate.form_willSelectOption()now requires the name of the first parameter - Breaking:
SelectRowDelegate.form_didSelectRow()now requires the name of the first parameter - Breaking:
WillDisplayCellDelegate.form_willDisplay()now requires the name of the first parameter - Breaking: Leaf classes can no longer be subclassed, such as
AttributedTextFormItem,ButtonFormItem,CustomFormItem,DatePickerFormItem, etc. These were subclassable. TheFormItemcan still be subclassed, since it's the base class for all form items. - Breaking: Enabled "Self Sizing Cells" in
FormTableView - Added
FormBuilder.suppressHeaderForFirstSectionthat hides the first header in the tableview
- Added
PickerViewFormItemthat makes it possible to use inlineUIPickerView. - Added
PickerViewViewControllerthat shows how to use thePickerViewFormItem. - Sorted visitor functions alphabetically.
- Added more examples to the
readme
- Date pickers are now inline. Previous the date pickers was iOS6 style and shown at the bottom of the screen. It felt old. (#8)
- The
PrecisionSlidernow implementsUIResponder. If you setcollapseWhenResigning=truethen the slider will collapse when another control becomes first responder. - Bumped up the minimum version of iOS to
9.0. - Added
DatePickerBindingViewControllerexample. - Added
SlidersAndTextFieldsViewControllerexample.
- The
PrecisionSlidercan now sync its zoom level. This could make it possible to store the zoom level inNSUserDefaults. - After expand/collapse the cell could end up out side the visible area. Now it's scrolled into the visible area.
- The
PrecisionSlidercan now be zoomed in/out, by pinching with 2 fingers. - The
PrecisionSlidercan now be x10 zoomed in by double tapping with 1 finger. - The
PrecisionSlidercan now be x10 zoomed out by double tapping with 2 fingers. - Support for Carthage.
- Added
PrecisionSliderFormItemandPrecisionSliderCell.
- Added
AttributedTextFormItemandAttributedTextCell.
- Added
SegmentedControlFormItemandSegmentedControlCell, - Added
SegmentedControlsViewControllerexample.
- Support for CocoaPods.
FormTableViewnow withestimatedRowHeightTableViewSectionnow withUITableViewAutomaticDimension- Upgrade to Xcode7.3.1 (7D1014)
StaticTextFormItemcan now sync itsvaluewith the cell.- Upgrade to Xcode7.3 (7D175)