The most flexible and powerful way to build a form on iOS
import Hex
and things would just work.This release wouldn't be possible without the help of the fantastic @jeffleeismyhero.
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
}
}
]
}
]
}
]
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.
[FORMLayout fieldsAtSection:] (FORMLayout.m:222)
⚠️ ?backgroundColor
first. [Issue here.](https://github.com/3lvis/UIButton-ANDYHighlighted/issues/3 thanks @LightMan!)placeholder
to your JSON field.:tada: Thanks to @RyanKim01 for this contribution :tada:
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;