
Calling asynchronous Firebase APIs from Swift
Callbacks, Combine, and async/await
Search for a command to run...

Callbacks, Combine, and async/await

Getting Started

A lot of the code we write has to deal with asynchronous behaviour. Fetching data from the disk, sending a request to a remote API, or downloading an image - all these operations take time, even on your super-fast, low-latency working-from-home netwo...

This article is part of a series of articles that explores building a real-world application using SwiftUI, Firebase, and a couple of other technologies. Here is an overview of the series and what we're building: In part 1 of the series, we focussed...

For the longest time, iOS developers have used UIApplicationDelegate to handle application startup and other lifecycle events in their apps. At WWDC 2020, Apple made some significant changes to how apps participate in the application lifecycle. In t...

For the longest time, iOS developers have used AppDelegates as the main entry point for their applications. With the launch of SwiftUI2 at WWDC 2020, Apple has introduced a new application life cycle that (almost) completely does away with AppDelegat...

In this series of articles about SwiftUI and Firebase, we’re building a simple CRUD (Create, Read, Update, Delete) application that allows users to manage their book library. In previous episodes, I showed you how to fetch data from Cloud Firestore ...

Many APIs require developers to provide an API key and/or API secret in order to be able to access the API. This is both to identify the app that is accessing the API, and to limit access to the API for apps that are known to the API. Both the API ke...

Previously in this series of articles about SwiftUI and Firebase, we talked about fetching data from Cloud Firestore and how to map from Firestore documents to Swift structs using Swift's Codable API. You might recall that we also introduced a way t...