Asynchronous Programming with SwiftUI and Combine 1st Edition – Ebook Instant Download/Delivery ISBN(s): 9781484285725,9781484285718,1484285727,1484285719
Product details:
- ISBN-10: 1484285727
- ISBN-13: 9781484285725
- Author: Peter Friese
Develop UI-heavy applications more easily, faster, and error-free. Based on several enhancements to the Swift language, SwiftUI takes a declarative approach to building UIs. Instead of imperatively coding the UI, this book will show you how to describe how you want your UI to look. SwiftUI treats the UI as a function of its state, thereby making managing your app’s state a lot easier. Change the underlying data model to redraw all parts of the UI that are connected to that particular slice of data. Likewise, easily update the underlying data model from the UI elements your data model is connected to. Combine is Apple’s Functional Reactive Programming framework. It complements SwiftUI and other frameworks, such as the networking APIs, in a natural way. Using Combine, you can subscribe to events and describe data processing in a way that is free of side effects. This allows for an easier implementation of event-driven applications. Using SwiftUI and Combine build moreerror-free apps in a shorter amount of time, targeting all of Apple’s platforms (iOS, iPadOS, watchOS, macOS, tvOS) with little to no overhead. By the end of the book you will have a solid understanding for architecting and implementing UI-heavy apps in a declarative and functional reactive way using SwiftUI, Combine, and async/await.
Table contents:
Part 1
1. SwiftUI: A New Beginning
2. Getting Started with SwiftUI
3. SwiftUI Building Blocks
4. State Management
5. Displaying Data in Lists
6. Building Input Forms
Part 2
7. Getting Started with Combine
8. Driving UI State with Combine
9. Networking with Combine
10. Error Handling in Combine
11. Implementing Custom Combine Operators
12. Wrapping Existing APIs in Combine
13. Combine Schedulers and SwiftUI
Part 3
14. Getting Started with async/await
15. Using async/await in SwiftUI
16. Bringing It All Together: SwiftUI, async/await, and Combine
People also search:
Asynchronous Programming with SwiftUI and Combine
Is combine used with SwiftUI
When to use async await vs combine
How does Swift handle asynchronous tasks
How does asynchronous programming improve performance