Asynchronous Programming with SwiftUI and Combine -  Peter Friese

Asynchronous Programming with SwiftUI and Combine (eBook)

Functional Programming to Build UIs on Apple Platforms

(Autor)

eBook Download: PDF
2023 | 1. Auflage
XXVII, 434 Seiten
Apress (Verlag)
978-1-4842-8572-5 (ISBN)
Systemvoraussetzungen
62,99 inkl. MwSt
  • Download sofort lieferbar
  • Zahlungsarten anzeigen

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




Peter Friese is a Developer Advocate on the Firebase team at Google, helping developers worldwide to build better apps using Firebase and other technologies. He managed to convince Google into hiring him despite or just because of his deep-rooted love for iOS and Swift. Before he started working with computers, Peter worked part-time as a projectionist, landscape gardener, and in a book warehouse long before Amazon was founded.
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. 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
Erscheint lt. Verlag 13.1.2023
Zusatzinfo XXVII, 434 p. 76 illus.
Sprache englisch
Themenwelt Informatik Betriebssysteme / Server Macintosh / Mac OS X
Informatik Programmiersprachen / -werkzeuge Mac / Cocoa Programmierung
Schlagworte Combine • Firebase • Ios • iPados • MacOS • MVVM • SWIFT • SwiftUI • tvos • WatchOS
ISBN-10 1-4842-8572-7 / 1484285727
ISBN-13 978-1-4842-8572-5 / 9781484285725
Haben Sie eine Frage zum Produkt?
PDFPDF (Wasserzeichen)
Größe: 9,5 MB

DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasser­zeichen und ist damit für Sie persona­lisiert. Bei einer missbräuch­lichen Weiter­gabe des eBooks an Dritte ist eine Rück­ver­folgung an die Quelle möglich.

Dateiformat: PDF (Portable Document Format)
Mit einem festen Seiten­layout eignet sich die PDF besonders für Fach­bücher mit Spalten, Tabellen und Abbild­ungen. Eine PDF kann auf fast allen Geräten ange­zeigt werden, ist aber für kleine Displays (Smart­phone, eReader) nur einge­schränkt geeignet.

Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.

Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.

Mehr entdecken
aus dem Bereich
A practical guide to implementing, managing, and optimizing macOS Big …

von Nava Herta Nava

eBook Download (2021)
Packt Publishing (Verlag)
34,79