Posts
All the articles I've posted.
Using SwiftUI `View`s in `UIView`s
Posted on:April 15, 2024Directly add a SwiftUI View to your UIView without a UIHostingController
Generating SwiftUI Previews for UIKit
Posted on:May 1, 2023How to quickly generate a preview for your UIKit View
Cross-Platform Size-Aware SwiftUI
Posted on:April 7, 2023How to quickly extend cross-platform SwiftUI for macOS size classes
Generating `Hashable` and `Equatable` for functions
Posted on:April 4, 2023Often, we pass functions as stored arguments to an object. In this quick tip, we explore how we can still maintain `Hashable` and `Equatable` when we do so, without having to write it ourselves.
View Modifiers
Posted on:April 4, 2023How view modifiers work, tips & tricks for declaring our own, and nipping subtle bugs in the bud.
Data Flow Property Wrappers
Posted on:March 28, 2023With so many property wrappers for data flow and data binding in SwiftUI, it's easy to get confused about which one to use. Here, we'll learn about the differences between State, StateObject, Binding, and ObservedObject. We'll look at when to use each one, and the differences between them.
Stacks on Stacks
Posted on:March 21, 2023An introduction to some of the most powerful tools in SwiftUI, stack views
An Intro to SwiftUI
Posted on:March 20, 2023What is SwiftUI, why should I use it, and what's the most basic building block?
Just Use A Button
Posted on:March 19, 2023Get highlight styles for SwiftUI views in List, without using a NavigationLink
Using Cross Import Overlays to Improve Your Libraries
Posted on:March 19, 2023How to use cross import overlays in your project, today
Build views, not cells
Posted on:March 18, 2023Why I build `UIView`s, not `UITableViewCell`s.
Integrating SwiftUI in Leaf Nodes of your iOS Application
Posted on:March 17, 2023Integrating SwiftUI at the Leaf Nodes