0

Asynchronous Programming with SwiftUI and Combine

eBook - Functional Programming to Build UIs on Apple Platforms

Erschienen am 13.01.2023, Auflage: 1/2023
CHF 93,90
(inkl. MwSt.)

Download

E-Book Download
Bibliografische Daten
ISBN/EAN: 9781484285725
Sprache: Englisch
Umfang: 0 S., 9.32 MB
E-Book
Format: PDF
DRM: Digitales Wasserzeichen

Beschreibung

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 apps 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 Apples 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 Apples 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 SwiftUIs state management system

-       Work with Combine and Swifts 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

Autorenportrait

Peter Friese is a software engineer, author, speaker, and musician with a passion for helping developers build great apps. He works as a Developer Relations Engineer / Developer Advocate on the Firebase team at Google, where he focuses on helping developers build better apps using Firebase on iOS and other Apple platforms.Peter shares his knowledge and experience through writing on his personal blog, peterfriese.dev, publishing videos on YouTube, speaking at conferences and meet-ups, crafting sample apps and contributing to the Firebase SDKs.Prior to working at Google, he has held roles as a software engineer, software architect, and principal consultant at companies such as Lufthansa Systems, Gentleware, itemis, and Zühlke.

Inhalt

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.

Informationen zu E-Books

Individuelle Erläuterung zu E-Books

Weitere Artikel vom Autor "Friese, Peter"

Nicht mehr lieferbar

CHF 47,30
inkl. MwSt.
UVP

Lieferbar in ca. 10-14 Arbeitstagen

CHF 38,60
inkl. MwSt.
UVP

Lieferbar in ca. 10-14 Arbeitstagen

CHF 39,40
inkl. MwSt.
UVP

Lieferbar in ca. 10-14 Arbeitstagen

CHF 39,50
inkl. MwSt.
UVP
Alle Artikel anzeigen