Releases: chris-swift-dev/AdvancedList
Releases · chris-swift-dev/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
Improvements
- Breaking Change in Initializer: Replaced unnecessary
Bindingparameter with a simple value parameter
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
@ViewBuilderinstead ofGroup - Improved code indentation
Improvements to underlying implementation
4.0.1
Changes
- Got rid off
AnyViews andswitchstatement inAdvancedListview implementation - Uses the
Groupview withifstatements and amapnow