Tim Dietrich

Custom Software Developer

Home Services Portfolio Blog About Contact Newsletter

Airtable API-Based Apple Watch App

Last night I posted a sneak peek of the next Airtable API resource that I'm working on, which is an iPhone app developed using Swift. But I've also been experimenting with using the Airtable API with Apple's WatchKit to develop a similar app for the Apple Watch.

The video below shows the progress that I've made on the Watch app. The source for the restaurant data is an Airtable base, and the app pulls it via the Airtable API.

In the video, you can see the "push" from the list of restaurants to details about a selected restaurant. There's a "refresh" button located at the bottom of the list which pulls fresh data from the API - and the video shows this as well. You'll see me add a new record to the database, then refresh the list in the watch app, and the new record immediately appears in the updated list.

Developing for the Apple Watch is similar in many ways to developing for the iPhone and iPad, but it is different enough to be tricky a times. I've been able to reuse some of the code that I wrote for the iPhone app. For example, the code that calls the Airtable API is nearly identical. However, the code that handles the push from the list to the detail view is quite different. In any case, developing for the Apple Watch has been a lot of fun.

I'm not sure yet as to whether or not we'll be releasing the source for this app. If we do, I'll be sure to announce it here on my blog and via my newsletter.