SwiftUI API Design: Sheet II April 16, 2024 In this part, we create a new initializer for the sheet that takes an `item` instead of a `isPresented` binding. We also run into some trouble along the way, and do a deep dive on how SwiftUI works.
SwiftUI API Design: Sheet I April 5, 2024 This series of posts will take you through not only how to make a sheet modifier in SwiftUI, but also how to think about SwiftUI API design, and how Apple seems to approach it. Along the way, I'll show you a few fun SwiftUI tricks that can help make your code more modular and more readable!