HOME BOOKS QUICK GUIDES VIDEO COURSES APPLICATIONS
NEWSLETTER CONTACT
SwiftUI for Masterminds
How to take advantage of SwiftUI to create insanely great apps for iPhones, iPads, and Macs
5th Edition
October 2024
ISBN: 979-8-3399-9432-9
Buy Now
Examples and Projects
Although writing down the examples can help you remember what you are learning, sometimes it can be time consuming. To speed up the process, you can download the codes in TXT files, all Xcode projects, or open the codes you want to see from the links below.
Download TXT Files
425.0 KBytes
Download Projects
1.15 GBytes
CHAPTER 1 - APP DEVELOPMENT
There are no Examples in this Chapter
CHAPTER 2 - INTRODUCTION TO SWIFT
CHAPTER 3 - SWIFT PARADIGM
CHAPTER 4 - INTRODUCTION TO FRAMEWORKS
CHAPTER 5 - SWIFTUI FRAMEWORK
CHAPTER 6 - DECLARATIVE USER INTERFACE
CHAPTER 7 - LISTS
CHAPTER 8 - NAVIGATION
CHAPTER 9 - CONCURRENCY
CHAPTER 10 - STORAGE
CHAPTER 11 - GRAPHICS AND ANIMATIONS
CHAPTER 12 - GESTURES
CHAPTER 13 - MAP KIT
CHAPTER 14 - NOTIFICATIONS
CHAPTER 15 - ICLOUD
CHAPTER 16 - FRAMEWORK INTEGRATION
CHAPTER 17 - WEB
CHAPTER 18 - MEDIA
Representable views now must be created from the Main Actor to avoid data races in Swift 6 (This doesn't apply if you are using Swift 5)

The following are the changes we have introduced to the examples in this chapter:

Listing 18-11
The cameraView property must be initialized from the Main Actor. Because the property is now initialized inside a Task, we need to make it observable by removing @ObservationIgnored, so the views know when there is a new value available. We also need to call init() in the superclass to initialize the properties of the NSObject class first.

Listing 18-24
The customVideoView property must be initialized from the Main Actor. Because the property is now initialized inside a Task, we need to make it observable by removing @ObservationIgnored, so the views know when there is a new value available.

Listing 18-26
The customVideoView property must be initialized from the Main Actor. Because the property is now initialized inside a Task, we need to make it observable by removing @ObservationIgnored, so the views know when there is a new value available.

Listing 18-28
The customVideoView property must be initialized from the Main Actor. Because the property is now initialized inside a Task, we need to make it observable by removing @ObservationIgnored, so the views know when there is a new value available.

Listing 18-29
The customVideoView property must be initialized from the Main Actor. Because the property is now initialized inside a Task, we need to make it observable by removing @ObservationIgnored, so the views know when there is a new value available.
CHAPTER 19 - MULTIPLATFORM APPLICATIONS
CHAPTER 20 - INTERNATIONALIZATION
CHAPTER 21 - APP STORE
There are no Examples in this Chapter
Tools and Resources
Select Country
Paperback
$ 39.95 BUY NOW
Kindle
$ 9.99 BUY NOW
Apple Books
$ 9.99 BUY NOW
Google Books
$ 9.75 BUY NOW
Information
5th Edition
October 2024
ISBN: 979-8-3399-9432-9
More than 800 Codes Explained!
More than 300 Projects!