Skip to content

Commit c021060

Browse files
committed
Merge pull request #17 from loudnate/dependencies
Simplifying the carthage build dependencies
2 parents 2907297 + 992172c commit c021060

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

Cartfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
# github "RNCryptor/RNCryptor" ~> 4.0
2-
3-
github "soffes/Crypto"
1+
github "loudnate/Crypto" "master"

Cartfile.resolved

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
github "soffes/Crypto" "v0.3.0"
1+
github "loudnate/Crypto" "3e9fd522eba2b95c648229f9804b34773bb340a0"

Example/xDripG5/NSUserDefaults.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,15 @@ extension NSUserDefaults {
2121

2222
var startTimeInterval: NSTimeInterval? {
2323
get {
24-
return doubleForKey("startTimeInterval")
24+
let value = doubleForKey("startTimeInterval")
25+
26+
return value > 0 ? value : nil
2527
}
2628
set {
2729
if let value = newValue {
2830
setDouble(value, forKey: "startTimeInterval")
2931
} else {
30-
setNilValueForKey("startTimeInterval")
32+
removeObjectforKey("startTimeInterval")
3133
}
3234
}
3335
}

xDripG5.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "xDripG5"
3-
s.version = "0.2.1"
3+
s.version = "0.2.2"
44
s.summary = "An interface for communicating with the G5 glucose transmitter over Bluetooth."
55

66
s.description = <<-DESC

xDripG5/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>0.2.1</string>
18+
<string>0.2.2</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

0 commit comments

Comments
 (0)