Did you know that there is a bug in SwiftUI (as at the writing of this post) that sometimes causes a view to automatically navigate back...
Continue reading...SwiftUI
SwiftUI: Modifiers to your rescue
Imagine you have this kind of View below, a text in a box that looks like a card. If you find yourself in a situation where...
Continue reading...SwiftUI: Building a simple Shazam Clone using ShazamKit
So, at WWDC21, Apple released ShazamKit, a tool that lets you enrich your app experience with audio recognition, enabling your users to find out a song’s...
Continue reading...SwiftUI: Building a reusable Ripple Animation View (Swift Package)
It’s no doubt that SwiftUI makes building custom views easy, even the seemingly complex ones. A few days ago, I thought of building something that may...
Continue reading...How to control the display order of overlapping views in SwiftUI
When it comes to layering of views in SwiftUI, the VStack layers views vertically, HStack layers views horizontally while ZStack layers views on top of each...
Continue reading...Creating a simple and reusable Dropdown selector using SwiftUI
This article is aimed at creating a simple dropdown selector that is reusable using SwiftUI. Below is the result I’m looking forward to: As you may...
Continue reading...So far so good – SwiftUI vs Jetpack Compose
After a few weeks of trying out Jetpack Compose and SwiftUI, the declarative UI toolkits introduced by Google and Apple this year, I have a couple...
Continue reading...Creating a TabView app in SwiftUI
SwiftUI is Apple’s new user interface toolkit and it provides a state-driven declarative way of designing your apps. Meaning, we tell SwiftUI how we want our...
Continue reading...