Skip to content

v3.3.2

Choose a tag to compare

@oscbyspro oscbyspro released this 02 Apr 07:11
· 542 commits to main since this release

Reworked the effect of .equals(_:) as described by #78

DiffableTextField now discards new styles when equal.

  • the behavior without .equals(_:) is unchanged
  • poor use of .equals(_:) can no longer result in an invalid state
  • .equals(_:) can now be used to determine when the view’s style is updated

Example: .equals(())

The first style is accepted, while subsequent styles are discarded without comparison.

Example: .equals(proxy)

The first style is accepted, while subsequent styles are discarded unless the their proxies are dissimilar.