Preview Updates in Xcode 16
In this video, I would like to introduce you to two new enhancements to the Preview in Xcode. One is the new @Previewable macro and the other is the PreviewModifier I will show you how both can greatly simplify your code and throw in a little SwiftData too. If you want to support my work, you can buy me a coffee :) https://ko-fi.com/stewartlynch ******** Download my StewartLynch YouTube Channel Application - Free *********** https://stewartlynch.gumroad.com/l/obsjz Table of Contents: 0:00 Introduction 2:55 PreviewModifier - Void context 5:25 Previewable Macro 7:50 SwiftData Model 10:39 MockData PreviewModifier - ModelContainer context Starter Project Files: https://github.com/StewartLynch/PreviewUpdates Completed Project: https://github.com/StewartLynch/PreviewUpdates/tree/CompletedProject References mentioned in video: SwiftData PlayList Recommended Resources: https://youtube.com/playlist?list=PLBn01m5Vbs4Ck-JEF2nkcFTF_2rhGBMKX&si=pwv56a-HkkPKTdRI RocketSim - Build Apps Faster https://gumroad.com/a/122988499/ftvbh BigMountain Studio Books SwiftData Mastery in SwiftUI https://www.bigmountainstudio.com/swiftdata/77jt8 SwiftUI Views Mastery https://www.bigmountainstudio.com/views-16/77jt8 SwiftUI 5 Book Bundle https://www.bigmountainstudio.com/book-bundle/77jt8 Combine Mastery in SwiftUI https://www.bigmountainstudio.com/combine/77jt8 Core Data Mastery in SwiftUI https://www.bigmountainstudio.com/core-data/77jt8 SwiftUI Animations Mastery https://www.bigmountainstudio.com/animations-16/77jt8 Other References: Stewart Lynch's YouTube Channel: https://youtube.com/@StewartLynch Stewart Lynch on Mastodon: https://iosdev.space/@StewartLynch Stewart Lynch On Threads: @StewartLynch Stewart Lynch on X: https://x.com/StewartLynch Stewart Lynch on LinkedIn https://www.linkedin.com/in/stewartlynch
Download
0 formatsNo download links available.