Custom Popup in SwiftUI
A tutorial on building a reusable custom popup and snackbar component in SwiftUI, including alignment options and code examples.
Vadim Bulavin — iOS developer and software engineer from Ukraine with a strong background in cryptography and mathematics, writing about Swift and multi-language development with a focus on building reliable, high-quality software.
6 articles from this blog
A tutorial on building a reusable custom popup and snackbar component in SwiftUI, including alignment options and code examples.
Explains Swift's callAsFunction() feature, allowing objects to be called like functions, with examples and use cases.
Explores the three phases of the SwiftUI view lifecycle, explaining view identity, rendering hierarchies, and how SwiftUI manages UI updates.
Explains why pre-flight network checks are flawed in iOS and recommends using Apple's Adaptable Connectivity APIs for better reliability.
A systematic guide to Swift's complex pointer types, explaining their purpose, usage, and the associated memory safety considerations.
Three techniques to manage SwiftUI previews effectively in large iOS projects, addressing code bloat and maintainability issues.