Tutorialspoint

April Learning Carnival is here, Use code FEST10 for an extra 10% off

Learn to integrate HealthKit in SwiftUI

person icon DevTechie

4.5

Learn to integrate HealthKit in SwiftUI

Build health stats app while learning how to query Apple HealthKit Store

updated on icon Updated on Apr, 2024

language icon Language - English

person icon DevTechie

English [CC]

category icon Development,Mobile Apps,Swift

Lectures -10

Duration -1 hours

4.5

price-loader

30-days Money-Back Guarantee

Training 5 or more people ?

Get your team access to 10000+ top Tutorials Point courses anytime, anywhere.

Course Description

Apple introduced HealthKit back in iOS 8 and it has been improving the framework ever since. Apple has introduced many different features and now its supported on all platforms. In Apple's own terms health kit is defined as "HealthKit provides a central repository for health and fitness data on iPhone and Apple Watch. With the user’s permission, apps communicate with the HealthKit store to access and share this data."

SwiftUI makes it easy to develop apps to serve customers. SwiftUI is now in its 3rd iteration and team has been adding new features every single release. SwiftUI is fun way to create user interfaces. It makes it super easy to create UI for your apps that are supported on multiple different platforms.

In this course, we will combine these two powerful technologies together to bring something amazing. We will build a health stats app which will display information about your workout and other health related routines. HealthKit gathers its information from various different ways and stores that information inside HealthKit store on iOS platform. We will build an app that will query this store to pull information out from the store and display them in a much more user friendly way.

You will build a tile view for the app's home page which will list various different categories for stats. Upon selection of those categories, app will take user into detail screen where they will be able to look at past week's stats in a chart view along with a table listing out all the entries.

We will create our own small chart framework that will have capability to capture any kind of data into it and display that data in graphical format. We will build all this while following MVVM design pattern and clean coding style. You will also learn to structure your code for better organizations and we will use repository pattern to pass on aggregated content between views.

Goals

What will you learn in this course:

  • HealthKit Integration
  • Query HealthKit Store
  • SwiftUI
  • MVVM

Prerequisites

What are the prerequisites for this course?

  • Knowledge of SwiftUI
  • Knowledge of Swift
Learn to integrate HealthKit in SwiftUI

Curriculum

Check out the detailed breakdown of what’s inside the course

Introduction
2 Lectures
  • play icon Introduction 03:38 03:38
  • play icon App Setup 08:58 08:58
Models
1 Lectures
Tutorialspoint
HealthKit & Repository
2 Lectures
Tutorialspoint
App UI
4 Lectures
Tutorialspoint

Instructor Details

DevTechie

DevTechie

e


Course Certificate

Use your certificate to make a career change or to advance in your current career.

sample Tutorialspoint certificate

Our students work
with the Best

Related Video Courses

View More

Annual Membership

Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses

Subscribe now
Annual Membership

Online Certifications

Master prominent technologies at full length and become a valued certified professional.

Explore Now
Online Certifications

Talk to us

1800-202-0515