Fork me on GitHub

Alex Rupérez

Link: http://j.mp/2KzQ5kl
Published: 24 Jun 07:30
I starred carekit-apple/CareKit at GitHub.
CareKit is an open source software framework for creating apps that help people better understand and manage their health.
View on GitHub


View README


CareKit

CareKit Framework

License Swift Xcode 11.0+ iOS 13.0+ SPM

CareKit™ is an open source software framework for creating apps that help people better understand and manage their health.

Getting Started

Requirements

The primary CareKit framework codebase supports iOS and requires Xcode 11.0 or newer. The CareKit framework has a Base SDK version of 13.0, meaning that apps using the CareKit framework can run on devices with iOS 13.0 or newer.

Installation

The latest stable version of the CareKit™ framework is version 1.2 and can be cloned with:

git clone -b stable --recurse-submodules https://github.com/carekit-apple/carekit.git

Or, for the latest changes including early access to CareKit 2.0, use the master branch:

git clone https://github.com/carekit-apple/carekit.git

Building

Build the CareKit framework by opening CareKit.xcodeproj and running the CareKit framework target. Optionally, run the unit tests too.

Adding the CareKit framework to your App

To get started, drag CareKit.xcodeproj from your checkout into your iOS app project in Xcode.

Adding the CareKit framework to your
project

Then, embed the CareKit framework as a dynamic framework in your app, by adding it to the Embedded Binaries section of the General pane for your target as shown in the figure below.

Adding the CareKit framework to
Embedded Binaries

Adding the CareKit framework to Embedded Binaries

Discovering How CareKit Works

One of the best ways to see how CareKit works is to look at the OCKSample app. The simplest way to do this is to open CKWorkspace.xcworkspace, choose the OCKSample scheme, build and run the app. After that take a look at the app's code and experiment by making a few changes.

License

This project is made available under the terms of a BSD license. See the LICENSE file.