Skip to content

Commit

Permalink
Upgrade to Spezi 1.0 (#19)
Browse files Browse the repository at this point in the history
# Upgrade to Spezi 1.0

## ♻️ Current situation & Problem
This PR updates Spezi dependencies to the latest 1.0 releases


## ⚙️ Release Notes 
* Upgrade to 1.0 Spezi releases



## 📝 Code of Conduct & Contributing Guidelines 

By submitting creating this pull request, you agree to follow our [Code
of
Conduct](https://github.com/StanfordSpezi/.github/blob/main/CODE_OF_CONDUCT.md)
and [Contributing
Guidelines](https://github.com/StanfordSpezi/.github/blob/main/CONTRIBUTING.md):
- [x] I agree to follow the [Code of
Conduct](https://github.com/StanfordSpezi/.github/blob/main/CODE_OF_CONDUCT.md)
and [Contributing
Guidelines](https://github.com/StanfordSpezi/.github/blob/main/CONTRIBUTING.md).
  • Loading branch information
Supereg authored Jan 10, 2024
1 parent 4f3e1cd commit 930a409
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ let package = Package(
.library(name: "SpeziQuestionnaire", targets: ["SpeziQuestionnaire"])
],
dependencies: [
.package(url: "https://github.com/StanfordSpezi/Spezi", from: "1.0.0"),
.package(url: "https://github.com/apple/FHIRModels", .upToNextMinor(from: "0.5.0")),
.package(url: "https://github.com/StanfordSpezi/Spezi", .upToNextMinor(from: "0.8.0")),
.package(url: "https://github.com/StanfordBDHG/ResearchKit", from: "2.2.19"),
.package(url: "https://github.com/StanfordBDHG/ResearchKitOnFHIR", .upToNextMinor(from: "0.2.1"))
.package(url: "https://github.com/StanfordBDHG/ResearchKitOnFHIR", from: "1.0.0")
],
targets: [
.target(
Expand Down
6 changes: 3 additions & 3 deletions Sources/SpeziQuestionnaire/QuestionnaireView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ import ResearchKitOnFHIR
import SwiftUI


/// Renders a FHIR `Questionnaire`.
///
/// The following example shows how to display a questionnaire:
/// Present a FHIR `Questionnaire` to the user.
///
/// The following example shows how to present a questionnaire:
/// ```swift
/// struct ExampleQuestionnaireView: View {
/// @State var displayQuestionnaire = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Questionnaires are displayed using [ResearchKit](https://github.com/ResearchKit/
## Setup

You need to add the Spezi Questionnaire Swift package to
[your app in Xcode](https://developer.apple.com/documentation/xcode/adding-package-dependencies-to-your-app#) or
[your app in Xcode](https://developer.apple.com/documentation/xcode/adding-package-dependencies-to-your-app) or
[Swift package](https://developer.apple.com/documentation/xcode/creating-a-standalone-swift-package-with-xcode#Add-a-dependency-on-another-Swift-package).

> Important: If your application is not yet configured to use Spezi, follow the [Spezi setup article](https://swiftpackageindex.com/stanfordspezi/spezi/documentation/spezi/initial-setup) and set up the core Spezi infrastructure.
Expand Down

0 comments on commit 930a409

Please sign in to comment.