Apple Health Frameworks

Nov 29 2022 · Swift 5, iOS 15, Xcode 13

Part 4: More Things to Do With Apple Health Frameworks

19. Take a Deep Look Into the ResearchKit

Episode complete

Play next episode

Next
About this episode
Leave a rating/review
See forum comments
Cinema mode Mark complete Download course materials
Previous episode: 18. Take a Deep Look Into the CareKit Next episode: 20. Take a Deep Look Into the HealthKit

Get immediate access to this and 4,000+ other videos and books.

Take your career further with a Kodeco Personal Plan. With unlimited access to over 40+ books and 4,000+ professional videos in a single subscription, it's simply the best investment you can make in your development career.

Learn more Already a subscriber? Sign in.

Notes: 19. Take a Deep Look Into the ResearchKit

Related Links:

Transcript: 19. Take a Deep Look Into the ResearchKit

Part 4, Episode 19, Take a deep look into the ResearchKit.

In this episode, I want to show you the ResearchKit Catalog app and walk you through the different features of ResearchKit.

From sample project folder navigates to external-resources folder, ResearchKit folder, and open RKWorkspace.xcworkspace.

Take a look at the project; you can quickly notice that it’s been developed by UIKit; the other good thing is that it’s an open-source project that you can contribute if something is needed to be done.

Select the ORKCatalog scheme, then build and run to see what it has. If you take a look at the app, you can find five different sections; let’s take a deep look into each of those.

First, you have different survey examples which use different questions in one survey, let’s answer one of these completely.

Here you can see the different types of survey questions in the next section, which, based on your usage, you can choose between each of those.

Next is an onboarding example; there are different ways to create onboarding which you can find the best way based on your usage.

Next section is the one that I love; it’s Active Tasks which I would not believe you can test these many things on the phone.

The next one is the nice one, Miscellaneous; first, you have the Video Instruction, that if you navigate inside you can play, which is nice, the other option is the webView which we already used inside of MyVaccince.

Next tab is the Results; as we discussed earlier, there is no backend service for ResearchKit, but in this Catalog, apple keeps the results to show you how it’s structured and if you take a good look at it, it’s just an illustration of the data structure.

If you remember, when you were trying to extract data from the survey to save it in the CareKitStore, you were finding data on this structure.

Another Tab Called Chart is not working on my Xcode, but if you have access to it, it’s another type of chart you could use inside your project, but I would instead use CareKit Charts because it’s so lovely and recently developed.

By using all the knowledge I gave you plus this Catalog, you can make any app with all sorts of Surveys using ResearchKit now.