- Contributions by Benoit Deldicque. Thank you. Add default table view style to inset grouped starting iOS 14.
- 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
CustomizableLabels
toCustomizableLabel
, so it's consistent with the newCustomizableButton
protocol. - Fixed broken PrecisionSliderFormItem. With iOS14 Apple have changed the view hierarchy inside UITableView.
- Example app: Renamed from
WorkInProgressViewController
toLabViewController
.
- 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
simple
style, 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
CustomizableDetailLabel
andCustomizableTitleLabel
, 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 = true
and uses the layoutMargin left/right for computing the frames. - DatePickerFormItem.minuteInterval added.
- Simplified specification pattern. In the future the
CompositeSpecification
class will be removed. Instead of subclassingCompositeSpecification
one must instead subclassSpecification
. - Simplified the
CharacterSetSpecification
factory functions. In the future theCharacterSetSpecification
the oldschool factory functions will be removed. - Fixed crash in the
Sign Up
example code. Tapping the "Export to JSON" button always crashed. The problem was introduced in theDumpVisitor
class when the project got migrated from Xcode7 to Xcode8. - Wrote documentation for the files in
Source/Util
andSource/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. TheFormItem
can still be subclassed, since it's the base class for all form items. - Breaking: Enabled "Self Sizing Cells" in
FormTableView
- Added
FormBuilder.suppressHeaderForFirstSection
that hides the first header in the tableview
- Added
PickerViewFormItem
that makes it possible to use inlineUIPickerView
. - Added
PickerViewViewController
that 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
PrecisionSlider
now implementsUIResponder
. If you setcollapseWhenResigning=true
then the slider will collapse when another control becomes first responder. - Bumped up the minimum version of iOS to
9.0
. - Added
DatePickerBindingViewController
example. - Added
SlidersAndTextFieldsViewController
example.
- The
PrecisionSlider
can 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
PrecisionSlider
can now be zoomed in/out, by pinching with 2 fingers. - The
PrecisionSlider
can now be x10 zoomed in by double tapping with 1 finger. - The
PrecisionSlider
can now be x10 zoomed out by double tapping with 2 fingers. - Support for Carthage.
- Added
PrecisionSliderFormItem
andPrecisionSliderCell
.
- Added
AttributedTextFormItem
andAttributedTextCell
.
- Added
SegmentedControlFormItem
andSegmentedControlCell
, - Added
SegmentedControlsViewController
example.
- Support for CocoaPods.
FormTableView
now withestimatedRowHeight
TableViewSection
now withUITableViewAutomaticDimension
- Upgrade to Xcode7.3.1 (7D1014)
StaticTextFormItem
can now sync itsvalue
with the cell.- Upgrade to Xcode7.3 (7D175)