Swift Discovery #14
Welcome to another issue of Swift Discovery newsletter. This week we have visionOS in Xcode 15 beta 2
Articles
visionOS SDK now available
You can now start creating cutting-edge spatial computing apps for the infinite canvas of Apple Vision Pro. Download Xcode 15 beta 2, which includes the visionOS SDK and Reality Composer Pro
Learning Metal for SwiftUI
Resources to learn Metal for SwiftUI
SwiftUI transitions with distortion effect and Metal Shaders
Learn about the PhaseAnimator, KeyframeAnimator and the ability to utilize Metal shaders on SwiftUI views through modifiers .distortionEffect, .layerEffect, and .colorEffect
Mastering ScrollView in SwiftUI
This year we have massive additions to the ScrollView functionality in SwiftUI. Apple has added a bunch of new APIs to work with the ScrollView
Xcode Bookmarks: Save code landmarks & organize tasks
Xcode Bookmarks were introduced during WWDC 2023 as part of the significant Xcode 15 release. They are a new feature that allows you to save quick links to code you want to revisit
AngularGradient in SwiftUI
AngularGradient in SwiftUI is used to create a color gradient of two or more colors where the colors radiate around a center point
WWDC23 SwiftData Lab Notes
WWDC23 SwiftData lab and asked questions in the data-frameworks Slack QA session
The debut of the ButtonRepeatBehavior view modifier
The buttonRepeatBehavior is to let users repeat a button’s action repeatedly while pressing and holding it
Exploring the New Push Notifications Console from Apple
Apple has recently unveiled a powerful new tool for developers: the Apple Push Notifications Console
What’s the difference between @Binding and @Bindable
Apple has introduced a Combine-free version of @ObservableObject
and @StateObject
which takes the shape of the @Observable
macro which is part of a new package called Observation
.
Videos
SwiftUI Metal Shader Effects
How to add Metal Shader Effects to SwiftUI View's
Vision Pro Developer Hands-on
Jordi and Malin got a chance to try Vision Pro at WWDC23 and share about their experience trying the Apple Vision Pro