Releases: 3lvis/Form
Transfer from hyperoslo to 3lvis
Form — 3.14.0
- Hidden field order https://github.com/hyperoslo/Form/pull/571
(Fixes https://github.com/hyperoslo/Form/issues/585)
Form — 3.13.0
- Remove Hex dependency
Now is included in Form, so you might need to remove theimport Hex
and things would just work. - Highlight disabled text field if it is not valid (#550)
- Fix iPad popovers (#551)
- Add support for Toggle (UISwitch) fields (#555)
- Remove abort() call to prevent crash on select clear (#553)
- Copy layout attributes before mutating (#562)
- Disable collectionView bounces to prevent NSRangeException (#560)
Form — 3.12.1
- Remove UIButton-ANDYHighlighted dependency (#548)
Form — 3.12.0
This release wouldn't be possible without the help of the fantastic @jeffleeismyhero.
Segmented Control / Switch Field https://github.com/hyperoslo/Form/pull/544
This adds the functionality requested in the Feature Request Issue #536. It might also work for the functionality requested in issues #474 and #476.
Field type: segment
Values: This field takes values in the same format as select fields.
Example JSON
[
{
"id": "group",
"title": "Group",
"sections": [
{
"id": "section",
"fields": [
{
"id": "segment",
"title": "Location",
"type": "segment",
"values":[
{
"id":"in_house",
"title":"In-house",
"default":true
},
{
"id":"remote",
"title":"Remote"
}
],
"size": {
"width": 40,
"height": 1
}
}
]
}
]
}
]
Support for Accessibility Labels https://github.com/hyperoslo/Form/pull/542
Accessibility labels are used by VoiceOver on iOS to provide feedback to users with visual impairments. According to Apple, the accessibility label attribute is "a short, localized word or phrase that succinctly describes the control or view, but does not identify the element's type. Examples are 'Add' or 'Play.'"
Field values are automatically mapped to Accessibility Value attributes to provide accurate feedback to users.
In addition to providing assistive feedback to users with impairments, accessibility labels can be useful for UI testing. Libraries such as KIF, EarlGrey, and Calabash can use accessibility labels to access and control fields.
Attribute Name: accessibility_label
Applies To: Text type fields
Usage
{
"id":"first_name",
"title":"First name",
"accessibility_label":"First Name Accessibility Label",
"type":"text",
"size":{
"width":30,
"height":1
}
}
The field's title
attribute will be used for the accessibility label in the event one is not provided.
Fixes a crash [FORMLayout fieldsAtSection:] (FORMLayout.m:222)
⚠️ 🐛
Form — 3.11.0
- Use field type for keyboard type https://github.com/hyperoslo/Form/pull/528
- Add support for spacer fields https://github.com/hyperoslo/Form/pull/534
- Improve iPhone support https://github.com/hyperoslo/Form/pull/479
Form — 3.10.1
- Use decimal separator based on locale https://github.com/hyperoslo/Form/pull/521 by @aminiz !!!
- Fix issue with UIButton-ANDYHighlighted where it didn't set the highlighted background color if you didn't set a
backgroundColor
first. [Issue here.](Foreverland/UIButton-ANDYHighlighted#3 thanks @LightMan!)
Form — 3.10.0
Form — 3.9.0
- Field value popover now features autoresizable cells. You don't need to do anything to get this working. #503
🎉 Thanks to @RyanKim01 for this contribution 🎉
Form — 3.8.0
- Exposed a few methods for handling collapsible groups on
FORMDataSource
. #485
// Collapse group with group id
// @param group A group id
- (void)collapseGroup:(NSInteger)group;
// @discussion Check if group is collapsed
// @param group A group id
- (BOOL)groupIsCollapsed:(NSInteger)group;