Releases: ThasianX/ElegantPages
Releases · ThasianX/ElegantPages
Lowered swift tools version!
Fixed page callback being called at page view creation
1.4.1 fixed bug where the page callbacks would be called when the page view…
More elegant syntax!
ElegantList
datasource is now a closure called viewForPage
that needs to be provided everytime an ElegantList
component is initialized.
ElegantPages
delegate is now an optional function called onPageChanged((Int)->Void)
that is chained to the view declaration.
Width or height of `ElegantList` can now be customized!
You can easily do so by just attaching a .frame(width:)
or .frame(height:)
modifier to your ElegantVList
or ElegantHList
.
Hotfix for scrolling to last page
1.2.2 fixed logic when scrolling to last page
Hotfix for reloading pages
Made an error in logic before for reloading pages. Fixed that so it works fine now.
You can now reload pages!
This pertains only to the ElegantList
component. This works exactly like reloadData
from UITableView
You can now choose to not animate scrolls!
1.1.0 Added customization for animating scroll and updated the examples
Paging works with nested gestures now!
1.0.1 fixed bug where nested simultaneous drag gestures or list/scrollview …
Initial Release
1.0.0 reference gif