Closed Supereg closed 8 months ago
Merging #89 (c408115) into main (3c0a44e) will decrease coverage by
0.82%
. The diff coverage is60.61%
.
@PSchmiedmayer feel free to merge, once reviewed. Diff coverage is of due to the error state handling having high impact on the overall little diff
Introduce EnvironmentAccessible
:recycle: Current situation & Problem
As of right now, it is not easy to access a Component directly within your SwiftUI views. This approach is, e.g., used within SpeziStorage to make its API easy accessible. We introduce the
EnvironmentAccessible
protocol that allows a Module to be accessed from the environment just like anObservable
. Further, we optimized@Modifier
and@Model
to allow for later initialization.:gear: Release Notes
EnvironmentAccessible
protocol.@Modifier
and@Model
.:books: Documentation
:white_check_mark: Testing
New functionality was tested.
:pencil: Code of Conduct & Contributing Guidelines
By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines: