Releases: GeorgeElsham/ViewExtractor
Releases · GeorgeElsham/ViewExtractor
Rewrite using variadic view
See README for new examples and API usage.
- Major API change
- New internals and new public API
- No longer relies on reflection (less edge cases)
- Can now create "multi" views (modifiers will apply to all containing views)
Lazily get view by index
You can now lazily get a view, based on its index in a ForEach
.
Bug also fixed where conditional views were always creating a view.
ForEach produces multiple views
ForEach
now creates multiple views, rather than just one. ViewExtractor
also now ignores EmptyView
by default, so no need to check for that anymore.
Most importantly, remember to use both initializers, otherwise the ForEach
may only appear to be a single view! If a ForEach
creating multiple views is undesired, wrap it in a Group
.
Updated README
1.0.3 Added note about when creating empty views.
Updated README example for 0 or 1 view
This version updates the README to show how to support initializing with 0 or 1 view. Zero views will create an EmptyView
.
Installation instructions
Installation instructions now included.
Initial release
First release of ViewExtractor
.