Check out “Meet SwiftData” to cover the basics. This is a code along session (https://developer.apple.com/wwdc23/10154) and you should download the code from https://developer.apple.com/documentation/SwiftUI/Building-a-document-based-app-using-SwiftData The code along get’s you to build a cross platform code flashcard app. Meet the App SwiftData models Querying models to display in UI Creating and updating [Bonus] Document-based apps
Category: blog
Build accessible apps with SwiftUI and UIKit
Accessibility is key for Apple. I agree with this philosophy, having even written an article years ago for the magazine called “Enabled” on how OS/2 was made accessible. I loved that the magazine was called “Enabled” instead of “Disabled” as it sent a message to the reader that they were not less than. Accessibility Enhancements […]
Bring Widgets to Life
You can now create interactions with widgets. You can have animation in widgets to show how content has changed. Animations Interactivity
Beyond scroll views
Improvements to scroll views in SwiftUI – this allows for expanding beyond the screen port. You can define which axis it will scroll – horizontal or vertical. It will resolve safe area to show information within its content offset. Margins and safe area Target and Positions Scroll Transitions
Meet SwiftUI for Spatial Computing
This is a high-level review of SwiftUI’s extensions for xrOS All of xrOS was built in SwiftUI Buttons can provide audio feedback when pressed. With Spatial computing we have to use Scenes, see the three types defined in other sessions – Window, Volume, and Full Space. Breaking down the structure of a windows Interactions Hover […]
Meet MapKit for SwiftUI
Expanded swiftUI API Use MapKit to your app, This is a code along class. Adding a marker to a Map, is like adding a view to al list. Markers are used to display content on a map. Annotation allows your to provide a view at a specific location Using the content builder closure […]
Get Started with building apps for spatial computing
Fundamentals Where to Start How to build
Expand on Swift Macros
Why Macros Design Philosophy Translation Model Macro Roles Macro Implementation Writing correct macros
What’s New in App Clips
These are light versions of your app, allows users to try your app without installing There are three New size limit Default app Clip links Invoke From your App
Generalize APIs with parameter packs
This is an advance topic and builds on last year’s “Embrace Swift Generics” it is highly recommended that you review this before watching this session. What parameter packs solve How to read parameter packs Using parameter packs