Releases: crelies/AdvancedList
Releases · crelies/AdvancedList
APIs similar to SwiftUI List & Custom content view API
No breaking changes
But because of a refactoring under the hood I decided to make a new major release.
Features
- New APIs which mimic some SwiftUI List APIs
- More freedom & control through the new custom content view API (checkout the Content example):
Allows using ANY view you want as the list view: use a SwiftUI List or a custom view
More
- Added example app (was previously maintained in a separate git repository)
Cleanup
Custom List View
Features
- Replace the SwiftUI List used under the hood with a custom list view, for example a LazyVStack (take a look at the README)
Swift 5.3, Pagination modifier, Improvements & Refactoring
Swift 5.3
Make use of some enhancements made in Swift 5.3
, like the ones made to function builders.
Pagination modifier 🚀
The pagination functionality feels now more like native
SwiftUI
. Easily add pagination support to your AdvancedList
with the new .pagination
modifier. Don't forget to read the migration section in the README
.
Improvements & Refactoring
- Say hello to code documentation 😀
- Removed unnecessary self
- Use
@ViewBuilder
instead ofGroup
- Improved code indentation
Improvements to underlying implementation
4.0.1
Changes
- Got rid off
AnyView
s andswitch
statement inAdvancedList
view implementation - Uses the
Group
view withif
statements and amap
now