Welcome to my site.
This site is the home of my projects. Check out my portfolio, read some articles, or reach out with any questions or inquiries.
Latest from the Blog
How to only run onDisappear when a view is unloaded in SwiftUI
SwiftUI’s view modifier onDisappear is useful for running code when a view goes away. The issue is that it doesn’t differentiate between the view being unloaded and it simply being covered or hidden. Sometimes you want to run specific code when the view is dismissed or unloaded. Simply putting that code in an onDisappear willContinue reading “How to only run onDisappear when a view is unloaded in SwiftUI”
SwfitUI 2 on iOS 14 Fixes Swipe-to-Delete
A few weeks ago I wrote an article about how I attempted to fix the terrible swipe-to-delete animation in SwiftUI. While my solutions weren’t perfect, they were better than what SwiftUI came with. Well with the releases of iOS 14 and Xcode 12 betas, Apple has fixed swipe-to-delete. It now functions in SwiftUI just likeContinue reading “SwfitUI 2 on iOS 14 Fixes Swipe-to-Delete”
The quest to make SwiftUI swipe-to-delete not look and feel terrible
I don’t know if I’m the only one who feels this way, but I hate the way the swipe-to-delete function looks and feels in SwiftUI. In UIKit, after you swipe a cell, the background animates to fill the rest of the cell with destructive red and the cell collapses. This feels like it’s finishing theContinue reading “The quest to make SwiftUI swipe-to-delete not look and feel terrible”
Get new content delivered directly to your inbox.