Skip to content

Commit ce79d6b

Browse files
author
petrhung9
authored
Update README.md
1 parent 78f5cd8 commit ce79d6b

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,21 +45,18 @@ Implement `GoongAutocompleteDelegate`, this delegate method called when user tap
4545
4646
```swift
4747
public func viewController(_ viewController: GoongAutocompleteViewController, didAutocompleteWith place: Placemark?) {
48-
print(place?.name)
49-
print(place?.location)
48+
print(place?.name)
49+
print(place?.location)
5050
}
5151
```
5252
Handle error:
5353
```swift
5454
public func viewController(_ viewController: GoongAutocompleteViewController, didFailAutocompleteWithError error: Error?) {
55-
print(error?.localizedDescription)
55+
print(error?.localizedDescription)
5656
}
5757
```
5858

5959

60-
```
61-
62-
6360
### Basics
6461

6562
The main geocoder class is Geocoder in Swift or GoongGeocoder in Objective-C. Create a geocoder object using your access token:

0 commit comments

Comments
 (0)