forked from LoopKit/LoopKit
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #104 from LoopKit/dev
Version 1.2.0
- Loading branch information
Showing
38 changed files
with
525 additions
and
241 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,14 +1,14 @@ | ||
language: objective-c | ||
osx_image: xcode8 | ||
xcode_sdk: iphonesimulator10.0 | ||
osx_image: xcode8.2 | ||
xcode_sdk: iphonesimulator10.2 | ||
xcode_project: LoopKit.xcodeproj | ||
xcode_scheme: | ||
- LoopKit | ||
- CarbKit | ||
- InsulinKit | ||
- GlucoseKit | ||
script: | ||
- xcodebuild -project LoopKit.xcodeproj -scheme LoopKit -sdk iphonesimulator10.0 build -destination 'name=iPhone SE' test | ||
- xcodebuild -project LoopKit.xcodeproj -scheme CarbKit -sdk iphonesimulator10.0 build -destination 'name=iPhone SE' test | ||
- xcodebuild -project LoopKit.xcodeproj -scheme InsulinKit -sdk iphonesimulator10.0 build -destination 'name=iPhone SE' test | ||
- xcodebuild -project LoopKit.xcodeproj -scheme GlucoseKit -sdk iphonesimulator10.0 build -destination 'name=iPhone SE' test | ||
- xcodebuild -project LoopKit.xcodeproj -scheme LoopKit -sdk iphonesimulator10.2 build -destination 'id=DB794781-65A7-4884-8D00-AAC3CBD39A44' test | ||
- xcodebuild -project LoopKit.xcodeproj -scheme CarbKit -sdk iphonesimulator10.2 build -destination 'id=DB794781-65A7-4884-8D00-AAC3CBD39A44' test | ||
- xcodebuild -project LoopKit.xcodeproj -scheme InsulinKit -sdk iphonesimulator10.2 build -destination 'id=DB794781-65A7-4884-8D00-AAC3CBD39A44' test | ||
- xcodebuild -project LoopKit.xcodeproj -scheme GlucoseKit -sdk iphonesimulator10.2 build -destination 'id=DB794781-65A7-4884-8D00-AAC3CBD39A44' test |
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
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,20 @@ | ||
// | ||
// CarbEntryNavigationDelegate.swift | ||
// LoopKit | ||
// | ||
// Created by Jaim Zuber on 2/7/17. | ||
// Copyright © 2017 LoopKit Authors. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
class CarbEntryNavigationDelegate { | ||
|
||
func performSegue(withIdentifier identifier: String, sender: Any?, for viewController: UIViewController) { | ||
viewController.performSegue(withIdentifier: identifier, sender: sender) | ||
} | ||
|
||
func showAbsorptionTimeValidationWarning(for viewController: UIViewController) { | ||
viewController.presentAlertController(withTitle: NSLocalizedString("Warning", comment:"Title of the warning displayed after entering a carb absorption time greater than the max"), message: NSLocalizedString("That's a long time for absorption. Try a number below 999", comment:"Warning message body displayed after entering a carb absorption time greater than the max")) | ||
} | ||
} |
Oops, something went wrong.