Swiftpack.co - Swift Packages by GeorgeElsham

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.

Packages published by GeorgeElsham

GeorgeElsham/ViewExtractor 2.0.0
Extract SwiftUI views from ViewBuilder content.
⭐️ 110
🕓 1 year ago
🔖 Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
Rewrite using variadic view
1 year ago
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
2 years ago
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
2 years ago
`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
2 years ago
Updated README example for 0 or 1 view
2 years ago
This version updates the README to show how to support initializing with 0 or 1 view. Zero views will create an `EmptyView`.
Installation instructions
2 years ago
Installation instructions now included.
Initial release
3 years ago
First release of `ViewExtractor`.
iOS macOS watchOS tvOS
GeorgeElsham/HidingViews 1.1.2
Custom ViewModifier: `.isHidden(_:)` - Easily hide Views, controlled by a boolean. https://stackoverflow.com/a/59228385/9607863
⭐️ 40
🕓 30 weeks ago
🔖 Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
Add license
30 weeks ago
## What's Changed * Added LICENSE.txt by @KyLeggiero in https://github.com/GeorgeElsham/HidingViews/pull/7 **Full Changelog**: https://github.com/GeorgeElsham/HidingViews/compare/1.1.0...1.1.2
Clearer documentation
3 years ago
This release provides clearer documentation over `1.1.0`.
Using ViewBuilder
3 years ago
Replaced the `ViewModifier` extension which was unnecessary, and also now use `@ViewBuilder` to avoid `Group`.
3 years ago
iOS macOS watchOS tvOS

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics