Learn to integrate HealthKit in SwiftUI
Learn how to integrate HealthKit in SwiftUI and build a health stats app. Explore MVVM design pattern, clean coding, and repository pattern. Perfect for students wanting to create real iOS apps.
What you’ll learn
- HealthKit Integration
- Query HealthKit Store
- SwiftUI
- MVVM
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.
Who this course is for:
- Students who wants to learn healthKit integration in SwiftUI by building real iOS App
User Reviews
Be the first to review “Learn to integrate HealthKit in SwiftUI”
You must be logged in to post a review.


There are no reviews yet.