forked from LoopKit/Loop
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* watchOS 3 background tasks WIP * Adding complication gallery bundle, and more background task comments * More rearchitecture of the watch app, WIP * Refactor bolus / carb sending * Changes to WCSession activation and observation * Fixing bolus, debugging complication * Additional comments, and a TODO * Removing unused code, and more comments
- Loading branch information
Showing
19 changed files
with
393 additions
and
375 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
15 changes: 15 additions & 0 deletions
15
Loop/gallery.ckcomplication/A307227B-6EFF-4242-A538-2C9AC617E041.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"class" : "CLKComplicationTemplateModularSmallStackText", | ||
"highlightLine2" : false, | ||
"line2TextProvider" : { | ||
"class" : "CLKLocalizableSimpleTextProvider", | ||
"text" : "mg\/dL" | ||
}, | ||
"line1TextProvider" : { | ||
"shortText" : "--", | ||
"class" : "CLKSimpleTextProvider", | ||
"text" : "--", | ||
"accessibilityLabel" : "No glucose value available" | ||
}, | ||
"version" : 30000 | ||
} |
10 changes: 10 additions & 0 deletions
10
Loop/gallery.ckcomplication/Base.lproj/ckcomplication.strings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/* | ||
ckcomplication.strings | ||
Loop | ||
|
||
Created by Nate Racklyeft on 9/18/16. | ||
Copyright © 2016 Nathan Racklyeft. All rights reserved. | ||
*/ | ||
|
||
/* The complication template example unit string */ | ||
"mg/dL" = "mg/dL" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"supported complication families" : { | ||
"0" : "A307227B-6EFF-4242-A538-2C9AC617E041.json" | ||
}, | ||
"client ID" : "com.loudnate.Loop.watchkitapp.watchkitextension" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/* | ||
ckcomplication.strings | ||
Loop | ||
|
||
Created by Nate Racklyeft on 9/18/16. | ||
Copyright © 2016 Nathan Racklyeft. All rights reserved. | ||
*/ | ||
|
||
/* The complication template example unit string */ | ||
"mg/dL" = "mg/dL" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 0 additions & 56 deletions
56
WatchApp Extension/Controllers/ContextInterfaceController.swift
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// | ||
// ContextUpdatable.swift | ||
// Loop | ||
// | ||
// Created by Nate Racklyeft on 9/19/16. | ||
// Copyright © 2016 Nathan Racklyeft. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
|
||
protocol ContextUpdatable { | ||
func update(with context: WatchContext?) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.