Skip to content

Commit 88d432f

Browse files
committed
updated realm SDK to latest and fixed issues
1 parent 68120bc commit 88d432f

File tree

5 files changed

+25
-13
lines changed

5 files changed

+25
-13
lines changed

GoInfoGame/GoInfoGame/DataBase/DBModels/StoredElement.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class StoredElement : Object {
1818
public func asNode() -> Node {
1919
let position = LatLon(latitude: 0.0, longitude: 0.0)
2020
var theTags: [String:String] = [:]
21-
for (key,value) in tags.asKeyValueSequence(){
21+
for (key,value) in tags{
2222
theTags[key] = value
2323
}
2424
let n = Node(id: Int64(id), version: version, tags: theTags, timestampEdited: 0, position: position)

GoInfoGame/GoInfoGame/DataBase/DBModels/StoredNode.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class StoredNode : Object {
3131
public func asNode() -> Node {
3232
let position = LatLon(latitude: point.latitude , longitude: point.longitude)
3333
var theTags: [String:String] = [:]
34-
for (key,value) in tags.asKeyValueSequence(){
34+
for (key,value) in tags{
3535
theTags[key] = value
3636
}
3737
let n = Node(id: Int64(id), version: version, tags: theTags, timestampEdited: 0, position: position)

GoInfoGame/GoInfoGame/DataBase/DBModels/StoredWay.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class StoredWay: Object {
4444

4545
public func asWay() -> Way {
4646
var theTags: [String:String] = [:]
47-
for (key,value) in tags.asKeyValueSequence(){
47+
for (key,value) in tags{
4848
theTags[key] = value
4949
}
5050
let nodeList:[Int64] = nodes.map({$0})

GoInfoGame/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ target 'GoInfoGame' do
88
# Pods for GoInfoGame
99

1010
# pod 'SwiftOverpassAPI'
11-
pod 'RealmSwift', '10.46.0'
11+
pod 'RealmSwift'
1212
pod 'HTMLEntities', :git => 'https://github.com/Kitura/swift-html-entities.git'
1313

1414
post_install do |installer|

GoInfoGame/Podfile.lock

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,34 @@
11
PODS:
2-
- Realm (10.46.0):
3-
- Realm/Headers (= 10.46.0)
4-
- Realm/Headers (10.46.0)
5-
- RealmSwift (10.46.0):
6-
- Realm (= 10.46.0)
2+
- HTMLEntities (4.0.1)
3+
- Realm (20.0.2):
4+
- Realm/Headers (= 20.0.2)
5+
- Realm/Headers (20.0.2)
6+
- RealmSwift (20.0.2):
7+
- Realm (= 20.0.2)
78

89
DEPENDENCIES:
9-
- RealmSwift (= 10.46.0)
10+
- HTMLEntities (from `https://github.com/Kitura/swift-html-entities.git`)
11+
- RealmSwift
1012

1113
SPEC REPOS:
1214
trunk:
1315
- Realm
1416
- RealmSwift
1517

18+
EXTERNAL SOURCES:
19+
HTMLEntities:
20+
:git: https://github.com/Kitura/swift-html-entities.git
21+
22+
CHECKOUT OPTIONS:
23+
HTMLEntities:
24+
:commit: d8ca73197f59ce260c71bd6d7f6eb8bbdccf508b
25+
:git: https://github.com/Kitura/swift-html-entities.git
26+
1627
SPEC CHECKSUMS:
17-
Realm: 699b80d8e5fc66acafd2d530199e77781a2d69d3
18-
RealmSwift: 3230b8fc63759433a6938a0dd2a5dc0dc2b15760
28+
HTMLEntities: 4baa0d4e9cffcadb10d38b8b5d758f9e65f6d166
29+
Realm: 395416e3b150a37ca12fee6477a2ec8c11f8a048
30+
RealmSwift: 199fd4d7e86491d1147c662c6a36aa55136a54d0
1931

20-
PODFILE CHECKSUM: 2e47eefcaf03efee0332e9ee54fb46e8551f9191
32+
PODFILE CHECKSUM: 6a317fbf84c359780e452117e3f2419b84e92b8e
2133

2234
COCOAPODS: 1.16.2

0 commit comments

Comments
 (0)