Skip to content

Commit

Permalink
Update changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeredpath committed Mar 16, 2021
1 parent 1be0dd8 commit 54b83cd
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Changelog

## 0.4.0

### Changed

* Replaced `FirstResponderStateChangeHandler` typealias with a real type that
wraps a change handler closure.
* Replaced `FirstResponderState` with a single boolean value to represent the
first responder state.

### Added

* The ability to easily update external state when the first responder state
changes using `FirstResponderStateChangeHandler.updates($someBinding)`.
* Easily animate first responder state changes using the `.animation()` modifier
on `FirstResponderStateChangeHandler`
* `FirstResponderStateChangeHandler` can also be given closures for custom
control over whether or not the text field should become or resign first
responder, hooking into the `shouldBeginEditing` and `shouldEndEditing`
delegate methods.

## 0.3.0

### Added
Expand Down

0 comments on commit 54b83cd

Please sign in to comment.