Skip to content
This repository has been archived by the owner on Mar 7, 2021. It is now read-only.

Releases: 3lvis/Form

Transfer from hyperoslo to 3lvis

22 Aug 08:19
04fd458
Compare
Choose a tag to compare
3.15.0

Update Form.podspec

Form — 3.14.0

17 Apr 20:22
533ca2f
Compare
Choose a tag to compare

Form — 3.13.0

11 Feb 07:47
Compare
Choose a tag to compare
  • Remove Hex dependency
    Now is included in Form, so you might need to remove the import 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

19 Oct 20:06
Compare
Choose a tag to compare
  • Remove UIButton-ANDYHighlighted dependency (#548)

Form — 3.12.0

18 Oct 21:44
Compare
Choose a tag to compare

This release wouldn't be possible without the help of the fantastic @jeffleeismyhero.

Segmented Control / Switch Field https://github.com/hyperoslo/Form/pull/544

screen shot 2016-10-10 at 3 56 35 pm

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

05 Sep 22:15
Compare
Choose a tag to compare

Form — 3.10.1

24 May 21:12
Compare
Choose a tag to compare

Form — 3.10.0

22 Apr 19:15
Compare
Choose a tag to compare
  • Added support for placeholders, just add the required placeholder to your JSON field.

giphy

Form — 3.9.0

11 Jan 23:48
Compare
Choose a tag to compare
  • 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

01 Jan 17:41
Compare
Choose a tag to compare
  • 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;
  • Improve setting selected text range #488
  • Made separators hidden by default, super helpful when working with custom fields. #496