You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: OpenGpxTracker-Watch Extension/ExtensionDelegate.swift
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -15,16 +15,20 @@ class ExtensionDelegate: NSObject, WKExtensionDelegate {
15
15
}
16
16
17
17
func applicationDidBecomeActive(){
18
-
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
18
+
// Restart any tasks that were paused (or not yet started) while the application was inactive.
19
+
// If the application was previously in the background, optionally refresh the user interface.
19
20
}
20
21
21
22
func applicationWillResignActive(){
22
-
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
23
+
// Sent when the application is about to move from active to inactive state.
24
+
// This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message)
25
+
// or when the user quits the application and it begins the transition to the background state.
23
26
// Use this method to pause ongoing tasks, disable timers, etc.
// Sent when the system needs to launch the application in the background to process tasks. Tasks arrive in a set, so loop through and process each one.
30
+
// Sent when the system needs to launch the application in the background to process tasks.
31
+
// Tasks arrive in a set, so loop through and process each one.
@@ -64,7 +62,7 @@ class GPXFileTableInterfaceController: WKInterfaceController {
64
62
// MARK: Progress Indicators
65
63
66
64
/// States of sending files
67
-
enumsendingStatus{
65
+
enumSendingStatus{
68
66
/// represents current state as sending
69
67
case sending
70
68
/// represents current state as successful
@@ -88,7 +86,8 @@ class GPXFileTableInterfaceController: WKInterfaceController {
88
86
self.progressGroup.setHeight(0)
89
87
})
90
88
}
91
-
// imageview do not have to be set with stop animating, as image indicator should already have been set as successful or failure image, which is static.
89
+
// imageview do not have to be set with stop animating,
90
+
// as image indicator should already have been set as successful or failure image, which is static.
92
91
}
93
92
94
93
/// Displays progress indicators.
@@ -98,13 +97,13 @@ class GPXFileTableInterfaceController: WKInterfaceController {
0 commit comments