SwiftUI Weekly - Issue #136
The curated collection of links about SwiftUI. Delivered every Monday.
Add subscriptions to your app in minutes with RevenueCat. See why 20,000+ apps use RevenueCat to power in-app purchases and subscriptions. Learn more here
SwiftUI has a few different modifiers that can change the color of text, such as foregroundColor(_:), foregroundStyle(_:), and tint(_:). They provide different functionality but sometimes overlap, and it can be hard to know for sure which modifier to choose. In this post, we will review some common use cases for all three modifiers and see which one suits best for what purpose.
I never have enough time to work on the games that I make. So when I am working on them, I want to stay focused on the game screen, and spend as little time as possible writing the other boring (but still necessary!) screens for the App. Apple’s
SwiftUIframework is very easy to use, and if you don’t much care about making things pixel-perfect, it can sure save a lot of time.
In this section, we’ll dive into what is the process that I use to create my own animations. Is this the best? For sure it is not, but it works for me.
We'll introduce you to the basics of SwiftUI and the NavigationStack API and then dive deep into using Swift UI for programmatic navigation. We'll cover all the key concepts, including using NavigationView and NavigationLink to navigate between screens in your app.
In this video, I hope to share with you some things that you may not know or have forgotten about SwiftUI previews and what changed in Xcode 14 so that you can get the most out of creating and viewing your SwiftUI Views while designing and coding them.
In this video, I'll show how we can use ChatGPT to generate SwiftUI code that recreates Apple's Clock icon on the Home Screen. I'll then walk you through building the same thing ourselves, so you can see how the two solutions compare.