O'Reilly logo

Learn Swift on the Mac: For OS X and iOS by Waqar Malik

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter    22

Developing a Swift-Based Application

Now that you’ve learned all about Swift, let’s build an application in Swift. You’ll use most of the techniques discussed in previous chapters to develop a health-related app based on Apple’s HealthKit, a framework that allows you to store and share fitness and health data. And you’ll take advantage of HealthKit’s companion application, called Health, which can provide a quick overview of the information entered into the HealthKit database.

Health applications allow users to take data from external instruments that support the HealthKit API, such as pedometers and fitness trackers. HealthKit doesn’t upload data anywhere due to the sensitive nature of health data. It is recommended that you do ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required