Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
SvenTiigi authored Mar 3, 2018
1 parent a552e1d commit b55a463
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,17 +161,19 @@ extension Address: Flyover {}
### Operators
In order to compare two `Flyover` types you can use the following two operators.

#### Equatable operator (==)

```swift
// Equatable operator (==)
self.flyover1 == self.flyover2
```
This checks if the two given `Flyover` types are exactly the same via comparison of latitude and longitude.
> Checks if the two given Flyover types are exactly the same via comparison of latitude and longitude.
#### Rounded Equatable operator (~~)

```swift
// Rounded Equatable operator (~~)
self.flyover1 ~~ self.flyover2
```
This checks if the two given `Flyover` types are nearly the same via comparison of rounded latitude and longitude.
> Checks if the two given Flyover types are nearly the same via comparison of rounded latitude and longitude.
### FlyoverAwesomePlace
The `FlyoverAwesomePlace` is a `Flyover` protocol compliant Enumeration with awesome locations and landmarks like `NewYorkStatueOfLiberty`, `GooglePlex`, `SydneyOperaHouse` and many [more](https://sventiigi.github.io/FlyoverKit/Enums/FlyoverAwesomePlace.html). You can use them in your own implementation or to explore different locations in the `FlyoverKitExample` Application.
Expand Down

0 comments on commit b55a463

Please sign in to comment.