StanfordSpezi / SpeziOnboarding

Spezi Onboarding module to inform a user or retrieve consent for a study participation
https://swiftpackageindex.com/StanfordSpezi/SpeziOnboarding/documentation/
MIT License
11 stars 5 forks source link

Compatibility with macOS #39

Closed philippzagar closed 4 months ago

philippzagar commented 4 months ago

Compatibility with macOS

:recycle: Current situation & Problem

As of now, SpeziOnboarding does support the iOS and visionOS platforms, but not macOS natively.

:gear: Release Notes

:books: Documentation

Added proper docs

:white_check_mark: Testing

Ensure passing of test cases on macOS and all other existing platforms

:pencil: Code of Conduct & Contributing Guidelines

By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines:

codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 79.66805% with 49 lines in your changes are missing coverage. Please review.

Project coverage is 76.75%. Comparing base (91463ae) to head (ed760be).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/StanfordSpezi/SpeziOnboarding/pull/39/graphs/tree.svg?width=650&height=150&src=pr&token=tVwIFVPdJG&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi)](https://app.codecov.io/gh/StanfordSpezi/SpeziOnboarding/pull/39?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi) ```diff @@ Coverage Diff @@ ## main #39 +/- ## ========================================== - Coverage 78.31% 76.75% -1.56% ========================================== Files 21 22 +1 Lines 1028 1148 +120 ========================================== + Hits 805 881 +76 - Misses 223 267 +44 ``` | [Files](https://app.codecov.io/gh/StanfordSpezi/SpeziOnboarding/pull/39?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi) | Coverage Δ | | |---|---|---| | [...ources/SpeziOnboarding/OnboardingConsentView.swift](https://app.codecov.io/gh/StanfordSpezi/SpeziOnboarding/pull/39?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi#diff-U291cmNlcy9TcGV6aU9uYm9hcmRpbmcvT25ib2FyZGluZ0NvbnNlbnRWaWV3LnN3aWZ0) | `91.20% <100.00%> (+1.78%)` | :arrow_up: | | [...ces/SpeziOnboarding/SequentialOnboardingView.swift](https://app.codecov.io/gh/StanfordSpezi/SpeziOnboarding/pull/39?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi#diff-U291cmNlcy9TcGV6aU9uYm9hcmRpbmcvU2VxdWVudGlhbE9uYm9hcmRpbmdWaWV3LnN3aWZ0) | `70.38% <100.00%> (+0.91%)` | :arrow_up: | | [...nboarding/ConsentView/ConsentDocument+Export.swift](https://app.codecov.io/gh/StanfordSpezi/SpeziOnboarding/pull/39?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi#diff-U291cmNlcy9TcGV6aU9uYm9hcmRpbmcvQ29uc2VudFZpZXcvQ29uc2VudERvY3VtZW50K0V4cG9ydC5zd2lmdA==) | `98.06% <98.06%> (ø)` | | | [...rces/SpeziOnboarding/SignatureViewBackground.swift](https://app.codecov.io/gh/StanfordSpezi/SpeziOnboarding/pull/39?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi#diff-U291cmNlcy9TcGV6aU9uYm9hcmRpbmcvU2lnbmF0dXJlVmlld0JhY2tncm91bmQuc3dpZnQ=) | `86.49% <44.45%> (-13.51%)` | :arrow_down: | | [.../SpeziOnboarding/ConsentView/ConsentDocument.swift](https://app.codecov.io/gh/StanfordSpezi/SpeziOnboarding/pull/39?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi#diff-U291cmNlcy9TcGV6aU9uYm9hcmRpbmcvQ29uc2VudFZpZXcvQ29uc2VudERvY3VtZW50LnN3aWZ0) | `80.99% <82.46%> (-8.01%)` | :arrow_down: | | [...ConsentView/OnboardingConsentView+ShareSheet.swift](https://app.codecov.io/gh/StanfordSpezi/SpeziOnboarding/pull/39?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi#diff-U291cmNlcy9TcGV6aU9uYm9hcmRpbmcvQ29uc2VudFZpZXcvT25ib2FyZGluZ0NvbnNlbnRWaWV3K1NoYXJlU2hlZXQuc3dpZnQ=) | `56.25% <6.67%> (-43.75%)` | :arrow_down: | | [Sources/SpeziOnboarding/SignatureView.swift](https://app.codecov.io/gh/StanfordSpezi/SpeziOnboarding/pull/39?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi#diff-U291cmNlcy9TcGV6aU9uYm9hcmRpbmcvU2lnbmF0dXJlVmlldy5zd2lmdA==) | `68.50% <35.72%> (-20.63%)` | :arrow_down: | ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/StanfordSpezi/SpeziOnboarding/pull/39?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/StanfordSpezi/SpeziOnboarding/pull/39?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi). Last update [91463ae...ed760be](https://app.codecov.io/gh/StanfordSpezi/SpeziOnboarding/pull/39?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=StanfordSpezi).