Skip to content

Commit 54b83cd

Browse files
committed
Update changes
1 parent 1be0dd8 commit 54b83cd

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

CHANGELOG.md

+20
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
# Changelog
22

3+
## 0.4.0
4+
5+
### Changed
6+
7+
* Replaced `FirstResponderStateChangeHandler` typealias with a real type that
8+
wraps a change handler closure.
9+
* Replaced `FirstResponderState` with a single boolean value to represent the
10+
first responder state.
11+
12+
### Added
13+
14+
* The ability to easily update external state when the first responder state
15+
changes using `FirstResponderStateChangeHandler.updates($someBinding)`.
16+
* Easily animate first responder state changes using the `.animation()` modifier
17+
on `FirstResponderStateChangeHandler`
18+
* `FirstResponderStateChangeHandler` can also be given closures for custom
19+
control over whether or not the text field should become or resign first
20+
responder, hooking into the `shouldBeginEditing` and `shouldEndEditing`
21+
delegate methods.
22+
323
## 0.3.0
424

525
### Added

0 commit comments

Comments
 (0)