Calling asynchronous Firebase APIs from SwiftMost of Firebase’s APIs are asynchronous. This might be confusing at first: you’re making a call, for example to fetch some data from Firestore, but you don’t get a result back. Why does this happen, what does “asynchronous API” mean, and how do you ...Feb 2, 2022 · 9 min readpeterfriese.hashnode.dev
Networking with Combine and SwiftUINot keeping the UI up to date across the different parts of an app can result in an infuriatingly bad user experience, and I am sure we all have at least one or two apps in mind that are notorious for this kind of behaviour. Writing apps that keep t...Jan 17, 2022 · 11 min readpeterfriese.hashnode.dev
Using async/await in SwiftUIA 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...Feb 10, 2021 · 22 min readpeterfriese.hashnode.dev
Firebase Authentication: Migrating User DataThis 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...Nov 9, 2020 · 16 min readpeterfriese.hashnode.dev
Firebase and the new SwiftUI 2 Application Life CycleFor 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...Oct 19, 2020 · 6 min readpeterfriese.hashnode.dev