From 69cbdf61310180ebeb6b5aa1cd2d125fb31a1ed4 Mon Sep 17 00:00:00 2001 From: Benny Wong Date: Sun, 15 Jun 2025 09:54:39 -0400 Subject: [PATCH] Add basic example to README --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f508836..35c3c62 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,13 @@ This is a simple library to interface with [H3](https://github.com/uber/h3), a h ## Examples -TBD +```swift +import SwiftH3 + +let coordinate = H3Coordinate(lat: 37.775, lon: -122.419) +let index = H3Index(coordinate: coordinate, resolution: 9) +print(index) +``` ## Thanks