SwiftUI Weekly - Issue #188
The curated collection of links about SwiftUI. Delivered every Monday.
Reading
Discovering app features with TipKit. Customizations.
The final post on the topic of the TipKit framework is customization points. This week, we will learn how to customize a tip look and feel in our apps using the TipKit framework.
Programmatic navigation in SwiftUI with NavigationPath and navigationDestination
One of the key features that was missing from SwiftUI when it first shipped was a good way to do programmatic navigation. There were some ways to handle this before iOS 16 introduced NavigationPath
but it wasn’t very satisfying to use those APIs and they could be rather unreliable at times. To see an example, take a look at this post I wrote about handling deeplinks on iOS 14.
MVVM: An architectural coding pattern to structure SwiftUI Views
MVVM (Model-View-ViewModel) is an architectural coding pattern for structuring SwiftUI views. The goal of the pattern is to separate the view definition from the business logic behind it. Your views will not depend on any specific model type if done correctly.
Replacing The Deprecated cornerRadius View Modifier In SwiftUI
Welcome to a quick programming tip related to a deprecation that took place in SwiftUI. Up until iOS 17.4, the most direct and effortless way to round the corners of any view, giving it a softer and more appealing look, had been the cornerRadius(_:)
view modifier. Using it had been a quick and straightforward task, as we just had to provide the desired radius value as argument. However, as of iOS 17.4, cornerRadius(_:)
is no longer a valid option because it became deprecated, so here I’ll show you what to replace with.
Your Complete Guide to Push Notifications in SwiftUI
Push notifications are a feature that many apps use, but there hasn’t been much content around how they work or how to implement them. In this tutorial we will make this complex topic easier to understand and implement in your own project.
How to build segmented circular progress views in SwiftUI with Swift Charts
We built a custom segmented circular progress view using Swift Charts that we would like to share with you in this article.
Book
Building a Complete App Design System with SwiftUI
Dive into the transformative world of app development with "Crafting Consistency: Building a Complete App Design System with SwiftUI." This meticulously designed guide is indispensable for developers eager to master the art of building scalable, maintainable, and visually stunning iOS applications using SwiftUI. Discount code: MAJID15.