Skip to content

Commit

Permalink
Add New HealthKit Data Types (#10)
Browse files Browse the repository at this point in the history
# Add New HealthKit Data Types

## ⚙️ Release Notes 
- Adds new HealthKit Data Types


## 📝 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).
  • Loading branch information
PSchmiedmayer authored Feb 8, 2024
1 parent de2ad08 commit 9564db1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 27 deletions.
4 changes: 0 additions & 4 deletions ExampleApplication.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
2FE5DC9929EDD9D9004B9AB4 /* XCTestExtensions in Frameworks */ = {isa = PBXBuildFile; productRef = 2FE5DC9829EDD9D9004B9AB4 /* XCTestExtensions */; };
2FE5DC9C29EDD9EF004B9AB4 /* XCTHealthKit in Frameworks */ = {isa = PBXBuildFile; productRef = 2FE5DC9B29EDD9EF004B9AB4 /* XCTHealthKit */; };
2FE5DCB129EE6107004B9AB4 /* AccountOnboarding.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2FE5DCAC29EE6107004B9AB4 /* AccountOnboarding.swift */; };
2FF33BEA2B7302DC0039672F /* VisionProIsCool.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2FF33BE92B7302DC0039672F /* VisionProIsCool.swift */; };
2FF53D8B2A8725DE00042B76 /* SpeziMockWebService in Frameworks */ = {isa = PBXBuildFile; productRef = 2FF53D8A2A8725DE00042B76 /* SpeziMockWebService */; };
2FF53D8D2A8729D600042B76 /* ExampleApplicationStandard.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2FF53D8C2A8729D600042B76 /* ExampleApplicationStandard.swift */; };
5661551D2AB8384200209B80 /* SwiftPackageList in Frameworks */ = {isa = PBXBuildFile; productRef = 5661551C2AB8384200209B80 /* SwiftPackageList */; };
Expand Down Expand Up @@ -137,7 +136,6 @@
2FE5DC4D29EDD7FA004B9AB4 /* Bundle+Questionnaire.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Bundle+Questionnaire.swift"; sourceTree = "<group>"; };
2FE5DC5529EDD811004B9AB4 /* SocialSupportQuestionnaire.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = SocialSupportQuestionnaire.json; sourceTree = "<group>"; };
2FE5DCAC29EE6107004B9AB4 /* AccountOnboarding.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AccountOnboarding.swift; sourceTree = "<group>"; };
2FF33BE92B7302DC0039672F /* VisionProIsCool.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = VisionProIsCool.swift; sourceTree = "<group>"; };
2FF53D8C2A8729D600042B76 /* ExampleApplicationStandard.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ExampleApplicationStandard.swift; sourceTree = "<group>"; };
566155282AB8447C00209B80 /* Package+LicenseType.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Package+LicenseType.swift"; sourceTree = "<group>"; };
5661552D2AB854C000209B80 /* PackageHelper.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PackageHelper.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -340,7 +338,6 @@
2F5E32BC297E05EA003432F8 /* ExampleApplicationDelegate.swift */,
2FF53D8C2A8729D600042B76 /* ExampleApplicationStandard.swift */,
2F4E23822989D51F0013F3D9 /* ExampleApplicationTestingSetup.swift */,
2FF33BE92B7302DC0039672F /* VisionProIsCool.swift */,
2FC975A72978F11A00BA99FE /* Home.swift */,
979EC76B2B631A1800B63213 /* LLMInteraction */,
A9720E412ABB68B300872D23 /* Account */,
Expand Down Expand Up @@ -629,7 +626,6 @@
files = (
2FE5DC4129EDD7EE004B9AB4 /* StorageKeys.swift in Sources */,
2FE5DCB129EE6107004B9AB4 /* AccountOnboarding.swift in Sources */,
2FF33BEA2B7302DC0039672F /* VisionProIsCool.swift in Sources */,
2F4FC8D729EE69D300BFFE26 /* MockUpload.swift in Sources */,
2FE5DC3A29EDD7CA004B9AB4 /* Welcome.swift in Sources */,
979EC7732B631A1800B63213 /* LLMInteraction.swift in Sources */,
Expand Down
8 changes: 6 additions & 2 deletions ExampleApplication/ExampleApplicationDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,12 @@ class ExampleApplicationDelegate: SpeziAppDelegate {

private var healthKit: HealthKit {
HealthKit {
CollectSample(
HKQuantityType(.stepCount),
CollectSamples(
[
HKQuantityType(.stepCount),
HKQuantityType(.dietaryEnergyConsumed),
HKQuantityType(.dietaryProtein)
],
deliverySetting: .anchorQuery(.afterAuthorizationAndApplicationWillLaunch)
)
}
Expand Down
21 changes: 0 additions & 21 deletions ExampleApplication/VisionProIsCool.swift

This file was deleted.

0 comments on commit 9564db1

Please sign in to comment.