From 530e147fde1eb3fa712dd94d9d037d82458dac04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthew=20J=C3=B6rke?= Date: Wed, 24 Jan 2024 09:48:25 -0800 Subject: [PATCH] Rename Project to Prisma (#10) # *Rename Project to Prisma* ## :recycle: Current situation & Problem - The project, app, and repository were all named "Behavior." The project's working name is Prisma ## :gear: Release Notes - Globally replaced all directory names, file names, and occurrences of "Behavior" with "Prisma" ## :books: Documentation *Please ensure that you properly document any additions in conformance to [Spezi Documentation Guide](https://github.com/StanfordSpezi/.github/blob/main/DOCUMENTATIONGUIDE.md).* ## :white_check_mark: Testing *Please ensure that the PR meets the testing requirements set by CodeCov and that new functionality is appropriately tested.* ## :pencil: Code of Conduct & Contributing Guidelines By submitting creating this pull request, you agree to follow our [Code of Conduct](https://github.com/CS342/.github/blob/main/CODE_OF_CONDUCT.md) and [Contributing Guidelines](https://github.com/CS342/.github/blob/main/CONTRIBUTING.md): - [x] I agree to follow the [Code of Conduct](https://github.com/CS342/.github/blob/main/CODE_OF_CONDUCT.md) and [Contributing Guidelines](https://github.com/CS342/.github/blob/main/CONTRIBUTING.md). --------- Co-authored-by: Paul Schmiedmayer --- .firebaserc.license | 2 +- .github/workflows/beta-deployment.yml | 4 +- .github/workflows/build-and-test.yml | 6 +- .gitignore | 8 +- .swiftlint.yml | 2 +- Behavior.xcodeproj/project.pbxproj.license | 6 - .../contents.xcworkspacedata.license | 6 - .../IDEWorkspaceChecks.plist.license | 6 - .../swiftpm/Package.resolved.license | 6 - .../xcschemes/Behavior.xcscheme.license | 6 - Behavior.xctestplan.license | 6 - Behavior/Resources/AppIcon-NoBG.png.license | 6 - Behavior/Resources/AppIcon.png.license | 6 - .../Contents.json.license | 6 - .../AppIcon.appiconset/AppIcon.png.license | 6 - .../AppIcon.appiconset/Contents.json.license | 6 - .../AppIcon-NoBG.png.license | 6 - .../Contents.json.license | 6 - .../Assets.xcassets/Contents.json.license | 6 - Behavior/Resources/ConsentDocument.md.license | 6 - .../Resources/Localizable.xcstrings.license | 6 - .../SocialSupportQuestionnaire.json.license | 6 - .../Resources/afternoon-en-US.json.license | 6 - .../Resources/end-of-day-en-US.json.license | 6 - Behavior/Resources/mid-day-en-US.json.license | 6 - Behavior/Resources/morning-en-US.json.license | 6 - .../Behavior.entitlements.license | 6 - Behavior/Supporting Files/Info.plist.license | 6 - CITATION.cff | 4 +- CONTRIBUTORS.md | 4 +- Gemfile | 2 +- Gemfile.lock.license | 2 +- .../project.pbxproj | 246 +++++++++--------- Prisma.xcodeproj/project.pbxproj.license | 6 + .../contents.xcworkspacedata | 0 .../contents.xcworkspacedata.license | 6 + .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../IDEWorkspaceChecks.plist.license | 6 + .../xcshareddata/swiftpm/Package.resolved | 0 .../swiftpm/Package.resolved.license | 6 + .../xcshareddata/xcschemes/Prisma.xcscheme | 32 +-- .../xcschemes/Prisma.xcscheme.license | 6 + Behavior.xctestplan => Prisma.xctestplan | 12 +- Prisma.xctestplan.license | 6 + .../Account/AccountButton.swift | 2 +- .../Account/AccountSetupHeader.swift | 2 +- .../Account/AccountSheet.swift | 2 +- {Behavior => Prisma}/Chat/ChatView.swift | 2 +- {Behavior => Prisma}/Contacts/Contacts.swift | 4 +- .../Contributions/ContributionsList.swift | 2 +- .../Contributions/Package+LicenseType.swift | 2 +- .../Contributions/PackageCell.swift | 2 +- .../Contributions/PackageHelper.swift | 2 +- .../Helper/Binding+Negate.swift | 2 +- .../Helper/Bundle+Image.swift | 2 +- .../CodableArray+RawRepresentable.swift | 2 +- {Behavior => Prisma}/Home.swift | 10 +- .../MockUpload/MockUpload.swift | 2 +- .../Onboarding/AccountOnboarding.swift | 2 +- .../Onboarding/Features.swift | 2 +- .../Onboarding/HealthKitPermissions.swift | 4 +- .../Onboarding/NotificationPermissions.swift | 6 +- .../Onboarding/OnboardingFlow.swift | 10 +- {Behavior => Prisma}/Onboarding/Welcome.swift | 2 +- .../Behavior.swift => Prisma/Prisma.swift | 6 +- .../PrismaDelegate.swift | 8 +- .../PrismaTestingSetup.swift | 6 +- .../Resources/AppIcon-NoBG.png | Bin Prisma/Resources/AppIcon-NoBG.png.license | 6 + {Behavior => Prisma}/Resources/AppIcon.png | Bin Prisma/Resources/AppIcon.png.license | 6 + .../AccentColor.colorset/Contents.json | 0 .../Contents.json.license | 6 + .../AppIcon.appiconset/AppIcon.png | Bin .../AppIcon.appiconset/AppIcon.png.license | 6 + .../AppIcon.appiconset/Contents.json | 0 .../AppIcon.appiconset/Contents.json.license | 6 + .../AppIconNoBG.appiconset/AppIcon-NoBG.png | Bin .../AppIcon-NoBG.png.license | 6 + .../AppIconNoBG.appiconset/Contents.json | 0 .../Contents.json.license | 6 + .../Resources/Assets.xcassets/Contents.json | 0 .../Assets.xcassets/Contents.json.license | 6 + .../Resources/ConsentDocument.md | 0 Prisma/Resources/ConsentDocument.md.license | 6 + .../Resources/Localizable.xcstrings | 6 +- .../Resources/Localizable.xcstrings.license | 6 + .../SocialSupportQuestionnaire.json.license | 6 + .../Resources/afternoon-en-US.json | 0 Prisma/Resources/afternoon-en-US.json.license | 6 + .../Resources/end-of-day-en-US.json | 0 .../Resources/end-of-day-en-US.json.license | 6 + .../Resources/mid-day-en-US.json | 0 Prisma/Resources/mid-day-en-US.json.license | 6 + .../Resources/morning-en-US.json | 0 Prisma/Resources/morning-en-US.json.license | 6 + .../Schedule/Bundle+Questionnaire.swift | 2 +- .../Schedule/EventContext/EventContext.swift | 4 +- .../EventContext/EventContextCard.swift | 4 +- .../EventContext/EventContextView.swift | 4 +- {Behavior => Prisma}/Schedule/ModalView.swift | 2 +- .../Schedule/PrismaScheduler.swift | 18 +- .../Schedule/PrismaTaskContext.swift | 6 +- .../Schedule/ScheduleView.swift | 8 +- .../SharedContext/FeatureFlags.swift | 4 +- .../SharedContext/StorageKeys.swift | 2 +- {Behavior => Prisma}/Standard/Module.swift | 2 +- .../Standard/PrismaStandard+Extension.swift | 2 +- .../Standard/PrismaStandard+HealthKit.swift | 4 +- .../PrismaStandard+Questionnaire.swift | 4 +- .../Standard/PrismaStandard.swift | 18 +- .../Supporting Files/GoogleService-Info.plist | 0 .../GoogleService-Info.plist.license | 2 +- .../Supporting Files/Info.plist | 0 Prisma/Supporting Files/Info.plist.license | 6 + .../Supporting Files/Prisma.entitlements | 0 .../Prisma.entitlements.license | 6 + .../PrismaTests.swift | 6 +- .../LaunchTests.swift | 2 +- README.md | 6 +- fastlane/.gitignore | 2 +- fastlane/Appfile | 2 +- fastlane/Fastfile | 2 +- fastlane/README.md.license | 2 +- firebase.json.license | 2 +- firebasestorage.rules.license | 2 +- firestore.rules.license | 2 +- 127 files changed, 400 insertions(+), 404 deletions(-) delete mode 100644 Behavior.xcodeproj/project.pbxproj.license delete mode 100644 Behavior.xcodeproj/project.xcworkspace/contents.xcworkspacedata.license delete mode 100644 Behavior.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist.license delete mode 100644 Behavior.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved.license delete mode 100644 Behavior.xcodeproj/xcshareddata/xcschemes/Behavior.xcscheme.license delete mode 100644 Behavior.xctestplan.license delete mode 100644 Behavior/Resources/AppIcon-NoBG.png.license delete mode 100644 Behavior/Resources/AppIcon.png.license delete mode 100644 Behavior/Resources/Assets.xcassets/AccentColor.colorset/Contents.json.license delete mode 100644 Behavior/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon.png.license delete mode 100644 Behavior/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json.license delete mode 100644 Behavior/Resources/Assets.xcassets/AppIconNoBG.appiconset/AppIcon-NoBG.png.license delete mode 100644 Behavior/Resources/Assets.xcassets/AppIconNoBG.appiconset/Contents.json.license delete mode 100644 Behavior/Resources/Assets.xcassets/Contents.json.license delete mode 100644 Behavior/Resources/ConsentDocument.md.license delete mode 100644 Behavior/Resources/Localizable.xcstrings.license delete mode 100644 Behavior/Resources/SocialSupportQuestionnaire.json.license delete mode 100644 Behavior/Resources/afternoon-en-US.json.license delete mode 100644 Behavior/Resources/end-of-day-en-US.json.license delete mode 100644 Behavior/Resources/mid-day-en-US.json.license delete mode 100644 Behavior/Resources/morning-en-US.json.license delete mode 100644 Behavior/Supporting Files/Behavior.entitlements.license delete mode 100644 Behavior/Supporting Files/Info.plist.license rename {Behavior.xcodeproj => Prisma.xcodeproj}/project.pbxproj (86%) create mode 100644 Prisma.xcodeproj/project.pbxproj.license rename {Behavior.xcodeproj => Prisma.xcodeproj}/project.xcworkspace/contents.xcworkspacedata (100%) create mode 100644 Prisma.xcodeproj/project.xcworkspace/contents.xcworkspacedata.license rename {Behavior.xcodeproj => Prisma.xcodeproj}/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (100%) create mode 100644 Prisma.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist.license rename {Behavior.xcodeproj => Prisma.xcodeproj}/project.xcworkspace/xcshareddata/swiftpm/Package.resolved (100%) create mode 100644 Prisma.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved.license rename Behavior.xcodeproj/xcshareddata/xcschemes/Behavior.xcscheme => Prisma.xcodeproj/xcshareddata/xcschemes/Prisma.xcscheme (81%) create mode 100644 Prisma.xcodeproj/xcshareddata/xcschemes/Prisma.xcscheme.license rename Behavior.xctestplan => Prisma.xctestplan (65%) create mode 100644 Prisma.xctestplan.license rename {Behavior => Prisma}/Account/AccountButton.swift (85%) rename {Behavior => Prisma}/Account/AccountSetupHeader.swift (87%) rename {Behavior => Prisma}/Account/AccountSheet.swift (95%) rename {Behavior => Prisma}/Chat/ChatView.swift (87%) rename {Behavior => Prisma}/Contacts/Contacts.swift (95%) rename {Behavior => Prisma}/Contributions/ContributionsList.swift (92%) rename {Behavior => Prisma}/Contributions/Package+LicenseType.swift (96%) rename {Behavior => Prisma}/Contributions/PackageCell.swift (94%) rename {Behavior => Prisma}/Contributions/PackageHelper.swift (82%) rename {Behavior => Prisma}/Helper/Binding+Negate.swift (75%) rename {Behavior => Prisma}/Helper/Bundle+Image.swift (88%) rename {Behavior => Prisma}/Helper/CodableArray+RawRepresentable.swift (84%) rename {Behavior => Prisma}/Home.swift (89%) rename {Behavior => Prisma}/MockUpload/MockUpload.swift (86%) rename {Behavior => Prisma}/Onboarding/AccountOnboarding.swift (93%) rename {Behavior => Prisma}/Onboarding/Features.swift (94%) rename {Behavior => Prisma}/Onboarding/HealthKitPermissions.swift (93%) rename {Behavior => Prisma}/Onboarding/NotificationPermissions.swift (92%) rename {Behavior => Prisma}/Onboarding/OnboardingFlow.swift (84%) rename {Behavior => Prisma}/Onboarding/Welcome.swift (94%) rename Behavior/Behavior.swift => Prisma/Prisma.swift (76%) rename Behavior/BehaviorDelegate.swift => Prisma/PrismaDelegate.swift (92%) rename Behavior/BehaviorTestingSetup.swift => Prisma/PrismaTestingSetup.swift (73%) rename {Behavior => Prisma}/Resources/AppIcon-NoBG.png (100%) create mode 100644 Prisma/Resources/AppIcon-NoBG.png.license rename {Behavior => Prisma}/Resources/AppIcon.png (100%) create mode 100644 Prisma/Resources/AppIcon.png.license rename {Behavior => Prisma}/Resources/Assets.xcassets/AccentColor.colorset/Contents.json (100%) create mode 100644 Prisma/Resources/Assets.xcassets/AccentColor.colorset/Contents.json.license rename {Behavior => Prisma}/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon.png (100%) create mode 100644 Prisma/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon.png.license rename {Behavior => Prisma}/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json (100%) create mode 100644 Prisma/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json.license rename {Behavior => Prisma}/Resources/Assets.xcassets/AppIconNoBG.appiconset/AppIcon-NoBG.png (100%) create mode 100644 Prisma/Resources/Assets.xcassets/AppIconNoBG.appiconset/AppIcon-NoBG.png.license rename {Behavior => Prisma}/Resources/Assets.xcassets/AppIconNoBG.appiconset/Contents.json (100%) create mode 100644 Prisma/Resources/Assets.xcassets/AppIconNoBG.appiconset/Contents.json.license rename {Behavior => Prisma}/Resources/Assets.xcassets/Contents.json (100%) create mode 100644 Prisma/Resources/Assets.xcassets/Contents.json.license rename {Behavior => Prisma}/Resources/ConsentDocument.md (100%) create mode 100644 Prisma/Resources/ConsentDocument.md.license rename {Behavior => Prisma}/Resources/Localizable.xcstrings (98%) create mode 100644 Prisma/Resources/Localizable.xcstrings.license create mode 100644 Prisma/Resources/SocialSupportQuestionnaire.json.license rename {Behavior => Prisma}/Resources/afternoon-en-US.json (100%) create mode 100644 Prisma/Resources/afternoon-en-US.json.license rename {Behavior => Prisma}/Resources/end-of-day-en-US.json (100%) create mode 100644 Prisma/Resources/end-of-day-en-US.json.license rename {Behavior => Prisma}/Resources/mid-day-en-US.json (100%) create mode 100644 Prisma/Resources/mid-day-en-US.json.license rename {Behavior => Prisma}/Resources/morning-en-US.json (100%) create mode 100644 Prisma/Resources/morning-en-US.json.license rename {Behavior => Prisma}/Schedule/Bundle+Questionnaire.swift (85%) rename {Behavior => Prisma}/Schedule/EventContext/EventContext.swift (81%) rename {Behavior => Prisma}/Schedule/EventContext/EventContextCard.swift (91%) rename {Behavior => Prisma}/Schedule/EventContext/EventContextView.swift (96%) rename {Behavior => Prisma}/Schedule/ModalView.swift (88%) rename Behavior/Schedule/BehaviorScheduler.swift => Prisma/Schedule/PrismaScheduler.swift (76%) rename Behavior/Schedule/BehaviorTaskContext.swift => Prisma/Schedule/PrismaTaskContext.swift (80%) rename {Behavior => Prisma}/Schedule/ScheduleView.swift (90%) rename {Behavior => Prisma}/SharedContext/FeatureFlags.swift (89%) rename {Behavior => Prisma}/SharedContext/StorageKeys.swift (84%) rename {Behavior => Prisma}/Standard/Module.swift (83%) rename Behavior/Standard/BehaviorStandard+Extension.swift => Prisma/Standard/PrismaStandard+Extension.swift (89%) rename Behavior/Standard/BehaviorStandard+HealthKit.swift => Prisma/Standard/PrismaStandard+HealthKit.swift (92%) rename Behavior/Standard/BehaviorStandard+Questionnaire.swift => Prisma/Standard/PrismaStandard+Questionnaire.swift (91%) rename Behavior/Standard/BehaviorStandard.swift => Prisma/Standard/PrismaStandard.swift (89%) rename {Behavior => Prisma}/Supporting Files/GoogleService-Info.plist (100%) rename {Behavior => Prisma}/Supporting Files/GoogleService-Info.plist.license (51%) rename {Behavior => Prisma}/Supporting Files/Info.plist (100%) create mode 100644 Prisma/Supporting Files/Info.plist.license rename Behavior/Supporting Files/Behavior.entitlements => Prisma/Supporting Files/Prisma.entitlements (100%) create mode 100644 Prisma/Supporting Files/Prisma.entitlements.license rename BehaviorTests/BehaviorTests.swift => PrismaTests/PrismaTests.swift (50%) rename {BehaviorUITests => PrismaUITests}/LaunchTests.swift (81%) diff --git a/.firebaserc.license b/.firebaserc.license index 5e0d23c..5a7c783 100644 --- a/.firebaserc.license +++ b/.firebaserc.license @@ -1,4 +1,4 @@ -This source file is part of the Behavior based on the Stanford Spezi Template Application project +This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md) diff --git a/.github/workflows/beta-deployment.yml b/.github/workflows/beta-deployment.yml index 85a1054..9fec3ee 100644 --- a/.github/workflows/beta-deployment.yml +++ b/.github/workflows/beta-deployment.yml @@ -1,5 +1,5 @@ # -# This source file is part of the Behavior based on the Stanford Spezi Template Application project +# This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project # # SPDX-FileCopyrightText: 2023 Stanford University # @@ -27,7 +27,7 @@ jobs: uses: CS342/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 secrets: inherit with: - googleserviceinfoplistpath: 'Behavior/Supporting Files/GoogleService-Info.plist' + googleserviceinfoplistpath: 'Prisma/Supporting Files/GoogleService-Info.plist' setupsigning: true fastlanelane: beta deployfirebase: diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 6a6095e..ed5d4fe 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -1,5 +1,5 @@ # -# This source file is part of the Behavior based on the Stanford Spezi Template Application project +# This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project # # SPDX-FileCopyrightText: 2023 Stanford University # @@ -27,7 +27,7 @@ jobs: name: Build and Test uses: CS342/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 with: - artifactname: Behavior.xcresult + artifactname: Prisma.xcresult runsonlabels: '["macOS", "self-hosted"]' setupfirebaseemulator: true customcommand: "firebase emulators:exec 'fastlane test'" @@ -36,4 +36,4 @@ jobs: needs: buildandtest uses: StanfordBDHG/.github/.github/workflows/create-and-upload-coverage-report.yml@v2 with: - coveragereports: Behavior.xcresult + coveragereports: Prisma.xcresult diff --git a/.gitignore b/.gitignore index 813d962..c7a5e0b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ # -# This source file is part of the Behavior based on the Stanford Spezi Template Application project +# This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project # # SPDX-FileCopyrightText: 2023 Stanford University # @@ -12,7 +12,7 @@ .derivedData .build .docs -!Behavior.xcodeproj +!Prisma.xcodeproj # IDE related folders .idea @@ -30,7 +30,7 @@ xcuserdata/ # Tests report.junit report.html -Behavior.xcresult +Prisma.xcresult # Logs logs @@ -45,4 +45,4 @@ firebase-debug.*.log* .firebase/ # Swift Package List -Behavior/package-list.json +Prisma/package-list.json diff --git a/.swiftlint.yml b/.swiftlint.yml index e00f2bf..3baba31 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -1,5 +1,5 @@ # -# This source file is part of the Behavior based on the Stanford Spezi Template Application project +# This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project # # SPDX-FileCopyrightText: 2023 Stanford University # diff --git a/Behavior.xcodeproj/project.pbxproj.license b/Behavior.xcodeproj/project.pbxproj.license deleted file mode 100644 index 2fed641..0000000 --- a/Behavior.xcodeproj/project.pbxproj.license +++ /dev/null @@ -1,6 +0,0 @@ - -This source file is part of the Behavior based on the Stanford Spezi Template Application project - -SPDX-FileCopyrightText: 2023 Stanford University - -SPDX-License-Identifier: MIT diff --git a/Behavior.xcodeproj/project.xcworkspace/contents.xcworkspacedata.license b/Behavior.xcodeproj/project.xcworkspace/contents.xcworkspacedata.license deleted file mode 100644 index 2fed641..0000000 --- a/Behavior.xcodeproj/project.xcworkspace/contents.xcworkspacedata.license +++ /dev/null @@ -1,6 +0,0 @@ - -This source file is part of the Behavior based on the Stanford Spezi Template Application project - -SPDX-FileCopyrightText: 2023 Stanford University - -SPDX-License-Identifier: MIT diff --git a/Behavior.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist.license b/Behavior.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist.license deleted file mode 100644 index 2fed641..0000000 --- a/Behavior.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist.license +++ /dev/null @@ -1,6 +0,0 @@ - -This source file is part of the Behavior based on the Stanford Spezi Template Application project - -SPDX-FileCopyrightText: 2023 Stanford University - -SPDX-License-Identifier: MIT diff --git a/Behavior.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved.license b/Behavior.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved.license deleted file mode 100644 index 2fed641..0000000 --- a/Behavior.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved.license +++ /dev/null @@ -1,6 +0,0 @@ - -This source file is part of the Behavior based on the Stanford Spezi Template Application project - -SPDX-FileCopyrightText: 2023 Stanford University - -SPDX-License-Identifier: MIT diff --git a/Behavior.xcodeproj/xcshareddata/xcschemes/Behavior.xcscheme.license b/Behavior.xcodeproj/xcshareddata/xcschemes/Behavior.xcscheme.license deleted file mode 100644 index 2fed641..0000000 --- a/Behavior.xcodeproj/xcshareddata/xcschemes/Behavior.xcscheme.license +++ /dev/null @@ -1,6 +0,0 @@ - -This source file is part of the Behavior based on the Stanford Spezi Template Application project - -SPDX-FileCopyrightText: 2023 Stanford University - -SPDX-License-Identifier: MIT diff --git a/Behavior.xctestplan.license b/Behavior.xctestplan.license deleted file mode 100644 index 2fed641..0000000 --- a/Behavior.xctestplan.license +++ /dev/null @@ -1,6 +0,0 @@ - -This source file is part of the Behavior based on the Stanford Spezi Template Application project - -SPDX-FileCopyrightText: 2023 Stanford University - -SPDX-License-Identifier: MIT diff --git a/Behavior/Resources/AppIcon-NoBG.png.license b/Behavior/Resources/AppIcon-NoBG.png.license deleted file mode 100644 index 2fed641..0000000 --- a/Behavior/Resources/AppIcon-NoBG.png.license +++ /dev/null @@ -1,6 +0,0 @@ - -This source file is part of the Behavior based on the Stanford Spezi Template Application project - -SPDX-FileCopyrightText: 2023 Stanford University - -SPDX-License-Identifier: MIT diff --git a/Behavior/Resources/AppIcon.png.license b/Behavior/Resources/AppIcon.png.license deleted file mode 100644 index 2fed641..0000000 --- a/Behavior/Resources/AppIcon.png.license +++ /dev/null @@ -1,6 +0,0 @@ - -This source file is part of the Behavior based on the Stanford Spezi Template Application project - -SPDX-FileCopyrightText: 2023 Stanford University - -SPDX-License-Identifier: MIT diff --git a/Behavior/Resources/Assets.xcassets/AccentColor.colorset/Contents.json.license b/Behavior/Resources/Assets.xcassets/AccentColor.colorset/Contents.json.license deleted file mode 100644 index 2fed641..0000000 --- a/Behavior/Resources/Assets.xcassets/AccentColor.colorset/Contents.json.license +++ /dev/null @@ -1,6 +0,0 @@ - -This source file is part of the Behavior based on the Stanford Spezi Template Application project - -SPDX-FileCopyrightText: 2023 Stanford University - -SPDX-License-Identifier: MIT diff --git a/Behavior/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon.png.license b/Behavior/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon.png.license deleted file mode 100644 index 2fed641..0000000 --- a/Behavior/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon.png.license +++ /dev/null @@ -1,6 +0,0 @@ - -This source file is part of the Behavior based on the Stanford Spezi Template Application project - -SPDX-FileCopyrightText: 2023 Stanford University - -SPDX-License-Identifier: MIT diff --git a/Behavior/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json.license b/Behavior/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json.license deleted file mode 100644 index 2fed641..0000000 --- a/Behavior/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json.license +++ /dev/null @@ -1,6 +0,0 @@ - -This source file is part of the Behavior based on the Stanford Spezi Template Application project - -SPDX-FileCopyrightText: 2023 Stanford University - -SPDX-License-Identifier: MIT diff --git a/Behavior/Resources/Assets.xcassets/AppIconNoBG.appiconset/AppIcon-NoBG.png.license b/Behavior/Resources/Assets.xcassets/AppIconNoBG.appiconset/AppIcon-NoBG.png.license deleted file mode 100644 index 2fed641..0000000 --- a/Behavior/Resources/Assets.xcassets/AppIconNoBG.appiconset/AppIcon-NoBG.png.license +++ /dev/null @@ -1,6 +0,0 @@ - -This source file is part of the Behavior based on the Stanford Spezi Template Application project - -SPDX-FileCopyrightText: 2023 Stanford University - -SPDX-License-Identifier: MIT diff --git a/Behavior/Resources/Assets.xcassets/AppIconNoBG.appiconset/Contents.json.license b/Behavior/Resources/Assets.xcassets/AppIconNoBG.appiconset/Contents.json.license deleted file mode 100644 index 2fed641..0000000 --- a/Behavior/Resources/Assets.xcassets/AppIconNoBG.appiconset/Contents.json.license +++ /dev/null @@ -1,6 +0,0 @@ - -This source file is part of the Behavior based on the Stanford Spezi Template Application project - -SPDX-FileCopyrightText: 2023 Stanford University - -SPDX-License-Identifier: MIT diff --git a/Behavior/Resources/Assets.xcassets/Contents.json.license b/Behavior/Resources/Assets.xcassets/Contents.json.license deleted file mode 100644 index 2fed641..0000000 --- a/Behavior/Resources/Assets.xcassets/Contents.json.license +++ /dev/null @@ -1,6 +0,0 @@ - -This source file is part of the Behavior based on the Stanford Spezi Template Application project - -SPDX-FileCopyrightText: 2023 Stanford University - -SPDX-License-Identifier: MIT diff --git a/Behavior/Resources/ConsentDocument.md.license b/Behavior/Resources/ConsentDocument.md.license deleted file mode 100644 index 2fed641..0000000 --- a/Behavior/Resources/ConsentDocument.md.license +++ /dev/null @@ -1,6 +0,0 @@ - -This source file is part of the Behavior based on the Stanford Spezi Template Application project - -SPDX-FileCopyrightText: 2023 Stanford University - -SPDX-License-Identifier: MIT diff --git a/Behavior/Resources/Localizable.xcstrings.license b/Behavior/Resources/Localizable.xcstrings.license deleted file mode 100644 index 2fed641..0000000 --- a/Behavior/Resources/Localizable.xcstrings.license +++ /dev/null @@ -1,6 +0,0 @@ - -This source file is part of the Behavior based on the Stanford Spezi Template Application project - -SPDX-FileCopyrightText: 2023 Stanford University - -SPDX-License-Identifier: MIT diff --git a/Behavior/Resources/SocialSupportQuestionnaire.json.license b/Behavior/Resources/SocialSupportQuestionnaire.json.license deleted file mode 100644 index 2fed641..0000000 --- a/Behavior/Resources/SocialSupportQuestionnaire.json.license +++ /dev/null @@ -1,6 +0,0 @@ - -This source file is part of the Behavior based on the Stanford Spezi Template Application project - -SPDX-FileCopyrightText: 2023 Stanford University - -SPDX-License-Identifier: MIT diff --git a/Behavior/Resources/afternoon-en-US.json.license b/Behavior/Resources/afternoon-en-US.json.license deleted file mode 100644 index 2fed641..0000000 --- a/Behavior/Resources/afternoon-en-US.json.license +++ /dev/null @@ -1,6 +0,0 @@ - -This source file is part of the Behavior based on the Stanford Spezi Template Application project - -SPDX-FileCopyrightText: 2023 Stanford University - -SPDX-License-Identifier: MIT diff --git a/Behavior/Resources/end-of-day-en-US.json.license b/Behavior/Resources/end-of-day-en-US.json.license deleted file mode 100644 index 2fed641..0000000 --- a/Behavior/Resources/end-of-day-en-US.json.license +++ /dev/null @@ -1,6 +0,0 @@ - -This source file is part of the Behavior based on the Stanford Spezi Template Application project - -SPDX-FileCopyrightText: 2023 Stanford University - -SPDX-License-Identifier: MIT diff --git a/Behavior/Resources/mid-day-en-US.json.license b/Behavior/Resources/mid-day-en-US.json.license deleted file mode 100644 index 2fed641..0000000 --- a/Behavior/Resources/mid-day-en-US.json.license +++ /dev/null @@ -1,6 +0,0 @@ - -This source file is part of the Behavior based on the Stanford Spezi Template Application project - -SPDX-FileCopyrightText: 2023 Stanford University - -SPDX-License-Identifier: MIT diff --git a/Behavior/Resources/morning-en-US.json.license b/Behavior/Resources/morning-en-US.json.license deleted file mode 100644 index 2fed641..0000000 --- a/Behavior/Resources/morning-en-US.json.license +++ /dev/null @@ -1,6 +0,0 @@ - -This source file is part of the Behavior based on the Stanford Spezi Template Application project - -SPDX-FileCopyrightText: 2023 Stanford University - -SPDX-License-Identifier: MIT diff --git a/Behavior/Supporting Files/Behavior.entitlements.license b/Behavior/Supporting Files/Behavior.entitlements.license deleted file mode 100644 index 2fed641..0000000 --- a/Behavior/Supporting Files/Behavior.entitlements.license +++ /dev/null @@ -1,6 +0,0 @@ - -This source file is part of the Behavior based on the Stanford Spezi Template Application project - -SPDX-FileCopyrightText: 2023 Stanford University - -SPDX-License-Identifier: MIT diff --git a/Behavior/Supporting Files/Info.plist.license b/Behavior/Supporting Files/Info.plist.license deleted file mode 100644 index 2fed641..0000000 --- a/Behavior/Supporting Files/Info.plist.license +++ /dev/null @@ -1,6 +0,0 @@ - -This source file is part of the Behavior based on the Stanford Spezi Template Application project - -SPDX-FileCopyrightText: 2023 Stanford University - -SPDX-License-Identifier: MIT diff --git a/CITATION.cff b/CITATION.cff index 05f9f7b..67e6404 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -1,5 +1,5 @@ # -# This source file is part of the Behavior based on the Stanford Spezi Template Application project +# This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project # # SPDX-FileCopyrightText: 2023 Stanford University # @@ -18,4 +18,4 @@ authors: - family-names: "Aalami" given-names: "Oliver" orcid: "https://orcid.org/0000-0002-7799-2429" -title: "Behavior" +title: "Prisma" diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 8df84f3..6adc7bd 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -1,6 +1,6 @@ -Behavior Contributors +Prisma Contributors ================================= * [Paul Schmiedmayer](https://github.com/PSchmiedmayer) diff --git a/Gemfile b/Gemfile index 97ded09..024c9d3 100644 --- a/Gemfile +++ b/Gemfile @@ -1,5 +1,5 @@ # -# This source file is part of the Behavior based on the Stanford Spezi Template Application project +# This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project # # SPDX-FileCopyrightText: 2023 Stanford University # diff --git a/Gemfile.lock.license b/Gemfile.lock.license index 2fed641..79fa51c 100644 --- a/Gemfile.lock.license +++ b/Gemfile.lock.license @@ -1,5 +1,5 @@ -This source file is part of the Behavior based on the Stanford Spezi Template Application project +This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project SPDX-FileCopyrightText: 2023 Stanford University diff --git a/Behavior.xcodeproj/project.pbxproj b/Prisma.xcodeproj/project.pbxproj similarity index 86% rename from Behavior.xcodeproj/project.pbxproj rename to Prisma.xcodeproj/project.pbxproj index a2f0f27..dab162e 100644 --- a/Behavior.xcodeproj/project.pbxproj +++ b/Prisma.xcodeproj/project.pbxproj @@ -8,13 +8,13 @@ /* Begin PBXBuildFile section */ 27FA29902A388E9B009CAC45 /* ModalView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 27FA298F2A388E9B009CAC45 /* ModalView.swift */; }; - 2F1AC9DF2B4E840E00C24973 /* Behavior.docc in Sources */ = {isa = PBXBuildFile; fileRef = 2F1AC9DE2B4E840E00C24973 /* Behavior.docc */; }; + 2F1AC9DF2B4E840E00C24973 /* Prisma.docc in Sources */ = {isa = PBXBuildFile; fileRef = 2F1AC9DE2B4E840E00C24973 /* Prisma.docc */; }; 2F3D4ABC2A4E7C290068FB2F /* SpeziScheduler in Frameworks */ = {isa = PBXBuildFile; productRef = 2F3D4ABB2A4E7C290068FB2F /* SpeziScheduler */; }; 2F49B7762980407C00BCB272 /* Spezi in Frameworks */ = {isa = PBXBuildFile; productRef = 2F49B7752980407B00BCB272 /* Spezi */; }; 2F4E237E2989A2FE0013F3D9 /* LaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2F4E237D2989A2FE0013F3D9 /* LaunchTests.swift */; }; - 2F4E23832989D51F0013F3D9 /* BehaviorTestingSetup.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2F4E23822989D51F0013F3D9 /* BehaviorTestingSetup.swift */; }; + 2F4E23832989D51F0013F3D9 /* PrismaTestingSetup.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2F4E23822989D51F0013F3D9 /* PrismaTestingSetup.swift */; }; 2F4FC8D729EE69D300BFFE26 /* MockUpload.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2F4FC8D629EE69D300BFFE26 /* MockUpload.swift */; }; - 2F5E32BD297E05EA003432F8 /* BehaviorDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2F5E32BC297E05EA003432F8 /* BehaviorDelegate.swift */; }; + 2F5E32BD297E05EA003432F8 /* PrismaDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2F5E32BC297E05EA003432F8 /* PrismaDelegate.swift */; }; 2F6025CB29BBE70F0045459E /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 2F6025CA29BBE70F0045459E /* GoogleService-Info.plist */; }; 2FA0BFED2ACC977500E0EF83 /* Localizable.xcstrings in Resources */ = {isa = PBXBuildFile; fileRef = 2FA0BFEC2ACC977500E0EF83 /* Localizable.xcstrings */; }; 2FB099AF2A875DF100B20952 /* FirebaseAuth in Frameworks */ = {isa = PBXBuildFile; productRef = 2FB099AE2A875DF100B20952 /* FirebaseAuth */; }; @@ -37,8 +37,8 @@ 2FE5DC4E29EDD7FA004B9AB4 /* ScheduleView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2FE5DC4829EDD7FA004B9AB4 /* ScheduleView.swift */; }; 2FE5DC4F29EDD7FA004B9AB4 /* EventContext.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2FE5DC4929EDD7FA004B9AB4 /* EventContext.swift */; }; 2FE5DC5029EDD7FA004B9AB4 /* EventContextView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2FE5DC4A29EDD7FA004B9AB4 /* EventContextView.swift */; }; - 2FE5DC5129EDD7FA004B9AB4 /* BehaviorTaskContext.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2FE5DC4B29EDD7FA004B9AB4 /* BehaviorTaskContext.swift */; }; - 2FE5DC5229EDD7FA004B9AB4 /* BehaviorScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2FE5DC4C29EDD7FA004B9AB4 /* BehaviorScheduler.swift */; }; + 2FE5DC5129EDD7FA004B9AB4 /* PrismaTaskContext.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2FE5DC4B29EDD7FA004B9AB4 /* PrismaTaskContext.swift */; }; + 2FE5DC5229EDD7FA004B9AB4 /* PrismaScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2FE5DC4C29EDD7FA004B9AB4 /* PrismaScheduler.swift */; }; 2FE5DC5329EDD7FA004B9AB4 /* Bundle+Questionnaire.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2FE5DC4D29EDD7FA004B9AB4 /* Bundle+Questionnaire.swift */; }; 2FE5DC6429EDD883004B9AB4 /* SpeziAccount in Frameworks */ = {isa = PBXBuildFile; productRef = 2FE5DC6329EDD883004B9AB4 /* SpeziAccount */; }; 2FE5DC6729EDD894004B9AB4 /* SpeziContact in Frameworks */ = {isa = PBXBuildFile; productRef = 2FE5DC6629EDD894004B9AB4 /* SpeziContact */; }; @@ -54,15 +54,15 @@ 2FE5DC9C29EDD9EF004B9AB4 /* XCTHealthKit in Frameworks */ = {isa = PBXBuildFile; productRef = 2FE5DC9B29EDD9EF004B9AB4 /* XCTHealthKit */; }; 2FE5DCB129EE6107004B9AB4 /* AccountOnboarding.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2FE5DCAC29EE6107004B9AB4 /* AccountOnboarding.swift */; }; 2FF53D8B2A8725DE00042B76 /* SpeziMockWebService in Frameworks */ = {isa = PBXBuildFile; productRef = 2FF53D8A2A8725DE00042B76 /* SpeziMockWebService */; }; - 2FF53D8D2A8729D600042B76 /* BehaviorStandard.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2FF53D8C2A8729D600042B76 /* BehaviorStandard.swift */; }; + 2FF53D8D2A8729D600042B76 /* PrismaStandard.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2FF53D8C2A8729D600042B76 /* PrismaStandard.swift */; }; 5661551D2AB8384200209B80 /* SwiftPackageList in Frameworks */ = {isa = PBXBuildFile; productRef = 5661551C2AB8384200209B80 /* SwiftPackageList */; }; 566155292AB8447C00209B80 /* Package+LicenseType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 566155282AB8447C00209B80 /* Package+LicenseType.swift */; }; 5661552E2AB854C000209B80 /* PackageHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5661552D2AB854C000209B80 /* PackageHelper.swift */; }; 5680DD392AB8983D004E6D4A /* PackageCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5680DD382AB8983D004E6D4A /* PackageCell.swift */; }; 56F6F2A02AB441930022FE5A /* ContributionsList.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56F6F29F2AB441930022FE5A /* ContributionsList.swift */; }; - 653A2551283387FE005D4D48 /* Behavior.swift in Sources */ = {isa = PBXBuildFile; fileRef = 653A2550283387FE005D4D48 /* Behavior.swift */; }; + 653A2551283387FE005D4D48 /* Prisma.swift in Sources */ = {isa = PBXBuildFile; fileRef = 653A2550283387FE005D4D48 /* Prisma.swift */; }; 653A255528338800005D4D48 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 653A255428338800005D4D48 /* Assets.xcassets */; }; - 653A256228338800005D4D48 /* BehaviorTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 653A256128338800005D4D48 /* BehaviorTests.swift */; }; + 653A256228338800005D4D48 /* PrismaTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 653A256128338800005D4D48 /* PrismaTests.swift */; }; 9733CFC62A8066DE001B7ABC /* SpeziOnboarding in Frameworks */ = {isa = PBXBuildFile; productRef = 2FE5DC8029EDD91D004B9AB4 /* SpeziOnboarding */; }; 9739A0C62AD7B5730084BEA5 /* FirebaseStorage in Frameworks */ = {isa = PBXBuildFile; productRef = 9739A0C52AD7B5730084BEA5 /* FirebaseStorage */; }; 97D73D6A2AD860AD00B47FA0 /* SpeziFirebaseStorage in Frameworks */ = {isa = PBXBuildFile; productRef = 97D73D692AD860AD00B47FA0 /* SpeziFirebaseStorage */; }; @@ -78,9 +78,9 @@ F8AF6FAE2B5F42C40011C32D /* morning-en-US.json in Resources */ = {isa = PBXBuildFile; fileRef = F8AF6FAA2B5F42C40011C32D /* morning-en-US.json */; }; F8AF6FAF2B5F42C40011C32D /* mid-day-en-US.json in Resources */ = {isa = PBXBuildFile; fileRef = F8AF6FAB2B5F42C40011C32D /* mid-day-en-US.json */; }; F8AF6FB42B5F6EDC0011C32D /* Module.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8AF6FB32B5F6EDC0011C32D /* Module.swift */; }; - F8AF6FB62B5F71460011C32D /* BehaviorStandard+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8AF6FB52B5F71460011C32D /* BehaviorStandard+Extension.swift */; }; - F8AF6FB92B5F72650011C32D /* BehaviorStandard+HealthKit.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8AF6FB82B5F72650011C32D /* BehaviorStandard+HealthKit.swift */; }; - F8AF6FBC2B5F74EA0011C32D /* BehaviorStandard+Questionnaire.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8AF6FBB2B5F74EA0011C32D /* BehaviorStandard+Questionnaire.swift */; }; + F8AF6FB62B5F71460011C32D /* PrismaStandard+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8AF6FB52B5F71460011C32D /* PrismaStandard+Extension.swift */; }; + F8AF6FB92B5F72650011C32D /* PrismaStandard+HealthKit.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8AF6FB82B5F72650011C32D /* PrismaStandard+HealthKit.swift */; }; + F8AF6FBC2B5F74EA0011C32D /* PrismaStandard+Questionnaire.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8AF6FBB2B5F74EA0011C32D /* PrismaStandard+Questionnaire.swift */; }; F8D35CE22B60A909001A8FA5 /* NotificationPermissions.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8D35CE12B60A909001A8FA5 /* NotificationPermissions.swift */; }; /* End PBXBuildFile section */ @@ -90,28 +90,28 @@ containerPortal = 653A2545283387FE005D4D48 /* Project object */; proxyType = 1; remoteGlobalIDString = 653A254C283387FE005D4D48; - remoteInfo = Behavior; + remoteInfo = Prisma; }; 653A256828338800005D4D48 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 653A2545283387FE005D4D48 /* Project object */; proxyType = 1; remoteGlobalIDString = 653A254C283387FE005D4D48; - remoteInfo = Behavior; + remoteInfo = Prisma; }; /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ 27FA298F2A388E9B009CAC45 /* ModalView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ModalView.swift; sourceTree = ""; }; - 2F1AC9DE2B4E840E00C24973 /* Behavior.docc */ = {isa = PBXFileReference; lastKnownFileType = folder.documentationcatalog; path = Behavior.docc; sourceTree = ""; }; + 2F1AC9DE2B4E840E00C24973 /* Prisma.docc */ = {isa = PBXFileReference; lastKnownFileType = folder.documentationcatalog; path = Prisma.docc; sourceTree = ""; }; 2F4E237D2989A2FE0013F3D9 /* LaunchTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LaunchTests.swift; sourceTree = ""; }; - 2F4E23822989D51F0013F3D9 /* BehaviorTestingSetup.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BehaviorTestingSetup.swift; sourceTree = ""; }; + 2F4E23822989D51F0013F3D9 /* PrismaTestingSetup.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PrismaTestingSetup.swift; sourceTree = ""; }; 2F4FC8D629EE69D300BFFE26 /* MockUpload.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MockUpload.swift; sourceTree = ""; }; - 2F5E32BC297E05EA003432F8 /* BehaviorDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BehaviorDelegate.swift; sourceTree = ""; }; + 2F5E32BC297E05EA003432F8 /* PrismaDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PrismaDelegate.swift; sourceTree = ""; }; 2F6025CA29BBE70F0045459E /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = ""; }; 2FA0BFEC2ACC977500E0EF83 /* Localizable.xcstrings */ = {isa = PBXFileReference; lastKnownFileType = text.json.xcstrings; path = Localizable.xcstrings; sourceTree = ""; }; - 2FAEC07F297F583900C11C42 /* Behavior.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Behavior.entitlements; sourceTree = ""; }; - 2FC94CD4298B0A1D009C8209 /* Behavior.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; path = Behavior.xctestplan; sourceTree = ""; }; + 2FAEC07F297F583900C11C42 /* Prisma.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Prisma.entitlements; sourceTree = ""; }; + 2FC94CD4298B0A1D009C8209 /* Prisma.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; path = Prisma.xctestplan; sourceTree = ""; }; 2FC975A72978F11A00BA99FE /* Home.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Home.swift; sourceTree = ""; }; 2FE5DC2529EDD38A004B9AB4 /* Contacts.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Contacts.swift; sourceTree = ""; }; 2FE5DC2C29EDD78E004B9AB4 /* ConsentDocument.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = ConsentDocument.md; sourceTree = ""; }; @@ -127,21 +127,21 @@ 2FE5DC4829EDD7FA004B9AB4 /* ScheduleView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ScheduleView.swift; sourceTree = ""; }; 2FE5DC4929EDD7FA004B9AB4 /* EventContext.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = EventContext.swift; sourceTree = ""; }; 2FE5DC4A29EDD7FA004B9AB4 /* EventContextView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = EventContextView.swift; sourceTree = ""; }; - 2FE5DC4B29EDD7FA004B9AB4 /* BehaviorTaskContext.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BehaviorTaskContext.swift; sourceTree = ""; }; - 2FE5DC4C29EDD7FA004B9AB4 /* BehaviorScheduler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BehaviorScheduler.swift; sourceTree = ""; }; + 2FE5DC4B29EDD7FA004B9AB4 /* PrismaTaskContext.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PrismaTaskContext.swift; sourceTree = ""; }; + 2FE5DC4C29EDD7FA004B9AB4 /* PrismaScheduler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PrismaScheduler.swift; sourceTree = ""; }; 2FE5DC4D29EDD7FA004B9AB4 /* Bundle+Questionnaire.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Bundle+Questionnaire.swift"; sourceTree = ""; }; 2FE5DCAC29EE6107004B9AB4 /* AccountOnboarding.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AccountOnboarding.swift; sourceTree = ""; }; - 2FF53D8C2A8729D600042B76 /* BehaviorStandard.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BehaviorStandard.swift; sourceTree = ""; }; + 2FF53D8C2A8729D600042B76 /* PrismaStandard.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PrismaStandard.swift; sourceTree = ""; }; 566155282AB8447C00209B80 /* Package+LicenseType.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Package+LicenseType.swift"; sourceTree = ""; }; 5661552D2AB854C000209B80 /* PackageHelper.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PackageHelper.swift; sourceTree = ""; }; 5680DD382AB8983D004E6D4A /* PackageCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PackageCell.swift; sourceTree = ""; }; 56F6F29F2AB441930022FE5A /* ContributionsList.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContributionsList.swift; sourceTree = ""; }; - 653A254D283387FE005D4D48 /* Behavior.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Behavior.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 653A2550283387FE005D4D48 /* Behavior.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Behavior.swift; sourceTree = ""; }; + 653A254D283387FE005D4D48 /* Prisma.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Prisma.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 653A2550283387FE005D4D48 /* Prisma.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Prisma.swift; sourceTree = ""; }; 653A255428338800005D4D48 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - 653A255D28338800005D4D48 /* BehaviorTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = BehaviorTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 653A256128338800005D4D48 /* BehaviorTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BehaviorTests.swift; sourceTree = ""; }; - 653A256728338800005D4D48 /* BehaviorUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = BehaviorUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 653A255D28338800005D4D48 /* PrismaTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PrismaTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 653A256128338800005D4D48 /* PrismaTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PrismaTests.swift; sourceTree = ""; }; + 653A256728338800005D4D48 /* PrismaUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PrismaUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 653A258928339462005D4D48 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; A9720E422ABB68CC00872D23 /* AccountSetupHeader.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AccountSetupHeader.swift; sourceTree = ""; }; A9DFE8A82ABE551400428242 /* AccountButton.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AccountButton.swift; sourceTree = ""; }; @@ -154,9 +154,9 @@ F8AF6FAA2B5F42C40011C32D /* morning-en-US.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "morning-en-US.json"; sourceTree = ""; }; F8AF6FAB2B5F42C40011C32D /* mid-day-en-US.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "mid-day-en-US.json"; sourceTree = ""; }; F8AF6FB32B5F6EDC0011C32D /* Module.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Module.swift; sourceTree = ""; }; - F8AF6FB52B5F71460011C32D /* BehaviorStandard+Extension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "BehaviorStandard+Extension.swift"; sourceTree = ""; }; - F8AF6FB82B5F72650011C32D /* BehaviorStandard+HealthKit.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "BehaviorStandard+HealthKit.swift"; sourceTree = ""; }; - F8AF6FBB2B5F74EA0011C32D /* BehaviorStandard+Questionnaire.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "BehaviorStandard+Questionnaire.swift"; sourceTree = ""; }; + F8AF6FB52B5F71460011C32D /* PrismaStandard+Extension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "PrismaStandard+Extension.swift"; sourceTree = ""; }; + F8AF6FB82B5F72650011C32D /* PrismaStandard+HealthKit.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "PrismaStandard+HealthKit.swift"; sourceTree = ""; }; + F8AF6FBB2B5F74EA0011C32D /* PrismaStandard+Questionnaire.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "PrismaStandard+Questionnaire.swift"; sourceTree = ""; }; F8D35CE12B60A909001A8FA5 /* NotificationPermissions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NotificationPermissions.swift; sourceTree = ""; }; /* End PBXFileReference section */ @@ -221,10 +221,10 @@ 2FC9759D2978E30800BA99FE /* Supporting Files */ = { isa = PBXGroup; children = ( - 2FAEC07F297F583900C11C42 /* Behavior.entitlements */, + 2FAEC07F297F583900C11C42 /* Prisma.entitlements */, 653A258928339462005D4D48 /* Info.plist */, 2F6025CA29BBE70F0045459E /* GoogleService-Info.plist */, - 2F1AC9DE2B4E840E00C24973 /* Behavior.docc */, + 2F1AC9DE2B4E840E00C24973 /* Prisma.docc */, ); path = "Supporting Files"; sourceTree = ""; @@ -271,8 +271,8 @@ F8AF6FA02B5F3A590011C32D /* EventContext */, 2FE5DC4D29EDD7FA004B9AB4 /* Bundle+Questionnaire.swift */, 2FE5DC4829EDD7FA004B9AB4 /* ScheduleView.swift */, - 2FE5DC4C29EDD7FA004B9AB4 /* BehaviorScheduler.swift */, - 2FE5DC4B29EDD7FA004B9AB4 /* BehaviorTaskContext.swift */, + 2FE5DC4C29EDD7FA004B9AB4 /* PrismaScheduler.swift */, + 2FE5DC4B29EDD7FA004B9AB4 /* PrismaTaskContext.swift */, 27FA298F2A388E9B009CAC45 /* ModalView.swift */, ); path = Schedule; @@ -311,10 +311,10 @@ 653A2544283387FE005D4D48 = { isa = PBXGroup; children = ( - 2FC94CD4298B0A1D009C8209 /* Behavior.xctestplan */, - 653A254F283387FE005D4D48 /* Behavior */, - 653A256028338800005D4D48 /* BehaviorTests */, - 653A256A28338800005D4D48 /* BehaviorUITests */, + 2FC94CD4298B0A1D009C8209 /* Prisma.xctestplan */, + 653A254F283387FE005D4D48 /* Prisma */, + 653A256028338800005D4D48 /* PrismaTests */, + 653A256A28338800005D4D48 /* PrismaUITests */, 653A254E283387FE005D4D48 /* Products */, 653A258B283395A7005D4D48 /* Frameworks */, ); @@ -323,19 +323,19 @@ 653A254E283387FE005D4D48 /* Products */ = { isa = PBXGroup; children = ( - 653A254D283387FE005D4D48 /* Behavior.app */, - 653A255D28338800005D4D48 /* BehaviorTests.xctest */, - 653A256728338800005D4D48 /* BehaviorUITests.xctest */, + 653A254D283387FE005D4D48 /* Prisma.app */, + 653A255D28338800005D4D48 /* PrismaTests.xctest */, + 653A256728338800005D4D48 /* PrismaUITests.xctest */, ); name = Products; sourceTree = ""; }; - 653A254F283387FE005D4D48 /* Behavior */ = { + 653A254F283387FE005D4D48 /* Prisma */ = { isa = PBXGroup; children = ( - 653A2550283387FE005D4D48 /* Behavior.swift */, - 2F5E32BC297E05EA003432F8 /* BehaviorDelegate.swift */, - 2F4E23822989D51F0013F3D9 /* BehaviorTestingSetup.swift */, + 653A2550283387FE005D4D48 /* Prisma.swift */, + 2F5E32BC297E05EA003432F8 /* PrismaDelegate.swift */, + 2F4E23822989D51F0013F3D9 /* PrismaTestingSetup.swift */, 2FC975A72978F11A00BA99FE /* Home.swift */, F8AF6FB12B5F6EC80011C32D /* Standard */, F8AF6F9C2B5F352F0011C32D /* Chat */, @@ -350,23 +350,23 @@ 2FE5DC2D29EDD792004B9AB4 /* Resources */, 2FC9759D2978E30800BA99FE /* Supporting Files */, ); - path = Behavior; + path = Prisma; sourceTree = ""; }; - 653A256028338800005D4D48 /* BehaviorTests */ = { + 653A256028338800005D4D48 /* PrismaTests */ = { isa = PBXGroup; children = ( - 653A256128338800005D4D48 /* BehaviorTests.swift */, + 653A256128338800005D4D48 /* PrismaTests.swift */, ); - path = BehaviorTests; + path = PrismaTests; sourceTree = ""; }; - 653A256A28338800005D4D48 /* BehaviorUITests */ = { + 653A256A28338800005D4D48 /* PrismaUITests */ = { isa = PBXGroup; children = ( 2F4E237D2989A2FE0013F3D9 /* LaunchTests.swift */, ); - path = BehaviorUITests; + path = PrismaUITests; sourceTree = ""; }; 653A258B283395A7005D4D48 /* Frameworks */ = { @@ -407,11 +407,11 @@ F8AF6FB12B5F6EC80011C32D /* Standard */ = { isa = PBXGroup; children = ( - 2FF53D8C2A8729D600042B76 /* BehaviorStandard.swift */, - F8AF6FB82B5F72650011C32D /* BehaviorStandard+HealthKit.swift */, + 2FF53D8C2A8729D600042B76 /* PrismaStandard.swift */, + F8AF6FB82B5F72650011C32D /* PrismaStandard+HealthKit.swift */, F8AF6FB32B5F6EDC0011C32D /* Module.swift */, - F8AF6FB52B5F71460011C32D /* BehaviorStandard+Extension.swift */, - F8AF6FBB2B5F74EA0011C32D /* BehaviorStandard+Questionnaire.swift */, + F8AF6FB52B5F71460011C32D /* PrismaStandard+Extension.swift */, + F8AF6FBB2B5F74EA0011C32D /* PrismaStandard+Questionnaire.swift */, ); path = Standard; sourceTree = ""; @@ -419,9 +419,9 @@ /* End PBXGroup section */ /* Begin PBXNativeTarget section */ - 653A254C283387FE005D4D48 /* Behavior */ = { + 653A254C283387FE005D4D48 /* Prisma */ = { isa = PBXNativeTarget; - buildConfigurationList = 653A257128338800005D4D48 /* Build configuration list for PBXNativeTarget "Behavior" */; + buildConfigurationList = 653A257128338800005D4D48 /* Build configuration list for PBXNativeTarget "Prisma" */; buildPhases = ( 653A2549283387FE005D4D48 /* Sources */, 653A254A283387FE005D4D48 /* Frameworks */, @@ -433,7 +433,7 @@ dependencies = ( 566155222AB83CF200209B80 /* PBXTargetDependency */, ); - name = Behavior; + name = Prisma; packageProductDependencies = ( 2F49B7752980407B00BCB272 /* Spezi */, 2FE5DC6329EDD883004B9AB4 /* SpeziAccount */, @@ -459,13 +459,13 @@ 97D73D692AD860AD00B47FA0 /* SpeziFirebaseStorage */, A9D83F952B083794000D0C78 /* SpeziFirebaseAccountStorage */, ); - productName = Behavior; - productReference = 653A254D283387FE005D4D48 /* Behavior.app */; + productName = Prisma; + productReference = 653A254D283387FE005D4D48 /* Prisma.app */; productType = "com.apple.product-type.application"; }; - 653A255C28338800005D4D48 /* BehaviorTests */ = { + 653A255C28338800005D4D48 /* PrismaTests */ = { isa = PBXNativeTarget; - buildConfigurationList = 653A257428338800005D4D48 /* Build configuration list for PBXNativeTarget "BehaviorTests" */; + buildConfigurationList = 653A257428338800005D4D48 /* Build configuration list for PBXNativeTarget "PrismaTests" */; buildPhases = ( 653A255928338800005D4D48 /* Sources */, 653A255A28338800005D4D48 /* Frameworks */, @@ -476,14 +476,14 @@ dependencies = ( 653A255F28338800005D4D48 /* PBXTargetDependency */, ); - name = BehaviorTests; - productName = BehaviorTests; - productReference = 653A255D28338800005D4D48 /* BehaviorTests.xctest */; + name = PrismaTests; + productName = PrismaTests; + productReference = 653A255D28338800005D4D48 /* PrismaTests.xctest */; productType = "com.apple.product-type.bundle.unit-test"; }; - 653A256628338800005D4D48 /* BehaviorUITests */ = { + 653A256628338800005D4D48 /* PrismaUITests */ = { isa = PBXNativeTarget; - buildConfigurationList = 653A257728338800005D4D48 /* Build configuration list for PBXNativeTarget "BehaviorUITests" */; + buildConfigurationList = 653A257728338800005D4D48 /* Build configuration list for PBXNativeTarget "PrismaUITests" */; buildPhases = ( 653A256328338800005D4D48 /* Sources */, 653A256428338800005D4D48 /* Frameworks */, @@ -494,13 +494,13 @@ dependencies = ( 653A256928338800005D4D48 /* PBXTargetDependency */, ); - name = BehaviorUITests; + name = PrismaUITests; packageProductDependencies = ( 2FE5DC9829EDD9D9004B9AB4 /* XCTestExtensions */, 2FE5DC9B29EDD9EF004B9AB4 /* XCTHealthKit */, ); - productName = BehaviorUITests; - productReference = 653A256728338800005D4D48 /* BehaviorUITests.xctest */; + productName = PrismaUITests; + productReference = 653A256728338800005D4D48 /* PrismaUITests.xctest */; productType = "com.apple.product-type.bundle.ui-testing"; }; /* End PBXNativeTarget section */ @@ -526,7 +526,7 @@ }; }; }; - buildConfigurationList = 653A2548283387FE005D4D48 /* Build configuration list for PBXProject "Behavior" */; + buildConfigurationList = 653A2548283387FE005D4D48 /* Build configuration list for PBXProject "Prisma" */; compatibilityVersion = "Xcode 13.0"; developmentRegion = en; hasScannedForEncodings = 0; @@ -557,9 +557,9 @@ projectDirPath = ""; projectRoot = ""; targets = ( - 653A254C283387FE005D4D48 /* Behavior */, - 653A255C28338800005D4D48 /* BehaviorTests */, - 653A256628338800005D4D48 /* BehaviorUITests */, + 653A254C283387FE005D4D48 /* Prisma */, + 653A255C28338800005D4D48 /* PrismaTests */, + 653A256628338800005D4D48 /* PrismaUITests */, ); }; /* End PBXProject section */ @@ -633,31 +633,31 @@ 2FE5DC4E29EDD7FA004B9AB4 /* ScheduleView.swift in Sources */, A9DFE8A92ABE551400428242 /* AccountButton.swift in Sources */, 2FE5DC3729EDD7CA004B9AB4 /* OnboardingFlow.swift in Sources */, - 2F1AC9DF2B4E840E00C24973 /* Behavior.docc in Sources */, - 2FF53D8D2A8729D600042B76 /* BehaviorStandard.swift in Sources */, + 2F1AC9DF2B4E840E00C24973 /* Prisma.docc in Sources */, + 2FF53D8D2A8729D600042B76 /* PrismaStandard.swift in Sources */, F8AF6F9F2B5F35400011C32D /* ChatView.swift in Sources */, 2FE5DC4729EDD7F2004B9AB4 /* CodableArray+RawRepresentable.swift in Sources */, A9720E432ABB68CC00872D23 /* AccountSetupHeader.swift in Sources */, 2FE5DC4029EDD7EE004B9AB4 /* FeatureFlags.swift in Sources */, F8AF6FA52B5F3AE70011C32D /* EventContextCard.swift in Sources */, 2FE5DC4629EDD7F2004B9AB4 /* Bundle+Image.swift in Sources */, - F8AF6FB92B5F72650011C32D /* BehaviorStandard+HealthKit.swift in Sources */, + F8AF6FB92B5F72650011C32D /* PrismaStandard+HealthKit.swift in Sources */, 2FE5DC4F29EDD7FA004B9AB4 /* EventContext.swift in Sources */, 2FE5DC5029EDD7FA004B9AB4 /* EventContextView.swift in Sources */, - F8AF6FB62B5F71460011C32D /* BehaviorStandard+Extension.swift in Sources */, - 2F4E23832989D51F0013F3D9 /* BehaviorTestingSetup.swift in Sources */, + F8AF6FB62B5F71460011C32D /* PrismaStandard+Extension.swift in Sources */, + 2F4E23832989D51F0013F3D9 /* PrismaTestingSetup.swift in Sources */, 2FE5DC5329EDD7FA004B9AB4 /* Bundle+Questionnaire.swift in Sources */, - 2FE5DC5129EDD7FA004B9AB4 /* BehaviorTaskContext.swift in Sources */, - F8AF6FBC2B5F74EA0011C32D /* BehaviorStandard+Questionnaire.swift in Sources */, + 2FE5DC5129EDD7FA004B9AB4 /* PrismaTaskContext.swift in Sources */, + F8AF6FBC2B5F74EA0011C32D /* PrismaStandard+Questionnaire.swift in Sources */, 56F6F2A02AB441930022FE5A /* ContributionsList.swift in Sources */, 566155292AB8447C00209B80 /* Package+LicenseType.swift in Sources */, 5680DD392AB8983D004E6D4A /* PackageCell.swift in Sources */, F8D35CE22B60A909001A8FA5 /* NotificationPermissions.swift in Sources */, - 2F5E32BD297E05EA003432F8 /* BehaviorDelegate.swift in Sources */, - 2FE5DC5229EDD7FA004B9AB4 /* BehaviorScheduler.swift in Sources */, + 2F5E32BD297E05EA003432F8 /* PrismaDelegate.swift in Sources */, + 2FE5DC5229EDD7FA004B9AB4 /* PrismaScheduler.swift in Sources */, A9FE7AD02AA39BAB0077B045 /* AccountSheet.swift in Sources */, F8AF6FB42B5F6EDC0011C32D /* Module.swift in Sources */, - 653A2551283387FE005D4D48 /* Behavior.swift in Sources */, + 653A2551283387FE005D4D48 /* Prisma.swift in Sources */, 2FE5DC3629EDD7CA004B9AB4 /* HealthKitPermissions.swift in Sources */, 5661552E2AB854C000209B80 /* PackageHelper.swift in Sources */, 27FA29902A388E9B009CAC45 /* ModalView.swift in Sources */, @@ -669,7 +669,7 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 653A256228338800005D4D48 /* BehaviorTests.swift in Sources */, + 653A256228338800005D4D48 /* PrismaTests.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -690,12 +690,12 @@ }; 653A255F28338800005D4D48 /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = 653A254C283387FE005D4D48 /* Behavior */; + target = 653A254C283387FE005D4D48 /* Prisma */; targetProxy = 653A255E28338800005D4D48 /* PBXContainerItemProxy */; }; 653A256928338800005D4D48 /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = 653A254C283387FE005D4D48 /* Behavior */; + target = 653A254C283387FE005D4D48 /* Prisma */; targetProxy = 653A256828338800005D4D48 /* PBXContainerItemProxy */; }; /* End PBXTargetDependency section */ @@ -769,7 +769,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - CODE_SIGN_ENTITLEMENTS = "Behavior/Supporting Files/Behavior.entitlements"; + CODE_SIGN_ENTITLEMENTS = "Prisma/Supporting Files/Prisma.entitlements"; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; @@ -777,18 +777,18 @@ DEVELOPMENT_TEAM = ""; ENABLE_PREVIEWS = YES; GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_FILE = "Behavior/Supporting Files/Info.plist"; + INFOPLIST_FILE = "Prisma/Supporting Files/Info.plist"; INFOPLIST_KEY_CFBundleDisplayName = Prisma; INFOPLIST_KEY_NSCameraUsageDescription = "This message should never appear. Please adjust this when you start using camera information. We have to put this in here as ResearchKit has the possibility to use it and not putting it here returns an error on AppStore Connect."; - INFOPLIST_KEY_NSHealthShareUsageDescription = "The Behavior uses the step count to demonstrate Spezi's integration with HealthKit."; - INFOPLIST_KEY_NSHealthUpdateUsageDescription = "The Behavior uses the step count to demonstrate Spezi's integration with HealthKit."; + INFOPLIST_KEY_NSHealthShareUsageDescription = "The Prisma uses the step count to demonstrate Spezi's integration with HealthKit."; + INFOPLIST_KEY_NSHealthUpdateUsageDescription = "The Prisma uses the step count to demonstrate Spezi's integration with HealthKit."; INFOPLIST_KEY_NSLocationAlwaysAndWhenInUseUsageDescription = "This message should never appear. Please adjust this when you start using location information. We have to put this in here as ResearchKit has the possibility to use it and not putting it here returns an error on AppStore Connect."; INFOPLIST_KEY_NSLocationWhenInUseUsageDescription = "This message should never appear. Please adjust this when you start using location information. We have to put this in here as ResearchKit has the possibility to use it and not putting it here returns an error on AppStore Connect."; INFOPLIST_KEY_NSMicrophoneUsageDescription = "This message should never appear. Please adjust this when you start using microphone information. We have to put this in here as ResearchKit has the possibility to use it and not putting it here returns an error on AppStore Connect."; INFOPLIST_KEY_NSMotionUsageDescription = "This message should never appear. Please adjust this when you start using motion information. We have to put this in here as ResearchKit has the possibility to use it and not putting it here returns an error on AppStore Connect."; INFOPLIST_KEY_NSSpeechRecognitionUsageDescription = "This message should never appear. Please adjust this when you start using speecg information. We have to put this in here as ResearchKit has the possibility to use it and not putting it here returns an error on AppStore Connect."; - INFOPLIST_KEY_UIBehaviorlicationSceneManifest_Generation = YES; - INFOPLIST_KEY_UIBehaviorlicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UIPrismalicationSceneManifest_Generation = YES; + INFOPLIST_KEY_UIPrismalicationSupportsIndirectInputEvents = YES; INFOPLIST_KEY_UILaunchScreen_Generation = YES; INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait; INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown"; @@ -804,7 +804,7 @@ SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; SUPPORTS_MACCATALYST = NO; SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; - "SWIFT_ELicenseRef-Behavior_LOC_STRINGS" = YES; + "SWIFT_ELicenseRef-Prisma_LOC_STRINGS" = YES; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = 1; @@ -824,10 +824,10 @@ MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = edu.stanford.cs342.2024.behavior.tests; PRODUCT_NAME = "$(TARGET_NAME)"; - "SWIFT_ELicenseRef-Behavior_LOC_STRINGS" = NO; + "SWIFT_ELicenseRef-Prisma_LOC_STRINGS" = NO; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Behavior.app/Behavior"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Prisma.app/Prisma"; }; name = Test; }; @@ -843,10 +843,10 @@ MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = edu.stanford.cs342.2024.behavior.uitests; PRODUCT_NAME = "$(TARGET_NAME)"; - "SWIFT_ELicenseRef-Behavior_LOC_STRINGS" = NO; + "SWIFT_ELicenseRef-Prisma_LOC_STRINGS" = NO; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; - TEST_TARGET_NAME = Behavior; + TEST_TARGET_NAME = Prisma; }; name = Test; }; @@ -975,7 +975,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - CODE_SIGN_ENTITLEMENTS = "Behavior/Supporting Files/Behavior.entitlements"; + CODE_SIGN_ENTITLEMENTS = "Prisma/Supporting Files/Prisma.entitlements"; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; @@ -983,18 +983,18 @@ DEVELOPMENT_TEAM = ""; ENABLE_PREVIEWS = YES; GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_FILE = "Behavior/Supporting Files/Info.plist"; + INFOPLIST_FILE = "Prisma/Supporting Files/Info.plist"; INFOPLIST_KEY_CFBundleDisplayName = Prisma; INFOPLIST_KEY_NSCameraUsageDescription = "This message should never appear. Please adjust this when you start using camera information. We have to put this in here as ResearchKit has the possibility to use it and not putting it here returns an error on AppStore Connect."; - INFOPLIST_KEY_NSHealthShareUsageDescription = "The Behavior uses the step count to demonstrate Spezi's integration with HealthKit."; - INFOPLIST_KEY_NSHealthUpdateUsageDescription = "The Behavior uses the step count to demonstrate Spezi's integration with HealthKit."; + INFOPLIST_KEY_NSHealthShareUsageDescription = "The Prisma uses the step count to demonstrate Spezi's integration with HealthKit."; + INFOPLIST_KEY_NSHealthUpdateUsageDescription = "The Prisma uses the step count to demonstrate Spezi's integration with HealthKit."; INFOPLIST_KEY_NSLocationAlwaysAndWhenInUseUsageDescription = "This message should never appear. Please adjust this when you start using location information. We have to put this in here as ResearchKit has the possibility to use it and not putting it here returns an error on AppStore Connect."; INFOPLIST_KEY_NSLocationWhenInUseUsageDescription = "This message should never appear. Please adjust this when you start using location information. We have to put this in here as ResearchKit has the possibility to use it and not putting it here returns an error on AppStore Connect."; INFOPLIST_KEY_NSMicrophoneUsageDescription = "This message should never appear. Please adjust this when you start using microphone information. We have to put this in here as ResearchKit has the possibility to use it and not putting it here returns an error on AppStore Connect."; INFOPLIST_KEY_NSMotionUsageDescription = "This message should never appear. Please adjust this when you start using motion information. We have to put this in here as ResearchKit has the possibility to use it and not putting it here returns an error on AppStore Connect."; INFOPLIST_KEY_NSSpeechRecognitionUsageDescription = "This message should never appear. Please adjust this when you start using speecg information. We have to put this in here as ResearchKit has the possibility to use it and not putting it here returns an error on AppStore Connect."; - INFOPLIST_KEY_UIBehaviorlicationSceneManifest_Generation = YES; - INFOPLIST_KEY_UIBehaviorlicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UIPrismalicationSceneManifest_Generation = YES; + INFOPLIST_KEY_UIPrismalicationSupportsIndirectInputEvents = YES; INFOPLIST_KEY_UILaunchScreen_Generation = YES; INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait; INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown"; @@ -1010,7 +1010,7 @@ SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; SUPPORTS_MACCATALYST = NO; SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; - "SWIFT_ELicenseRef-Behavior_LOC_STRINGS" = YES; + "SWIFT_ELicenseRef-Prisma_LOC_STRINGS" = YES; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = 1; @@ -1022,7 +1022,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - CODE_SIGN_ENTITLEMENTS = "Behavior/Supporting Files/Behavior.entitlements"; + CODE_SIGN_ENTITLEMENTS = "Prisma/Supporting Files/Prisma.entitlements"; CODE_SIGN_IDENTITY = "Apple Development"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution"; CODE_SIGN_STYLE = Manual; @@ -1032,18 +1032,18 @@ "DEVELOPMENT_TEAM[sdk=iphoneos*]" = 637867499T; ENABLE_PREVIEWS = YES; GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_FILE = "Behavior/Supporting Files/Info.plist"; + INFOPLIST_FILE = "Prisma/Supporting Files/Info.plist"; INFOPLIST_KEY_CFBundleDisplayName = Prisma; INFOPLIST_KEY_NSCameraUsageDescription = "This message should never appear. Please adjust this when you start using camera information. We have to put this in here as ResearchKit has the possibility to use it and not putting it here returns an error on AppStore Connect."; - INFOPLIST_KEY_NSHealthShareUsageDescription = "The Behavior uses the step count to demonstrate Spezi's integration with HealthKit."; - INFOPLIST_KEY_NSHealthUpdateUsageDescription = "The Behavior uses the step count to demonstrate Spezi's integration with HealthKit."; + INFOPLIST_KEY_NSHealthShareUsageDescription = "The Prisma uses the step count to demonstrate Spezi's integration with HealthKit."; + INFOPLIST_KEY_NSHealthUpdateUsageDescription = "The Prisma uses the step count to demonstrate Spezi's integration with HealthKit."; INFOPLIST_KEY_NSLocationAlwaysAndWhenInUseUsageDescription = "This message should never appear. Please adjust this when you start using location information. We have to put this in here as ResearchKit has the possibility to use it and not putting it here returns an error on AppStore Connect."; INFOPLIST_KEY_NSLocationWhenInUseUsageDescription = "This message should never appear. Please adjust this when you start using location information. We have to put this in here as ResearchKit has the possibility to use it and not putting it here returns an error on AppStore Connect."; INFOPLIST_KEY_NSMicrophoneUsageDescription = "This message should never appear. Please adjust this when you start using microphone information. We have to put this in here as ResearchKit has the possibility to use it and not putting it here returns an error on AppStore Connect."; INFOPLIST_KEY_NSMotionUsageDescription = "This message should never appear. Please adjust this when you start using motion information. We have to put this in here as ResearchKit has the possibility to use it and not putting it here returns an error on AppStore Connect."; INFOPLIST_KEY_NSSpeechRecognitionUsageDescription = "This message should never appear. Please adjust this when you start using speecg information. We have to put this in here as ResearchKit has the possibility to use it and not putting it here returns an error on AppStore Connect."; - INFOPLIST_KEY_UIBehaviorlicationSceneManifest_Generation = YES; - INFOPLIST_KEY_UIBehaviorlicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UIPrismalicationSceneManifest_Generation = YES; + INFOPLIST_KEY_UIPrismalicationSupportsIndirectInputEvents = YES; INFOPLIST_KEY_UILaunchScreen_Generation = YES; INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait; INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown"; @@ -1060,7 +1060,7 @@ SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; SUPPORTS_MACCATALYST = NO; SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; - "SWIFT_ELicenseRef-Behavior_LOC_STRINGS" = YES; + "SWIFT_ELicenseRef-Prisma_LOC_STRINGS" = YES; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = 1; @@ -1080,10 +1080,10 @@ MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = edu.stanford.cs342.2024.behavior.tests; PRODUCT_NAME = "$(TARGET_NAME)"; - "SWIFT_ELicenseRef-Behavior_LOC_STRINGS" = NO; + "SWIFT_ELicenseRef-Prisma_LOC_STRINGS" = NO; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Behavior.app/Behavior"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Prisma.app/Prisma"; }; name = Debug; }; @@ -1100,10 +1100,10 @@ MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = edu.stanford.cs342.2024.behavior.tests; PRODUCT_NAME = "$(TARGET_NAME)"; - "SWIFT_ELicenseRef-Behavior_LOC_STRINGS" = NO; + "SWIFT_ELicenseRef-Prisma_LOC_STRINGS" = NO; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Behavior.app/Behavior"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Prisma.app/Prisma"; }; name = Release; }; @@ -1119,10 +1119,10 @@ MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = edu.stanford.cs342.2024.behavior.uitests; PRODUCT_NAME = "$(TARGET_NAME)"; - "SWIFT_ELicenseRef-Behavior_LOC_STRINGS" = NO; + "SWIFT_ELicenseRef-Prisma_LOC_STRINGS" = NO; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; - TEST_TARGET_NAME = Behavior; + TEST_TARGET_NAME = Prisma; }; name = Debug; }; @@ -1138,17 +1138,17 @@ MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = edu.stanford.cs342.2024.behavior.uitests; PRODUCT_NAME = "$(TARGET_NAME)"; - "SWIFT_ELicenseRef-Behavior_LOC_STRINGS" = NO; + "SWIFT_ELicenseRef-Prisma_LOC_STRINGS" = NO; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; - TEST_TARGET_NAME = Behavior; + TEST_TARGET_NAME = Prisma; }; name = Release; }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - 653A2548283387FE005D4D48 /* Build configuration list for PBXProject "Behavior" */ = { + 653A2548283387FE005D4D48 /* Build configuration list for PBXProject "Prisma" */ = { isa = XCConfigurationList; buildConfigurations = ( 653A256F28338800005D4D48 /* Debug */, @@ -1158,7 +1158,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 653A257128338800005D4D48 /* Build configuration list for PBXNativeTarget "Behavior" */ = { + 653A257128338800005D4D48 /* Build configuration list for PBXNativeTarget "Prisma" */ = { isa = XCConfigurationList; buildConfigurations = ( 653A257228338800005D4D48 /* Debug */, @@ -1168,7 +1168,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 653A257428338800005D4D48 /* Build configuration list for PBXNativeTarget "BehaviorTests" */ = { + 653A257428338800005D4D48 /* Build configuration list for PBXNativeTarget "PrismaTests" */ = { isa = XCConfigurationList; buildConfigurations = ( 653A257528338800005D4D48 /* Debug */, @@ -1178,7 +1178,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 653A257728338800005D4D48 /* Build configuration list for PBXNativeTarget "BehaviorUITests" */ = { + 653A257728338800005D4D48 /* Build configuration list for PBXNativeTarget "PrismaUITests" */ = { isa = XCConfigurationList; buildConfigurations = ( 653A257828338800005D4D48 /* Debug */, diff --git a/Prisma.xcodeproj/project.pbxproj.license b/Prisma.xcodeproj/project.pbxproj.license new file mode 100644 index 0000000..79fa51c --- /dev/null +++ b/Prisma.xcodeproj/project.pbxproj.license @@ -0,0 +1,6 @@ + +This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project + +SPDX-FileCopyrightText: 2023 Stanford University + +SPDX-License-Identifier: MIT diff --git a/Behavior.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Prisma.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 100% rename from Behavior.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to Prisma.xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/Prisma.xcodeproj/project.xcworkspace/contents.xcworkspacedata.license b/Prisma.xcodeproj/project.xcworkspace/contents.xcworkspacedata.license new file mode 100644 index 0000000..79fa51c --- /dev/null +++ b/Prisma.xcodeproj/project.xcworkspace/contents.xcworkspacedata.license @@ -0,0 +1,6 @@ + +This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project + +SPDX-FileCopyrightText: 2023 Stanford University + +SPDX-License-Identifier: MIT diff --git a/Behavior.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Prisma.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from Behavior.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to Prisma.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/Prisma.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist.license b/Prisma.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist.license new file mode 100644 index 0000000..79fa51c --- /dev/null +++ b/Prisma.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist.license @@ -0,0 +1,6 @@ + +This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project + +SPDX-FileCopyrightText: 2023 Stanford University + +SPDX-License-Identifier: MIT diff --git a/Behavior.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/Prisma.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved similarity index 100% rename from Behavior.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved rename to Prisma.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved diff --git a/Prisma.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved.license b/Prisma.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved.license new file mode 100644 index 0000000..79fa51c --- /dev/null +++ b/Prisma.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved.license @@ -0,0 +1,6 @@ + +This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project + +SPDX-FileCopyrightText: 2023 Stanford University + +SPDX-License-Identifier: MIT diff --git a/Behavior.xcodeproj/xcshareddata/xcschemes/Behavior.xcscheme b/Prisma.xcodeproj/xcshareddata/xcschemes/Prisma.xcscheme similarity index 81% rename from Behavior.xcodeproj/xcshareddata/xcschemes/Behavior.xcscheme rename to Prisma.xcodeproj/xcshareddata/xcschemes/Prisma.xcscheme index e1f44cd..71b8ac8 100644 --- a/Behavior.xcodeproj/xcshareddata/xcschemes/Behavior.xcscheme +++ b/Prisma.xcodeproj/xcshareddata/xcschemes/Prisma.xcscheme @@ -15,9 +15,9 @@ + BuildableName = "Prisma.app" + BlueprintName = "Prisma" + ReferencedContainer = "container:Prisma.xcodeproj"> @@ -29,7 +29,7 @@ shouldUseLaunchSchemeArgsEnv = "YES"> @@ -39,9 +39,9 @@ + BuildableName = "PrismaTests.xctest" + BlueprintName = "PrismaTests" + ReferencedContainer = "container:Prisma.xcodeproj"> + BuildableName = "PrismaUITests.xctest" + BlueprintName = "PrismaUITests" + ReferencedContainer = "container:Prisma.xcodeproj"> @@ -71,9 +71,9 @@ + BuildableName = "Prisma.app" + BlueprintName = "Prisma" + ReferencedContainer = "container:Prisma.xcodeproj"> @@ -110,9 +110,9 @@ + BuildableName = "Prisma.app" + BlueprintName = "Prisma" + ReferencedContainer = "container:Prisma.xcodeproj"> diff --git a/Prisma.xcodeproj/xcshareddata/xcschemes/Prisma.xcscheme.license b/Prisma.xcodeproj/xcshareddata/xcschemes/Prisma.xcscheme.license new file mode 100644 index 0000000..79fa51c --- /dev/null +++ b/Prisma.xcodeproj/xcshareddata/xcschemes/Prisma.xcscheme.license @@ -0,0 +1,6 @@ + +This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project + +SPDX-FileCopyrightText: 2023 Stanford University + +SPDX-License-Identifier: MIT diff --git a/Behavior.xctestplan b/Prisma.xctestplan similarity index 65% rename from Behavior.xctestplan rename to Prisma.xctestplan index cafb397..5801c7b 100644 --- a/Behavior.xctestplan +++ b/Prisma.xctestplan @@ -10,24 +10,24 @@ ], "defaultOptions" : { "targetForVariableExpansion" : { - "containerPath" : "container:Behavior.xcodeproj", + "containerPath" : "container:Prisma.xcodeproj", "identifier" : "653A254C283387FE005D4D48", - "name" : "Behavior" + "name" : "Prisma" } }, "testTargets" : [ { "target" : { - "containerPath" : "container:Behavior.xcodeproj", + "containerPath" : "container:Prisma.xcodeproj", "identifier" : "653A255C28338800005D4D48", - "name" : "BehaviorTests" + "name" : "PrismaTests" } }, { "target" : { - "containerPath" : "container:Behavior.xcodeproj", + "containerPath" : "container:Prisma.xcodeproj", "identifier" : "653A256628338800005D4D48", - "name" : "BehaviorUITests" + "name" : "PrismaUITests" } } ], diff --git a/Prisma.xctestplan.license b/Prisma.xctestplan.license new file mode 100644 index 0000000..79fa51c --- /dev/null +++ b/Prisma.xctestplan.license @@ -0,0 +1,6 @@ + +This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project + +SPDX-FileCopyrightText: 2023 Stanford University + +SPDX-License-Identifier: MIT diff --git a/Behavior/Account/AccountButton.swift b/Prisma/Account/AccountButton.swift similarity index 85% rename from Behavior/Account/AccountButton.swift rename to Prisma/Account/AccountButton.swift index dc1bf32..5e79683 100644 --- a/Behavior/Account/AccountButton.swift +++ b/Prisma/Account/AccountButton.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Behavior based on the Stanford Spezi Template Application project +// This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/Behavior/Account/AccountSetupHeader.swift b/Prisma/Account/AccountSetupHeader.swift similarity index 87% rename from Behavior/Account/AccountSetupHeader.swift rename to Prisma/Account/AccountSetupHeader.swift index 718103c..9159e3d 100644 --- a/Behavior/Account/AccountSetupHeader.swift +++ b/Prisma/Account/AccountSetupHeader.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Behavior based on the Stanford Spezi Template Application project +// This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/Behavior/Account/AccountSheet.swift b/Prisma/Account/AccountSheet.swift similarity index 95% rename from Behavior/Account/AccountSheet.swift rename to Prisma/Account/AccountSheet.swift index f5bfaf1..1df61dd 100644 --- a/Behavior/Account/AccountSheet.swift +++ b/Prisma/Account/AccountSheet.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford Spezi Template Application open-source project +// This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/Behavior/Chat/ChatView.swift b/Prisma/Chat/ChatView.swift similarity index 87% rename from Behavior/Chat/ChatView.swift rename to Prisma/Chat/ChatView.swift index 8bb5d95..2ddb39f 100644 --- a/Behavior/Chat/ChatView.swift +++ b/Prisma/Chat/ChatView.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford Spezi Template Application project +// This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/Behavior/Contacts/Contacts.swift b/Prisma/Contacts/Contacts.swift similarity index 95% rename from Behavior/Contacts/Contacts.swift rename to Prisma/Contacts/Contacts.swift index 5fb31b7..9db21bf 100644 --- a/Behavior/Contacts/Contacts.swift +++ b/Prisma/Contacts/Contacts.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Behavior based on the Stanford Spezi Template Application project +// This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project // // SPDX-FileCopyrightText: 2023 Stanford University // @@ -11,7 +11,7 @@ import SpeziContact import SwiftUI -/// Displays the contacts for the Behavior. +/// Displays the contacts for the Prisma. struct Contacts: View { let contacts = [ Contact( diff --git a/Behavior/Contributions/ContributionsList.swift b/Prisma/Contributions/ContributionsList.swift similarity index 92% rename from Behavior/Contributions/ContributionsList.swift rename to Prisma/Contributions/ContributionsList.swift index c61880e..a081273 100644 --- a/Behavior/Contributions/ContributionsList.swift +++ b/Prisma/Contributions/ContributionsList.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Behavior based on the Stanford Spezi Template Application project +// This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/Behavior/Contributions/Package+LicenseType.swift b/Prisma/Contributions/Package+LicenseType.swift similarity index 96% rename from Behavior/Contributions/Package+LicenseType.swift rename to Prisma/Contributions/Package+LicenseType.swift index 4554f76..1b778fb 100644 --- a/Behavior/Contributions/Package+LicenseType.swift +++ b/Prisma/Contributions/Package+LicenseType.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Behavior based on the Stanford Spezi Template Application project +// This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/Behavior/Contributions/PackageCell.swift b/Prisma/Contributions/PackageCell.swift similarity index 94% rename from Behavior/Contributions/PackageCell.swift rename to Prisma/Contributions/PackageCell.swift index b009ee6..684dc98 100644 --- a/Behavior/Contributions/PackageCell.swift +++ b/Prisma/Contributions/PackageCell.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Behavior based on the Stanford Spezi Template Application project +// This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/Behavior/Contributions/PackageHelper.swift b/Prisma/Contributions/PackageHelper.swift similarity index 82% rename from Behavior/Contributions/PackageHelper.swift rename to Prisma/Contributions/PackageHelper.swift index eb3b721..1a6fa54 100644 --- a/Behavior/Contributions/PackageHelper.swift +++ b/Prisma/Contributions/PackageHelper.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Behavior based on the Stanford Spezi Template Application project +// This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/Behavior/Helper/Binding+Negate.swift b/Prisma/Helper/Binding+Negate.swift similarity index 75% rename from Behavior/Helper/Binding+Negate.swift rename to Prisma/Helper/Binding+Negate.swift index c50355b..2b12d1b 100644 --- a/Behavior/Helper/Binding+Negate.swift +++ b/Prisma/Helper/Binding+Negate.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Behavior based on the Stanford Spezi Template Application project +// This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/Behavior/Helper/Bundle+Image.swift b/Prisma/Helper/Bundle+Image.swift similarity index 88% rename from Behavior/Helper/Bundle+Image.swift rename to Prisma/Helper/Bundle+Image.swift index edcf5c2..a6afa9c 100644 --- a/Behavior/Helper/Bundle+Image.swift +++ b/Prisma/Helper/Bundle+Image.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Behavior based on the Stanford Spezi Template Application project +// This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/Behavior/Helper/CodableArray+RawRepresentable.swift b/Prisma/Helper/CodableArray+RawRepresentable.swift similarity index 84% rename from Behavior/Helper/CodableArray+RawRepresentable.swift rename to Prisma/Helper/CodableArray+RawRepresentable.swift index 5dad9bf..98b8d30 100644 --- a/Behavior/Helper/CodableArray+RawRepresentable.swift +++ b/Prisma/Helper/CodableArray+RawRepresentable.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Behavior based on the Stanford Spezi Template Application project +// This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/Behavior/Home.swift b/Prisma/Home.swift similarity index 89% rename from Behavior/Home.swift rename to Prisma/Home.swift index 2baa307..3302616 100644 --- a/Behavior/Home.swift +++ b/Prisma/Home.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Behavior based on the Stanford Spezi Template Application project +// This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project // // SPDX-FileCopyrightText: 2023 Stanford University // @@ -71,8 +71,8 @@ struct HomeView: View { .set(\.name, value: PersonNameComponents(givenName: "Leland", familyName: "Stanford")) return HomeView() - .previewWith(standard: BehaviorStandard()) { - BehaviorScheduler() + .previewWith(standard: PrismaStandard()) { + PrismaScheduler() MockWebService() AccountConfiguration(building: details, active: MockUserIdPasswordAccountService()) } @@ -81,8 +81,8 @@ struct HomeView: View { #Preview { CommandLine.arguments.append("--disableFirebase") // make sure the MockWebService is displayed return HomeView() - .previewWith(standard: BehaviorStandard()) { - BehaviorScheduler() + .previewWith(standard: PrismaStandard()) { + PrismaScheduler() MockWebService() AccountConfiguration { MockUserIdPasswordAccountService() diff --git a/Behavior/MockUpload/MockUpload.swift b/Prisma/MockUpload/MockUpload.swift similarity index 86% rename from Behavior/MockUpload/MockUpload.swift rename to Prisma/MockUpload/MockUpload.swift index c9b7535..1137adf 100644 --- a/Behavior/MockUpload/MockUpload.swift +++ b/Prisma/MockUpload/MockUpload.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Behavior based on the Stanford Spezi Template Application project +// This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/Behavior/Onboarding/AccountOnboarding.swift b/Prisma/Onboarding/AccountOnboarding.swift similarity index 93% rename from Behavior/Onboarding/AccountOnboarding.swift rename to Prisma/Onboarding/AccountOnboarding.swift index 780b49a..4efef49 100644 --- a/Behavior/Onboarding/AccountOnboarding.swift +++ b/Prisma/Onboarding/AccountOnboarding.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Behavior based on the Stanford Spezi Template Application project +// This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/Behavior/Onboarding/Features.swift b/Prisma/Onboarding/Features.swift similarity index 94% rename from Behavior/Onboarding/Features.swift rename to Prisma/Onboarding/Features.swift index 9f5b52f..adabec1 100644 --- a/Behavior/Onboarding/Features.swift +++ b/Prisma/Onboarding/Features.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Behavior based on the Stanford Spezi Template Application project +// This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/Behavior/Onboarding/HealthKitPermissions.swift b/Prisma/Onboarding/HealthKitPermissions.swift similarity index 93% rename from Behavior/Onboarding/HealthKitPermissions.swift rename to Prisma/Onboarding/HealthKitPermissions.swift index 3edab32..4002294 100644 --- a/Behavior/Onboarding/HealthKitPermissions.swift +++ b/Prisma/Onboarding/HealthKitPermissions.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Behavior based on the Stanford Spezi Template Application project +// This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project // // SPDX-FileCopyrightText: 2023 Stanford University // @@ -70,7 +70,7 @@ struct HealthKitPermissions: View { OnboardingStack { HealthKitPermissions() } - .previewWith(standard: BehaviorStandard()) { + .previewWith(standard: PrismaStandard()) { HealthKit() } } diff --git a/Behavior/Onboarding/NotificationPermissions.swift b/Prisma/Onboarding/NotificationPermissions.swift similarity index 92% rename from Behavior/Onboarding/NotificationPermissions.swift rename to Prisma/Onboarding/NotificationPermissions.swift index 18e5ba1..812dc9f 100644 --- a/Behavior/Onboarding/NotificationPermissions.swift +++ b/Prisma/Onboarding/NotificationPermissions.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Behavior based on the Stanford Spezi Template Application project +// This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project // // SPDX-FileCopyrightText: 2023 Stanford University // @@ -12,7 +12,7 @@ import SwiftUI struct NotificationPermissions: View { - @Environment(BehaviorScheduler.self) private var scheduler + @Environment(PrismaScheduler.self) private var scheduler @Environment(OnboardingNavigationPath.self) private var onboardingNavigationPath @State private var notificationProcessing = false @@ -71,7 +71,7 @@ struct NotificationPermissions: View { NotificationPermissions() } .previewWith { - BehaviorScheduler() + PrismaScheduler() } } #endif diff --git a/Behavior/Onboarding/OnboardingFlow.swift b/Prisma/Onboarding/OnboardingFlow.swift similarity index 84% rename from Behavior/Onboarding/OnboardingFlow.swift rename to Prisma/Onboarding/OnboardingFlow.swift index 2561f0c..e6af40f 100644 --- a/Behavior/Onboarding/OnboardingFlow.swift +++ b/Prisma/Onboarding/OnboardingFlow.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Behavior based on the Stanford Spezi Template Application project +// This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project // // SPDX-FileCopyrightText: 2023 Stanford University // @@ -13,10 +13,10 @@ import SpeziOnboarding import SwiftUI -/// Displays an multi-step onboarding flow for the Behavior. +/// Displays an multi-step onboarding flow for the Prisma. struct OnboardingFlow: View { @Environment(HealthKit.self) private var healthKitDataSource - @Environment(BehaviorScheduler.self) private var scheduler + @Environment(PrismaScheduler.self) private var scheduler @AppStorage(StorageKeys.onboardingFlowComplete) private var completedOnboardingFlow = false @@ -62,14 +62,14 @@ struct OnboardingFlow: View { #Preview { OnboardingFlow() .environment(Account(MockUserIdPasswordAccountService())) - .previewWith(standard: BehaviorStandard()) { + .previewWith(standard: PrismaStandard()) { OnboardingDataSource() HealthKit() AccountConfiguration { MockUserIdPasswordAccountService() } - BehaviorScheduler() + PrismaScheduler() } } #endif diff --git a/Behavior/Onboarding/Welcome.swift b/Prisma/Onboarding/Welcome.swift similarity index 94% rename from Behavior/Onboarding/Welcome.swift rename to Prisma/Onboarding/Welcome.swift index d34d8dc..c728f0f 100644 --- a/Behavior/Onboarding/Welcome.swift +++ b/Prisma/Onboarding/Welcome.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Behavior based on the Stanford Spezi Template Application project +// This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/Behavior/Behavior.swift b/Prisma/Prisma.swift similarity index 76% rename from Behavior/Behavior.swift rename to Prisma/Prisma.swift index 3a86553..7d4663e 100644 --- a/Behavior/Behavior.swift +++ b/Prisma/Prisma.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Behavior based on the Stanford Spezi Template Application project +// This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project // // SPDX-FileCopyrightText: 2023 Stanford University // @@ -12,8 +12,8 @@ import SwiftUI @main -struct Behavior: App { - @UIApplicationDelegateAdaptor(BehaviorDelegate.self) var appDelegate +struct Prisma: App { + @UIApplicationDelegateAdaptor(PrismaDelegate.self) var appDelegate @AppStorage(StorageKeys.onboardingFlowComplete) var completedOnboardingFlow = false diff --git a/Behavior/BehaviorDelegate.swift b/Prisma/PrismaDelegate.swift similarity index 92% rename from Behavior/BehaviorDelegate.swift rename to Prisma/PrismaDelegate.swift index 2690368..bffda85 100644 --- a/Behavior/BehaviorDelegate.swift +++ b/Prisma/PrismaDelegate.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Behavior based on the Stanford Spezi Template Application project +// This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project // // SPDX-FileCopyrightText: 2023 Stanford University // @@ -18,9 +18,9 @@ import SpeziScheduler import SwiftUI -class BehaviorDelegate: SpeziAppDelegate { +class PrismaDelegate: SpeziAppDelegate { override var configuration: Configuration { - Configuration(standard: BehaviorStandard()) { + Configuration(standard: PrismaStandard()) { if !FeatureFlags.disableFirebase { AccountConfiguration(configuration: [ .requires(\.userId), @@ -48,7 +48,7 @@ class BehaviorDelegate: SpeziAppDelegate { if HKHealthStore.isHealthDataAvailable() { healthKit } - BehaviorScheduler() + PrismaScheduler() OnboardingDataSource() } } diff --git a/Behavior/BehaviorTestingSetup.swift b/Prisma/PrismaTestingSetup.swift similarity index 73% rename from Behavior/BehaviorTestingSetup.swift rename to Prisma/PrismaTestingSetup.swift index 0c40b58..6a8c8c1 100644 --- a/Behavior/BehaviorTestingSetup.swift +++ b/Prisma/PrismaTestingSetup.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Behavior based on the Stanford Spezi Template Application project +// This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project // // SPDX-FileCopyrightText: 2023 Stanford University // @@ -9,7 +9,7 @@ import SwiftUI -private struct BehaviorAppTestingSetup: ViewModifier { +private struct PrismaAppTestingSetup: ViewModifier { @AppStorage(StorageKeys.onboardingFlowComplete) var completedOnboardingFlow = false @@ -29,6 +29,6 @@ private struct BehaviorAppTestingSetup: ViewModifier { extension View { func testingSetup() -> some View { - self.modifier(BehaviorAppTestingSetup()) + self.modifier(PrismaAppTestingSetup()) } } diff --git a/Behavior/Resources/AppIcon-NoBG.png b/Prisma/Resources/AppIcon-NoBG.png similarity index 100% rename from Behavior/Resources/AppIcon-NoBG.png rename to Prisma/Resources/AppIcon-NoBG.png diff --git a/Prisma/Resources/AppIcon-NoBG.png.license b/Prisma/Resources/AppIcon-NoBG.png.license new file mode 100644 index 0000000..79fa51c --- /dev/null +++ b/Prisma/Resources/AppIcon-NoBG.png.license @@ -0,0 +1,6 @@ + +This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project + +SPDX-FileCopyrightText: 2023 Stanford University + +SPDX-License-Identifier: MIT diff --git a/Behavior/Resources/AppIcon.png b/Prisma/Resources/AppIcon.png similarity index 100% rename from Behavior/Resources/AppIcon.png rename to Prisma/Resources/AppIcon.png diff --git a/Prisma/Resources/AppIcon.png.license b/Prisma/Resources/AppIcon.png.license new file mode 100644 index 0000000..79fa51c --- /dev/null +++ b/Prisma/Resources/AppIcon.png.license @@ -0,0 +1,6 @@ + +This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project + +SPDX-FileCopyrightText: 2023 Stanford University + +SPDX-License-Identifier: MIT diff --git a/Behavior/Resources/Assets.xcassets/AccentColor.colorset/Contents.json b/Prisma/Resources/Assets.xcassets/AccentColor.colorset/Contents.json similarity index 100% rename from Behavior/Resources/Assets.xcassets/AccentColor.colorset/Contents.json rename to Prisma/Resources/Assets.xcassets/AccentColor.colorset/Contents.json diff --git a/Prisma/Resources/Assets.xcassets/AccentColor.colorset/Contents.json.license b/Prisma/Resources/Assets.xcassets/AccentColor.colorset/Contents.json.license new file mode 100644 index 0000000..79fa51c --- /dev/null +++ b/Prisma/Resources/Assets.xcassets/AccentColor.colorset/Contents.json.license @@ -0,0 +1,6 @@ + +This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project + +SPDX-FileCopyrightText: 2023 Stanford University + +SPDX-License-Identifier: MIT diff --git a/Behavior/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon.png b/Prisma/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon.png similarity index 100% rename from Behavior/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon.png rename to Prisma/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon.png diff --git a/Prisma/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon.png.license b/Prisma/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon.png.license new file mode 100644 index 0000000..79fa51c --- /dev/null +++ b/Prisma/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon.png.license @@ -0,0 +1,6 @@ + +This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project + +SPDX-FileCopyrightText: 2023 Stanford University + +SPDX-License-Identifier: MIT diff --git a/Behavior/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json b/Prisma/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from Behavior/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json rename to Prisma/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/Prisma/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json.license b/Prisma/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json.license new file mode 100644 index 0000000..79fa51c --- /dev/null +++ b/Prisma/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json.license @@ -0,0 +1,6 @@ + +This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project + +SPDX-FileCopyrightText: 2023 Stanford University + +SPDX-License-Identifier: MIT diff --git a/Behavior/Resources/Assets.xcassets/AppIconNoBG.appiconset/AppIcon-NoBG.png b/Prisma/Resources/Assets.xcassets/AppIconNoBG.appiconset/AppIcon-NoBG.png similarity index 100% rename from Behavior/Resources/Assets.xcassets/AppIconNoBG.appiconset/AppIcon-NoBG.png rename to Prisma/Resources/Assets.xcassets/AppIconNoBG.appiconset/AppIcon-NoBG.png diff --git a/Prisma/Resources/Assets.xcassets/AppIconNoBG.appiconset/AppIcon-NoBG.png.license b/Prisma/Resources/Assets.xcassets/AppIconNoBG.appiconset/AppIcon-NoBG.png.license new file mode 100644 index 0000000..79fa51c --- /dev/null +++ b/Prisma/Resources/Assets.xcassets/AppIconNoBG.appiconset/AppIcon-NoBG.png.license @@ -0,0 +1,6 @@ + +This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project + +SPDX-FileCopyrightText: 2023 Stanford University + +SPDX-License-Identifier: MIT diff --git a/Behavior/Resources/Assets.xcassets/AppIconNoBG.appiconset/Contents.json b/Prisma/Resources/Assets.xcassets/AppIconNoBG.appiconset/Contents.json similarity index 100% rename from Behavior/Resources/Assets.xcassets/AppIconNoBG.appiconset/Contents.json rename to Prisma/Resources/Assets.xcassets/AppIconNoBG.appiconset/Contents.json diff --git a/Prisma/Resources/Assets.xcassets/AppIconNoBG.appiconset/Contents.json.license b/Prisma/Resources/Assets.xcassets/AppIconNoBG.appiconset/Contents.json.license new file mode 100644 index 0000000..79fa51c --- /dev/null +++ b/Prisma/Resources/Assets.xcassets/AppIconNoBG.appiconset/Contents.json.license @@ -0,0 +1,6 @@ + +This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project + +SPDX-FileCopyrightText: 2023 Stanford University + +SPDX-License-Identifier: MIT diff --git a/Behavior/Resources/Assets.xcassets/Contents.json b/Prisma/Resources/Assets.xcassets/Contents.json similarity index 100% rename from Behavior/Resources/Assets.xcassets/Contents.json rename to Prisma/Resources/Assets.xcassets/Contents.json diff --git a/Prisma/Resources/Assets.xcassets/Contents.json.license b/Prisma/Resources/Assets.xcassets/Contents.json.license new file mode 100644 index 0000000..79fa51c --- /dev/null +++ b/Prisma/Resources/Assets.xcassets/Contents.json.license @@ -0,0 +1,6 @@ + +This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project + +SPDX-FileCopyrightText: 2023 Stanford University + +SPDX-License-Identifier: MIT diff --git a/Behavior/Resources/ConsentDocument.md b/Prisma/Resources/ConsentDocument.md similarity index 100% rename from Behavior/Resources/ConsentDocument.md rename to Prisma/Resources/ConsentDocument.md diff --git a/Prisma/Resources/ConsentDocument.md.license b/Prisma/Resources/ConsentDocument.md.license new file mode 100644 index 0000000..79fa51c --- /dev/null +++ b/Prisma/Resources/ConsentDocument.md.license @@ -0,0 +1,6 @@ + +This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project + +SPDX-FileCopyrightText: 2023 Stanford University + +SPDX-License-Identifier: MIT diff --git a/Behavior/Resources/Localizable.xcstrings b/Prisma/Resources/Localizable.xcstrings similarity index 98% rename from Behavior/Resources/Localizable.xcstrings rename to Prisma/Resources/Localizable.xcstrings index b42377e..9c659aa 100644 --- a/Behavior/Resources/Localizable.xcstrings +++ b/Prisma/Resources/Localizable.xcstrings @@ -125,7 +125,7 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "The following list contains all Swift Package dependencies of the SpeziBehavior." + "value" : "The following list contains all Swift Package dependencies of the SpeziPrisma." } } } @@ -400,7 +400,6 @@ } }, "NOTIFICATION_PERMISSIONS_BUTTON" : { - "extractionState" : "stale", "localizations" : { "en" : { "stringUnit" : { @@ -411,7 +410,6 @@ } }, "NOTIFICATION_PERMISSIONS_DESCRIPTION" : { - "extractionState" : "stale", "localizations" : { "en" : { "stringUnit" : { @@ -422,7 +420,6 @@ } }, "NOTIFICATION_PERMISSIONS_SUBTITLE" : { - "extractionState" : "stale", "localizations" : { "en" : { "stringUnit" : { @@ -434,7 +431,6 @@ }, "NOTIFICATION_PERMISSIONS_TITLE" : { "comment" : "MARK: Notifications", - "extractionState" : "stale", "localizations" : { "en" : { "stringUnit" : { diff --git a/Prisma/Resources/Localizable.xcstrings.license b/Prisma/Resources/Localizable.xcstrings.license new file mode 100644 index 0000000..79fa51c --- /dev/null +++ b/Prisma/Resources/Localizable.xcstrings.license @@ -0,0 +1,6 @@ + +This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project + +SPDX-FileCopyrightText: 2023 Stanford University + +SPDX-License-Identifier: MIT diff --git a/Prisma/Resources/SocialSupportQuestionnaire.json.license b/Prisma/Resources/SocialSupportQuestionnaire.json.license new file mode 100644 index 0000000..79fa51c --- /dev/null +++ b/Prisma/Resources/SocialSupportQuestionnaire.json.license @@ -0,0 +1,6 @@ + +This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project + +SPDX-FileCopyrightText: 2023 Stanford University + +SPDX-License-Identifier: MIT diff --git a/Behavior/Resources/afternoon-en-US.json b/Prisma/Resources/afternoon-en-US.json similarity index 100% rename from Behavior/Resources/afternoon-en-US.json rename to Prisma/Resources/afternoon-en-US.json diff --git a/Prisma/Resources/afternoon-en-US.json.license b/Prisma/Resources/afternoon-en-US.json.license new file mode 100644 index 0000000..79fa51c --- /dev/null +++ b/Prisma/Resources/afternoon-en-US.json.license @@ -0,0 +1,6 @@ + +This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project + +SPDX-FileCopyrightText: 2023 Stanford University + +SPDX-License-Identifier: MIT diff --git a/Behavior/Resources/end-of-day-en-US.json b/Prisma/Resources/end-of-day-en-US.json similarity index 100% rename from Behavior/Resources/end-of-day-en-US.json rename to Prisma/Resources/end-of-day-en-US.json diff --git a/Prisma/Resources/end-of-day-en-US.json.license b/Prisma/Resources/end-of-day-en-US.json.license new file mode 100644 index 0000000..79fa51c --- /dev/null +++ b/Prisma/Resources/end-of-day-en-US.json.license @@ -0,0 +1,6 @@ + +This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project + +SPDX-FileCopyrightText: 2023 Stanford University + +SPDX-License-Identifier: MIT diff --git a/Behavior/Resources/mid-day-en-US.json b/Prisma/Resources/mid-day-en-US.json similarity index 100% rename from Behavior/Resources/mid-day-en-US.json rename to Prisma/Resources/mid-day-en-US.json diff --git a/Prisma/Resources/mid-day-en-US.json.license b/Prisma/Resources/mid-day-en-US.json.license new file mode 100644 index 0000000..79fa51c --- /dev/null +++ b/Prisma/Resources/mid-day-en-US.json.license @@ -0,0 +1,6 @@ + +This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project + +SPDX-FileCopyrightText: 2023 Stanford University + +SPDX-License-Identifier: MIT diff --git a/Behavior/Resources/morning-en-US.json b/Prisma/Resources/morning-en-US.json similarity index 100% rename from Behavior/Resources/morning-en-US.json rename to Prisma/Resources/morning-en-US.json diff --git a/Prisma/Resources/morning-en-US.json.license b/Prisma/Resources/morning-en-US.json.license new file mode 100644 index 0000000..79fa51c --- /dev/null +++ b/Prisma/Resources/morning-en-US.json.license @@ -0,0 +1,6 @@ + +This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project + +SPDX-FileCopyrightText: 2023 Stanford University + +SPDX-License-Identifier: MIT diff --git a/Behavior/Schedule/Bundle+Questionnaire.swift b/Prisma/Schedule/Bundle+Questionnaire.swift similarity index 85% rename from Behavior/Schedule/Bundle+Questionnaire.swift rename to Prisma/Schedule/Bundle+Questionnaire.swift index 892f047..7340c78 100644 --- a/Behavior/Schedule/Bundle+Questionnaire.swift +++ b/Prisma/Schedule/Bundle+Questionnaire.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Behavior based on the Stanford Spezi Template Application project +// This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/Behavior/Schedule/EventContext/EventContext.swift b/Prisma/Schedule/EventContext/EventContext.swift similarity index 81% rename from Behavior/Schedule/EventContext/EventContext.swift rename to Prisma/Schedule/EventContext/EventContext.swift index ca69b5e..324ebb2 100644 --- a/Behavior/Schedule/EventContext/EventContext.swift +++ b/Prisma/Schedule/EventContext/EventContext.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Behavior based on the Stanford Spezi Template Application project +// This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project // // SPDX-FileCopyrightText: 2023 Stanford University // @@ -14,7 +14,7 @@ struct EventContext: Comparable, Identifiable { static let eventTimeout: TimeInterval = 60 * 60 // Timeout for user to answer the question is 1 hour. let event: Event - let task: SpeziScheduler.Task + let task: SpeziScheduler.Task var id: Event.ID { diff --git a/Behavior/Schedule/EventContext/EventContextCard.swift b/Prisma/Schedule/EventContext/EventContextCard.swift similarity index 91% rename from Behavior/Schedule/EventContext/EventContextCard.swift rename to Prisma/Schedule/EventContext/EventContextCard.swift index a374911..c84b94c 100644 --- a/Behavior/Schedule/EventContext/EventContextCard.swift +++ b/Prisma/Schedule/EventContext/EventContextCard.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford HPDS Application based on the Stanford Spezi Template Application +// This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project // // SPDX-FileCopyrightText: 2023 Stanford University // @@ -17,7 +17,7 @@ import SwiftUI struct EventContextCard: View { let eventContext: EventContext - @Environment(BehaviorStandard.self) private var standard + @Environment(PrismaStandard.self) private var standard @State private var presentedContext: EventContext? diff --git a/Behavior/Schedule/EventContext/EventContextView.swift b/Prisma/Schedule/EventContext/EventContextView.swift similarity index 96% rename from Behavior/Schedule/EventContext/EventContextView.swift rename to Prisma/Schedule/EventContext/EventContextView.swift index 42f0a8f..e2833f1 100644 --- a/Behavior/Schedule/EventContext/EventContextView.swift +++ b/Prisma/Schedule/EventContext/EventContextView.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Stanford HPDS Application based on the Stanford Spezi Template Application +// This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project // // SPDX-FileCopyrightText: 2023 Stanford University // @@ -142,7 +142,7 @@ struct EventContextView_Previews: PreviewProvider { // We use a force unwrap in the preview as we can not recover from an error here // and the code will never end up in a production environment. // swiftlint:disable:next force_unwrapping - private static let task = BehaviorScheduler().tasks.first! + private static let task = PrismaScheduler().tasks.first! static var previews: some View { diff --git a/Behavior/Schedule/ModalView.swift b/Prisma/Schedule/ModalView.swift similarity index 88% rename from Behavior/Schedule/ModalView.swift rename to Prisma/Schedule/ModalView.swift index 133b8bf..4b7f521 100644 --- a/Behavior/Schedule/ModalView.swift +++ b/Prisma/Schedule/ModalView.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Behavior based on the Stanford Spezi Template Application project +// This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/Behavior/Schedule/BehaviorScheduler.swift b/Prisma/Schedule/PrismaScheduler.swift similarity index 76% rename from Behavior/Schedule/BehaviorScheduler.swift rename to Prisma/Schedule/PrismaScheduler.swift index 454574a..7eb7b98 100644 --- a/Behavior/Schedule/BehaviorScheduler.swift +++ b/Prisma/Schedule/PrismaScheduler.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Behavior based on the Stanford Spezi Template Application project +// This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project // // SPDX-FileCopyrightText: 2023 Stanford University // @@ -10,12 +10,12 @@ import Foundation import SpeziScheduler -/// A `Scheduler` using the ``BehaviorTaskContext`` to schedule and manage tasks and events in the -/// Behavior. -typealias BehaviorScheduler = Scheduler +/// A `Scheduler` using the ``PrismaTaskContext`` to schedule and manage tasks and events in the +/// Prisma. +typealias PrismaScheduler = Scheduler /// These are placeholder surveys that should be replaced with project-relevant surveys later! -extension BehaviorScheduler { +extension PrismaScheduler { convenience init() { self.init( tasks: [ @@ -28,7 +28,7 @@ extension BehaviorScheduler { end: .numberOfEvents(356) ), notifications: true, - context: BehaviorTaskContext.questionnaire(Bundle.main.questionnaire(withName: "morning-en-US")) + context: PrismaTaskContext.questionnaire(Bundle.main.questionnaire(withName: "morning-en-US")) ), Task( title: String(localized: "MID_DAY_SURVEY_TITLE"), @@ -39,7 +39,7 @@ extension BehaviorScheduler { end: .numberOfEvents(356) ), notifications: true, - context: BehaviorTaskContext.questionnaire(Bundle.main.questionnaire(withName: "mid-day-en-US")) + context: PrismaTaskContext.questionnaire(Bundle.main.questionnaire(withName: "mid-day-en-US")) ), Task( title: String(localized: "AFTERNOON_SURVEY_TITLE"), @@ -50,7 +50,7 @@ extension BehaviorScheduler { end: .numberOfEvents(356) ), notifications: true, - context: BehaviorTaskContext.questionnaire(Bundle.main.questionnaire(withName: "afternoon-en-US")) + context: PrismaTaskContext.questionnaire(Bundle.main.questionnaire(withName: "afternoon-en-US")) ), Task( title: String(localized: "END_OF_THE_DAY_SURVEY_TITLE"), @@ -61,7 +61,7 @@ extension BehaviorScheduler { end: .numberOfEvents(356) ), notifications: true, - context: BehaviorTaskContext.questionnaire(Bundle.main.questionnaire(withName: "end-of-day-en-US")) + context: PrismaTaskContext.questionnaire(Bundle.main.questionnaire(withName: "end-of-day-en-US")) ) ] ) diff --git a/Behavior/Schedule/BehaviorTaskContext.swift b/Prisma/Schedule/PrismaTaskContext.swift similarity index 80% rename from Behavior/Schedule/BehaviorTaskContext.swift rename to Prisma/Schedule/PrismaTaskContext.swift index 51aacfc..0a8b185 100644 --- a/Behavior/Schedule/BehaviorTaskContext.swift +++ b/Prisma/Schedule/PrismaTaskContext.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Behavior based on the Stanford Spezi Template Application project +// This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project // // SPDX-FileCopyrightText: 2023 Stanford University // @@ -10,10 +10,10 @@ import Foundation import ModelsR4 -/// The context attached to each task in the Behavior. +/// The context attached to each task in the Prisma. /// /// We currently only support `Questionnaire`s, more cases can be added in the future. -enum BehaviorTaskContext: Codable, Identifiable { +enum PrismaTaskContext: Codable, Identifiable { /// The task should display a `Questionnaire`. case questionnaire(Questionnaire) /// The task is used for UI testing. diff --git a/Behavior/Schedule/ScheduleView.swift b/Prisma/Schedule/ScheduleView.swift similarity index 90% rename from Behavior/Schedule/ScheduleView.swift rename to Prisma/Schedule/ScheduleView.swift index 9e202ab..481ca95 100644 --- a/Behavior/Schedule/ScheduleView.swift +++ b/Prisma/Schedule/ScheduleView.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Behavior based on the Stanford Spezi Template Application project +// This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project // // SPDX-FileCopyrightText: 2023 Stanford University // @@ -13,7 +13,7 @@ import SwiftUI struct ScheduleView: View { - @Environment(BehaviorScheduler.self) private var scheduler + @Environment(PrismaScheduler.self) private var scheduler @Binding var presentingAccount: Bool @@ -78,8 +78,8 @@ struct ScheduleView: View { #if DEBUG #Preview("ScheduleView") { ScheduleView(presentingAccount: .constant(false)) - .previewWith(standard: BehaviorStandard()) { - BehaviorScheduler() + .previewWith(standard: PrismaStandard()) { + PrismaScheduler() } } #endif diff --git a/Behavior/SharedContext/FeatureFlags.swift b/Prisma/SharedContext/FeatureFlags.swift similarity index 89% rename from Behavior/SharedContext/FeatureFlags.swift rename to Prisma/SharedContext/FeatureFlags.swift index 3dbe11b..5239ff0 100644 --- a/Behavior/SharedContext/FeatureFlags.swift +++ b/Prisma/SharedContext/FeatureFlags.swift @@ -1,12 +1,12 @@ // -// This source file is part of the Behavior based on the Stanford Spezi Template Application project +// This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project // // SPDX-FileCopyrightText: 2023 Stanford University // // SPDX-License-Identifier: MIT // -/// A collection of feature flags for the Behavior. +/// A collection of feature flags for the Prisma. enum FeatureFlags { /// Skips the onboarding flow to enable easier development of features in the application and to allow UI tests to skip the onboarding flow. static let skipOnboarding = CommandLine.arguments.contains("--skipOnboarding") diff --git a/Behavior/SharedContext/StorageKeys.swift b/Prisma/SharedContext/StorageKeys.swift similarity index 84% rename from Behavior/SharedContext/StorageKeys.swift rename to Prisma/SharedContext/StorageKeys.swift index b1f456b..cad78b6 100644 --- a/Behavior/SharedContext/StorageKeys.swift +++ b/Prisma/SharedContext/StorageKeys.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Behavior based on the Stanford Spezi Template Application project +// This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/Behavior/Standard/Module.swift b/Prisma/Standard/Module.swift similarity index 83% rename from Behavior/Standard/Module.swift rename to Prisma/Standard/Module.swift index 76636ff..62e977d 100644 --- a/Behavior/Standard/Module.swift +++ b/Prisma/Standard/Module.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Behavior based on the Stanford Spezi Template Application project +// This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/Behavior/Standard/BehaviorStandard+Extension.swift b/Prisma/Standard/PrismaStandard+Extension.swift similarity index 89% rename from Behavior/Standard/BehaviorStandard+Extension.swift rename to Prisma/Standard/PrismaStandard+Extension.swift index 5469727..03966c8 100644 --- a/Behavior/Standard/BehaviorStandard+Extension.swift +++ b/Prisma/Standard/PrismaStandard+Extension.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Behavior based on the Stanford Spezi Template Application project +// This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/Behavior/Standard/BehaviorStandard+HealthKit.swift b/Prisma/Standard/PrismaStandard+HealthKit.swift similarity index 92% rename from Behavior/Standard/BehaviorStandard+HealthKit.swift rename to Prisma/Standard/PrismaStandard+HealthKit.swift index 159c6c2..af2c42d 100644 --- a/Behavior/Standard/BehaviorStandard+HealthKit.swift +++ b/Prisma/Standard/PrismaStandard+HealthKit.swift @@ -1,7 +1,7 @@ import FirebaseFirestore import HealthKitOnFHIR // -// This source file is part of the Behavior based on the Stanford Spezi Template Application project +// This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project // // SPDX-FileCopyrightText: 2023 Stanford University // @@ -12,7 +12,7 @@ import ModelsR4 import SpeziFirestore import SpeziHealthKit -extension BehaviorStandard { +extension PrismaStandard { /// Adds a new `HKSample` to the Firestore. /// - Parameter response: The `HKSample` that should be added. func add(sample: HKSample) async { diff --git a/Behavior/Standard/BehaviorStandard+Questionnaire.swift b/Prisma/Standard/PrismaStandard+Questionnaire.swift similarity index 91% rename from Behavior/Standard/BehaviorStandard+Questionnaire.swift rename to Prisma/Standard/PrismaStandard+Questionnaire.swift index d600087..15e6dee 100644 --- a/Behavior/Standard/BehaviorStandard+Questionnaire.swift +++ b/Prisma/Standard/PrismaStandard+Questionnaire.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Behavior based on the Stanford Spezi Template Application project +// This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project // // SPDX-FileCopyrightText: 2023 Stanford University // @@ -13,7 +13,7 @@ import SpeziQuestionnaire /// Implementation of the `QuestionnaireConstraint` from the Spezi Standard. -extension BehaviorStandard { +extension PrismaStandard { /// Adds a new `QuestionnaireResponse` to the Firestore. /// - Parameter response: The `QuestionnaireResponse` that should be added. func add(response: ModelsR4.QuestionnaireResponse) async { diff --git a/Behavior/Standard/BehaviorStandard.swift b/Prisma/Standard/PrismaStandard.swift similarity index 89% rename from Behavior/Standard/BehaviorStandard.swift rename to Prisma/Standard/PrismaStandard.swift index 13faa0d..0e3af08 100644 --- a/Behavior/Standard/BehaviorStandard.swift +++ b/Prisma/Standard/PrismaStandard.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Behavior based on the Stanford Spezi Template Application project +// This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project // // SPDX-FileCopyrightText: 2023 Stanford University // @@ -22,8 +22,8 @@ import SpeziQuestionnaire import SwiftUI -actor BehaviorStandard: Standard, EnvironmentAccessible, HealthKitConstraint, OnboardingConstraint, AccountStorageConstraint { - enum BehaviorStandardError: Error { +actor PrismaStandard: Standard, EnvironmentAccessible, HealthKitConstraint, OnboardingConstraint, AccountStorageConstraint { + enum PrismaStandardError: Error { case userNotAuthenticatedYet } @@ -39,12 +39,12 @@ actor BehaviorStandard: Standard, EnvironmentAccessible, HealthKitConstraint, On @AccountReference var account: Account - let logger = Logger(subsystem: "Behavior", category: "Standard") + let logger = Logger(subsystem: "Prisma", category: "Standard") private var userDocumentReference: DocumentReference { get async throws { guard let details = await account.details else { - throw BehaviorStandardError.userNotAuthenticatedYet + throw PrismaStandardError.userNotAuthenticatedYet } return Self.userCollection.document(details.accountId) @@ -54,7 +54,7 @@ actor BehaviorStandard: Standard, EnvironmentAccessible, HealthKitConstraint, On private var userBucketReference: StorageReference { get async throws { guard let details = await account.details else { - throw BehaviorStandardError.userNotAuthenticatedYet + throw PrismaStandardError.userNotAuthenticatedYet } return Storage.storage().reference().child("users/\(details.accountId)") @@ -64,7 +64,7 @@ actor BehaviorStandard: Standard, EnvironmentAccessible, HealthKitConstraint, On init() { if !FeatureFlags.disableFirebase { - _accountStorage = Dependency(wrappedValue: FirestoreAccountStorage(storeIn: BehaviorStandard.userCollection)) + _accountStorage = Dependency(wrappedValue: FirestoreAccountStorage(storeIn: PrismaStandard.userCollection)) } } @@ -76,7 +76,7 @@ actor BehaviorStandard: Standard, EnvironmentAccessible, HealthKitConstraint, On accountId = "USER_ID" } else { guard let details = await account.details else { - throw BehaviorStandardError.userNotAuthenticatedYet + throw PrismaStandardError.userNotAuthenticatedYet } accountId = details.accountId } @@ -94,7 +94,7 @@ actor BehaviorStandard: Standard, EnvironmentAccessible, HealthKitConstraint, On } // studies/STUDY_ID/users/USER_ID/MODULE_NAME/SUB_TYPE/... - return "studies/\(BehaviorStandard.STUDYID)/users/\(accountId)/\(moduleText)/" + return "studies/\(PrismaStandard.STUDYID)/users/\(accountId)/\(moduleText)/" } func deletedAccount() async throws { diff --git a/Behavior/Supporting Files/GoogleService-Info.plist b/Prisma/Supporting Files/GoogleService-Info.plist similarity index 100% rename from Behavior/Supporting Files/GoogleService-Info.plist rename to Prisma/Supporting Files/GoogleService-Info.plist diff --git a/Behavior/Supporting Files/GoogleService-Info.plist.license b/Prisma/Supporting Files/GoogleService-Info.plist.license similarity index 51% rename from Behavior/Supporting Files/GoogleService-Info.plist.license rename to Prisma/Supporting Files/GoogleService-Info.plist.license index 5e0d23c..5a7c783 100644 --- a/Behavior/Supporting Files/GoogleService-Info.plist.license +++ b/Prisma/Supporting Files/GoogleService-Info.plist.license @@ -1,4 +1,4 @@ -This source file is part of the Behavior based on the Stanford Spezi Template Application project +This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md) diff --git a/Behavior/Supporting Files/Info.plist b/Prisma/Supporting Files/Info.plist similarity index 100% rename from Behavior/Supporting Files/Info.plist rename to Prisma/Supporting Files/Info.plist diff --git a/Prisma/Supporting Files/Info.plist.license b/Prisma/Supporting Files/Info.plist.license new file mode 100644 index 0000000..79fa51c --- /dev/null +++ b/Prisma/Supporting Files/Info.plist.license @@ -0,0 +1,6 @@ + +This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project + +SPDX-FileCopyrightText: 2023 Stanford University + +SPDX-License-Identifier: MIT diff --git a/Behavior/Supporting Files/Behavior.entitlements b/Prisma/Supporting Files/Prisma.entitlements similarity index 100% rename from Behavior/Supporting Files/Behavior.entitlements rename to Prisma/Supporting Files/Prisma.entitlements diff --git a/Prisma/Supporting Files/Prisma.entitlements.license b/Prisma/Supporting Files/Prisma.entitlements.license new file mode 100644 index 0000000..79fa51c --- /dev/null +++ b/Prisma/Supporting Files/Prisma.entitlements.license @@ -0,0 +1,6 @@ + +This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project + +SPDX-FileCopyrightText: 2023 Stanford University + +SPDX-License-Identifier: MIT diff --git a/BehaviorTests/BehaviorTests.swift b/PrismaTests/PrismaTests.swift similarity index 50% rename from BehaviorTests/BehaviorTests.swift rename to PrismaTests/PrismaTests.swift index f4198a5..f421a5a 100644 --- a/BehaviorTests/BehaviorTests.swift +++ b/PrismaTests/PrismaTests.swift @@ -1,16 +1,16 @@ // -// This source file is part of the Behavior based on the Stanford Spezi Template Application project +// This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project // // SPDX-FileCopyrightText: 2023 Stanford University // // SPDX-License-Identifier: MIT // -@testable import Behavior +@testable import Prisma import XCTest -class BehaviorTests: XCTestCase { +class PrismaTests: XCTestCase { func testExample() throws { XCTAssertTrue(true) } diff --git a/BehaviorUITests/LaunchTests.swift b/PrismaUITests/LaunchTests.swift similarity index 81% rename from BehaviorUITests/LaunchTests.swift rename to PrismaUITests/LaunchTests.swift index 48cf941..1fcc8a8 100644 --- a/BehaviorUITests/LaunchTests.swift +++ b/PrismaUITests/LaunchTests.swift @@ -1,5 +1,5 @@ // -// This source file is part of the Behavior based on the Stanford Spezi Template Application project +// This source file is part of the Stanford Prisma Application based on the Stanford Spezi Template Application project // // SPDX-FileCopyrightText: 2023 Stanford University // diff --git a/README.md b/README.md index 35eea40..1b99c7e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@