SwiftUI Weekly - Issue #199
The curated collection of links about SwiftUI. Delivered every Monday.
Sponsor
Integrate Chat with Stream’s iOS SDK 🛠️
Get real-time messaging, rich media support, and customizable UI components—all optimized for seamless integration and high performance. Create awesome in-app experiences while you focus on providing value to your end-users. Try Stream’s iOS Chat SDK for free. 🚀
News
Xcode 16 RC is here!
Xcode 16 beta 6 includes SDKs for iOS 18, iPadOS 18, tvOS 18, watchOS 11, macOS Sequoia 15, and visionOS 2.
Reading
Custom hover effects in SwiftUI
Since purchasing Apple Vision Pro, I have been fully immersed in adapting my applications to visionOS. The first thing I noticed on the device was the need to customize hover effects in some views. This week, we will talk about building custom hover effects in SwiftUI.
Animating SF Symbols on iOS 18
Initially, SF Symbols were pretty much static. We could configure them with a color and thickness but that was about it. Now that we’re a few years down the line, Apple has added multiple ways to animate SF Symbols.
SwiftUI Previewable Macro
Apple added the Previewable macro to iOS 18. This generates the boilerplate wrapper view you need to preview a view with State bindings.
Create Custom Visual Effects with SwiftUI
At WWDC24, Apple introduced exciting updates for creating custom visual effects with SwiftUI. This article summarizes the “Create Custom Visual Effects with SwiftUI” session, highlighting new capabilities for enhancing your app’s visual experience.
Backport SwiftUI modifiers
There are some APIs that are easy to backport if we disregard the old versions of the operative system. This may sound awful but is a valid option that is worth considering.
Github contribution graph with Swift Charts
Swift Charts is available in iOS 16+ and supports watchOS and macOS as well. In this article I'll guide you through recreating Github Contribution Graph. Let's start!