Posts for: #ios

Functional Thinking in Swift: Part 3 - The power of Reduce

How Swift's reduce can derive map and filter, and how to use it to build reusable grouping tools.

read more →

Functional Thinking in Swift: Part 2 - Filter & Reduce

A practical look at Swift's filter and reduce functions, and how to compose them with map into readable data pipelines.

read more →

Functional Thinking in Swift: Part 1 - Map

An introduction to Swift's map function and how it helps express transformations in a clear, functional style.

read more →

Using custom reducers to make shared data even easier with TCA

How a custom SubscriberReducer can remove repeated AsyncStream subscription boilerplate from TCA reducers.

read more →

Leveraging custom Reducers to manage actions in your TCA app

How to use a custom NestedAction reducer to keep nested TCA actions organised while still returning top-level effects.

read more →

Managing Analytics in a TCA app

A composable way to keep analytics close to TCA feature logic without letting it crowd reducers or views.

read more →

Shared data in a TCA app

How to manage shared app data in The Composable Architecture using a dependency that exposes an AsyncStream.

read more →

SwiftUI: Formatting text, images, and links together

How to combine SwiftUI text, links, and SF Symbol images while keeping link tinting consistent.

read more →

We need to talk about The Coordinator Pattern

A look at when the Coordinator Pattern is useful, and why design patterns should emerge from the problem space rather than drive it.

read more →