My Account Log in

1 option

Asynchronous programming with SwiftUI and Combine : functional programming to build UIs on Apple platforms / Peter Friese.

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Friese, Peter, author.
Language:
English
Subjects (All):
Swift (Computer program language).
User interfaces (Computer systems)--Design.
User interfaces (Computer systems).
Parallel processing (Electronic computers).
iOS (Electronic resource).
Mac OS.
Physical Description:
1 online resource (447 pages)
Edition:
1st ed. 2023.
Place of Publication:
New York, New York : Apress, [2023]
Summary:
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 more error-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. You will: - Build simple and gradually more complex UIs in SwiftUI - Understand SwiftUI’s state management system - Work with Combine and Swift’s new async/await APIs to access the network and access other asynchronous APIs - Architect and structure modern applications on Apple platforms using SwiftUI, Combine, and async/await.
Contents:
Chapter 1: SwiftUI - A new Beginning
Chapter 2: Getting Started with SwiftUI
Chapter 3: SwiftUI Building Blocks
Chapter 4: State Management
Chapter 5: Displaying Data in Lists
Chapter 6: Building Input Forms
Chapter 7: Getting Started with Combine
Chapter 8: Driving UI State with Combine- Chapter 9: Networking with Combine
Chapter 10: Error Handling in Combine
Chapter 11: Implementing Custom Combine Operators
Chapter 12: Wrapping existing APIs in Combine (Firebase)
Chapter 13: Combine Schedulers and SwiftUI
Chapter 14: Getting Started with async-await
Chapter 15: Using async-await in SwiftUI
Chapter 16: Bringing it all together - SwiftUI, async-await, and Combine.
Notes:
Description based on print version record.
Includes index.
ISBN:
9781484285725
1484285727
OCLC:
1361713594

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Library Catalog Using Articles+ Library Account