Swiftpack.co - LoopKit/LoopKit as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by LoopKit.
LoopKit/LoopKit v3.0
A set of iOS tools for building closed-loop insulin delivery apps
⭐️ 356
🕓 1 year ago
.package(url: "https://github.com/LoopKit/LoopKit.git", from: "v3.0")


Build Status Carthage compatible project chat

LoopKit is a set of tools to speed up development of your own closed-loop insulin delivery app. It is agnostic to treatment decisions and input sources.


Loop is a full-featured app built on top of LoopKit.

LoopKit provides

  • Data storage and retrieval, using HealthKit and Core Data as appropriate
  • Protocol types for representing data models in a flexible way
  • Common calculation algorithms like Insulin On Board
  • Boilerplate user interfaces like editing basal rate schedules and carb entry

LoopKit does not provide

  • Treatment decisions: Your Diabetes May Vary.
  • Device communications: Device-specific libraries are maintained separately.


LoopKit is available under the MIT license. See the LICENSE file for more info.

Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.


Stars: 356
Last commit: 21 hours ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

4 years ago


  • Overrides.
  • New nonlinear carb model.
  • PumpManager updates for improved dose reporting.
  • New Translations: Japanese, Danish, Swedish, Portuguese, Vietnamese, Finnish, Romanian
  • Plugins for Pump and CGM support.
  • Mock CGM and Pump for testing.
  • iOS 13, Dark Mode support

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics