Skip to content

feat: Make types easier to use by conforming to Codable, Hashable - #1596

Merged
jessi-apple merged 3 commits into
ResearchKit:dev/SwiftUIfrom
netreconlab:makeTypesCodable
Apr 15, 2025
Merged

jessi-apple merged 3 commits into
ResearchKit:dev/SwiftUIfrom
netreconlab:makeTypesCodable

Conversation

@cbaker6

@cbaker6 cbaker6 commented Apr 13, 2025 •

Copy link
Copy Markdown
Contributor

While using the new SwiftUI features with CareKit and attempting to persist surveys and related types to OCKTask's, I had to update some types.

These changes make it easier to reuse/persist surveys and answers across app launches/devices. I show an example of how this is used here: netreconlab/CareKitEssentials#41

@jessi-apple jessi-apple left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this change @cbaker6!

@jessi-apple
jessi-apple merged commit b564fb9 into ResearchKit:dev/SwiftUI Apr 15, 2025
@cbaker6
cbaker6 deleted the makeTypesCodable branch April 15, 2025 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants