RSSAmplifier

Blog

Peter Friese

Firebase, Swift, SwiftUI, and Combine articles and tips by Peter Friese

peterfriese.devRSS feed ↗42 posts

Latest posts

Agentic Coding in Xcode with Gemini CLI

Learn how to use Gemini CLI for agentic coding in Xcode 26.3 via the MCP bridge. This post covers setup, configuration, and a practical example of building an emoji physics playground.

Turn Your Photos Into Miniature Magic with Nano Banana

Learn how to use Nano Banana (Gemini 2.5 Flash Image Generation) and Firebase AI Logic to add powerful text-to-image and image-to-image generation capabilities to your iOS applications with just a few lines of Swift code.

Reverse-Engineering Xcode's Coding Intelligence prompt

Ever wondered how Xcode's Coding Intelligence prompt works? In this blog post, we'll take a deep dive into the prompt's inner workings and explore how it helps developers write code more efficiently.

Extracting structured data from PDFs using Gemini 2.0 and Genkit

Learn how to use Gemini 2.0 and Genkit for Node.js to efficiently extract structured data from PDFs

Understanding SwiftUI Preferences

Learn how to use SwiftUI Preferences to establish efficient parent-child view communication. This comprehensive guide explains what Preferences are, how they differ from other state management approaches, and demonstrates practical implementation with a form validation example. Includes Swift 6 compatibility tips and best practices for modern iOS development.

Creating a reusable action menu component in SwiftUI

Learn how to create a reusable SwiftUI action menu from scratch. This tutorial shows how to transform a basic sheet-based menu into a polished, reusable component using view builders, custom modifiers, and SwiftUI styles. Includes complete code examples and best practices.

Creating custom SF Symbols using the SF Symbols app

Learn how to create custom SF Symbols without any design skills, using the SF Symbols app.

Improve your app's UX with SwiftUI's task view modifier

Learn how to implement a DelayTaskViewModifier

SwiftUI Hero Animations with NavigationTransition

Learn how to replicate the App Store hero animation with SwiftUI's new NavigationTransition

Styling SwiftUI Views

Learn how to create custom styles for built-in SwiftUI views

Previewing Stateful SwiftUI Views

Learn how to create interactive previews for SwiftUI views that make use of @Binding

Asynchronous programming with SwiftUI and Combine

Calling asynchronous code from Combine

Building a Custom Combine Operator for Exponential Backoff

Learn how to build custom Combine operators, and make your Combine pipelines easier to read and more reusable.

Error Handling with Combine and SwiftUI

Learn how you can use Combine to improve error handling in your SwiftUI apps

Calling asynchronous Firebase APIs from Swift

Learn the correct way to call Firebase's APIs from Swift

Optimise your networking layer with Combine

Learn how to use Combine to make your networking layer up to 10x more efficient!

Networking with Combine and SwiftUI

Learn how to use Combine to access remote APIs and display the results in SwiftUI

Confirmation Dialogs in SwiftUI

Create a custom view modifier for handling confirmation dialogs in SwiftUI

Using View Modifiers to Display Empty State

Create a custom view modifier to manage empty state in your SwiftUI app

Managing Focus in SwiftUI List Views

How to manage focus in SwiftUI List Views

Swipe Actions in SwiftUI 3

Easily add Swipe Actions to your UIs using SwiftUI

Styling List Views

Learn how to style SwiftUI List views

Building Dynamic Lists in SwiftUI

SwiftUI's List View is a very powerful UI component. Learn how to use it to asynchronously fetch data, and add features like pull-to-refresh, searching, and make your list items editable.

Building Static Lists in SwiftUI

List views are a staple of iOS UIs. Learn how SwiftUI makes implementing them super easy.

Cooperative Task Cancellation

Using async/await in SwiftUI apps

Getting Started with async/await in SwiftUI

Using async/await in SwiftUI apps

SwiftUI List Bindings

How to write asynchronous code without deeply nested callbacks

Mapping Firestore Data in Swift

Learn everything about how to map Firestore documents to Swift and back

Using async/await in SwiftUI

How to write asynchronous code without deeply nested callbacks

Firebase Authentication: Migrating User Data

Learn how to migrate data using Cloud Firestore

Firebase and the new SwiftUI 2 Application Life Cycle

Learn how to initialise Firebase in your SwiftUI 2 application

The Ultimate Guide to the SwiftUI 2 Application Life Cycle

Everything you need to know about the new application life cycle in SwiftUI 2

Updating Data in Firestore from a SwiftUI app

Learn how to update data in Firestore from a SwiftUI Application

Fetching API Keys from Property List Files

How to keep your apps secure

Adding Data to Firestore from a SwiftUI app

Learn how to write data to Firestore from a SwiftUI Application

SwiftUI: Mapping Firestore Documents using Swift Codable

Learn how to easily map Firestore data in Swift

SwiftUI: Fetching Data from Firestore in Real Time

Learn how to fetch data from Firestore in a SwiftUI Application

Sign in with Apple using SwiftUI and Firebase

Learn how to add Sign in with Apple to a to-do list application built using SwiftUI and Firebase

Connecting SwiftUI and Cloud Firestore

Learn how to use SwiftUI and Firebase to build a real-world app

SwiftUI, Combine, and Firebase

Learn how to use SwiftUI and Firebase to build a real-world app

Essential Xcode Shortcuts for More Efficient Coding

Learn these essential shortcuts to become a more productive developer

SwiftUI + Combine = ❤️

Learn how SwiftUI and Combine will help you build better apps and have more fun along the way.