0.1.2
This release closes the 0.1.2 milestone.
Breaking
-
Removed
TableSectionViewModel.collapsed
(#121, @jessesquires) -
Removed undocumented initializers for
CollectionSectionViewModel
(the ones that receivedheaderHeight:
and/orfooterHeight:
) (#123, @jessesquires) -
CollectionViewDriver.automaticDiffingEnabled
is no longer public (#125, @jessesquires)
Fixed
-
Fixed a crash in diffing when transitioning to or from empty/nil states (#125, @jessesquires)
-
Fixed incorrect calculation for
TableViewModel.isEmpty
. It now correctly returns true only if all sections returntrue
forisEmpty
. (#123, @jessesquires)
New
-
Added
CollectionSectionViewModel.isEmpty
property (#123, @jessesquires) -
Added
CollectionViewModel.isEmpty
property (#123, @jessesquires)
Changed
-
Section and cell view models are now diffable by default. (#119, @jessesquires)
Each provide default values fordiffingKey
, but you can customize them for your own needs or opt-out of automatic diffing.CollectionSectionViewModel
protocol now inherits fromDiffableViewModel
protocolCollectionCellViewModel
protocol now inherits fromDiffableViewModel
protocolTableSectionViewModel
protocol now inherits fromDiffableViewModel
protocolTableCellViewModel
protocol now inherits fromDiffableViewModel
protocol
-
CollectionViewDriver.automaticDiffingEnabled
was reverted to befalse
by default (#125, @jessesquires)
⚠️ Known issues ⚠️
- Automatic diffing for collection views with multiple sections currently fails (crashes) and possibly won't work in other scenarios. (Thus, the reason why auto-diffing is now
false
forCollectionViewDriver
.) This will be fixed in the next release. Tracking at #126.