Skip to content

Commit 3455f61

Browse files
AkshayAkshay
authored andcommitted
Dependency update
1 parent a3eb368 commit 3455f61

File tree

5 files changed

+6
-11
lines changed

5 files changed

+6
-11
lines changed

CareKit.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
Pod::Spec.new do |s|
3636
s.name = 'CareKit'
37-
s.version = '1.2.0'
37+
s.version = '1.2.1'
3838
s.summary = 'CareKit is an open source software framework for creating apps that help people better understand and manage their health.'
3939
s.homepage = 'https://github.com/carekit-apple/CareKit/'
4040
s.documentation_url = 'http://carekit.org/docs/'

Sample/OCKSample/Assets.xcassets/AppIcon.appiconset/Contents.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,6 @@
102102
"filename" : "Icon-App-83.5x83.5@2x.png",
103103
"scale" : "2x"
104104
},
105-
{
106-
"idiom" : "ios-marketing",
107-
"size" : "1024x1024",
108-
"scale" : "1x"
109-
},
110105
{
111106
"size" : "24x24",
112107
"idiom" : "watch",

Sample/OCKSample/WatchConnectivityManager.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class WatchConnectivityManager : NSObject {
4747

4848
init(withStore store : OCKCarePlanStore) {
4949
self.store = store
50-
self.session = WCSession.default
50+
self.session = WCSession.default()
5151

5252
super.init()
5353

@@ -204,7 +204,7 @@ extension WatchConnectivityManager : WCSessionDelegate {
204204
}
205205

206206
func sessionDidDeactivate(_ session: WCSession) {
207-
WCSession.default.activate()
207+
WCSession.default().activate()
208208
}
209209

210210
func session(_ session: WCSession, didReceiveMessageData messageData: Data, replyHandler: @escaping (Data) -> Void) {

Sample/OCKSampleWatch Extension/InterfaceController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class InterfaceController: WKInterfaceController {
7373
self.setTitle("")
7474
loaderGroup.setHidden(false)
7575
loaderImage.startAnimating()
76-
loaderLabel.setText("Loading\nCare Card")
76+
loaderLabel.setText("Loading\nCare Contents")
7777
activities.removeAll()
7878
activityOrder.removeAll()
7979
activityRowIndices.removeAll()
@@ -133,7 +133,7 @@ class InterfaceController: WKInterfaceController {
133133
let activityChildEvents = activity.eventsForToday
134134
let activityEventRows = getRowIndex(ofEventIndex: activityChildEvents.count - 1) + 1
135135

136-
tableView.insertRows(at: IndexSet.init(integersIn: Range(NSMakeRange(rowIndex, activityEventRows)) ?? 0..<0) , withRowType: "EventRow")
136+
tableView.insertRows(at: IndexSet.init(integersIn: NSMakeRange(rowIndex, activityEventRows).toRange() ?? 0..<0) , withRowType: "EventRow")
137137

138138
for childRowIndex in 0..<activityEventRows {
139139
if let row = tableView.rowController(at: rowIndex + childRowIndex) as? EventRow {

0 commit comments

Comments
 (0)