Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Getting Started with ResearchKit

You're reading from   Getting Started with ResearchKit Enter the era of medical research using mobile devices with the help of this guide on ResearchKit!

Arrow left icon
Product type Paperback
Published in Feb 2016
Publisher
ISBN-13 9781785889172
Length 136 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Dhanush Balachandran Dhanush Balachandran
Author Profile Icon Dhanush Balachandran
Dhanush Balachandran
Edward Cessna Edward Cessna
Author Profile Icon Edward Cessna
Edward Cessna
Arrow right icon
View More author details
Toc

ResearchKit object model

This section provides a high-level overview of ResearchKit object model using UML-like class diagrams. Understanding the object model will help us utilize the ResearchKit better.

Tasks and steps

Tasks and steps are the fundamental building blocks of ResearchKit. Just like the tasks in real world, the tasks in ResearchKit can be defined with a series of steps. The examples of these tasks can be answering to a five-question survey, a 20 minute cardio activity test, and so on:

Tasks and steps

The preceding image shows the object model for tasks and steps. Note that, for the sake of simplicity, the diagram only shows the important properties and methods. Feel free to refer to the ResearchKit API documentation in Xcode for a comprehensive list of properties and methods.

The <ORKTask> is a protocol that defines a generic ResearchKit task. It has a non-nil identifier property to identify the task and two methods: stepBeforeStep and stepAfterStep. The ORKOrderedTask implements these...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image