Skip to content

Commit 873c478

Browse files
committed
small changes
1 parent 2ee6d13 commit 873c478

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

Stickeee/AppDelegate.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,3 @@ class AppDelegate: UIResponder, UIApplicationDelegate, CLLocationManagerDelegate
6464
print("Quitting application")
6565
}
6666
}
67-

Stickeee/Networking.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@ class Networking
4141
request.setValue("application/json", forHTTPHeaderField: "Content-Type")
4242
request.httpMethod = "POST"
4343
let parameters: [String: Double] = [
44-
//"posx": sticker?.position.columns.3.x ?? -1,
45-
//"posy": sticker?.position.columns.3.y ?? -1,
46-
//"posz": sticker?.position.columns.3.z ?? -1,
4744
"lat": sticker?.lat ?? 0,
4845
"lon": sticker?.lon ?? 0
4946
]
@@ -61,7 +58,7 @@ class Networking
6158
return
6259
}
6360

64-
/*guard (200 ... 299) ~= response.statusCode else { // check for http errors
61+
/*guard (200 ... 299) ~= response.statusCode else {
6562
print("statusCode should be 2xx, but is \(response.statusCode)")
6663
print("response = \(response)")
6764
return

Stickeee/ViewController.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
import UIKit
1010
import SpriteKit
1111
import ARKit
12-
import CoreLocation
1312

1413
class ViewController: UIViewController, ARSKViewDelegate {
1514

0 commit comments

Comments
 (0)