Part 6: Beyond Basics
This part tries to cover some parts that are indispensable for professional development, including the core aspects of data management within SwiftUI applications. We start with an examination of Core Data. You’ll discover its capabilities for local data storage, seamless integration with SwiftUI, and practical applications. We will examine the evolution of concurrency in Swift, transitioning from old-school threading models to a contemporary structured concurrency approach, with a spotlight on the async-await pattern and task management to enhance application performance and responsiveness.
Then, we will introduce SwiftData, Apple’s latest ORM framework, designed to refine data handling in SwiftUI, moving beyond the capabilities of Core Data.
We will then move on to integrating REST services within SwiftUI, a critical component for iOS applications requiring network communication. You’ll acquire skills to make HTTP/HTTPS requests using URLSession
, serialize and deserialize data with Codable, and ensure secure, efficient network communication.
Concluding this part, we will examine the innovative Apple Vision Pro mixed-reality headset. You’ll discover its potential for spatial computing and the available development tools for visionOS, and you’ll start developing immersive applications for this cutting-edge platform.
This part contains the following chapters:
- Chapter 12, Persistence with Core Data
- Chapter 13, Modern Structured Concurrency
- Chapter 14, An Introduction to SwiftData
- Chapter 15, Consuming REST Services in SwiftUI
- Chapter 16, Exploring the Apple Vision Pro