Over 10 mio. titler Fri fragt ved køb over 499,- Hurtig levering 30 dages retur

Asynchronous Programming with SwiftUI and Combine : Functional Programming to Build UIs on Apple Platforms

Bog
  • Format
  • Bog, hæftet
  • Engelsk
  • 464 sider

Normalpris

kr. 524,95

Medlemspris

kr. 474,95
  • Du sparer kr. 50,00
  • Fri fragt
Som medlem af Saxo Premium 20 timer køber du til medlemspris, får fri fragt og 20 timers streaming/md. i Saxo-appen. De første 7 dage er gratis for nye medlemmer, derefter koster det 99,-/md. og kan altid opsiges. Løbende medlemskab, der forudsætter betaling med kreditkort. Fortrydelsesret i medfør af Forbrugeraftaleloven. Mindstepris 0 kr. Læs mere

Beskrivelse

Chapter 1: SwiftUI - A new Beginning 

Why a New UI framework? SwiftUI Principles Declarative vs Imperative State Management Composition over Inheritance Everything is a View UIs are a function of their state A quick tour of SwiftUI Creating a new app Anatomy of a SwiftUI app Two-way toolingAdding your first button Print "hello" to the console Explain live mode (need to turn on debug mode so you can see console output while in preview) 

A brief overview of statement management Use code editor and preview pane to update the "hello world" app to allow the user to give their name 

TextField, Label, (Button) @State to bind the TextField input Bind Label, so it gets updated automatically Run the app in live preview Chapter 2: Getting Started with SwiftUI



¿ Building Blocks 

Views View Modifiers Property Wrappers Simple UI Controls ¦ Lists 

¦ Navigation

¿ Composing UIs from simple UI elements 

Building a list rowMaking it reusableextracting parts into separate structs / views using ViewBuilders (properties / functions) Chapter 3: SwiftUI Foundation 

Opaque return types Implicit returns from single-expression functions Function Builders View Builders Multiple Trailing Closures Domain Specific languages Property WrappersThe View Life Cycle  Chapter 4: State Management

Managing State with Property Wrappers ¦ @State ¦ @ObservableObject ¦ @ObservedObject

¦ @StateObject

¦ @EnvironmentObject 

SwiftUI Patterns and State Management

Pattern: Drill-Down Navigation Pattern: Input form Pattern: Lookup field Pattern: Local state in a single dialog View Lifecycle See Michael Long's article Maybe even build some sort of introspector? Build my own debugging utilities Chapter 5: Building Input Forms 

Building simple forms

Build a simple form with a couple of simple input fields. Building advanced forms ¦ Look-up fields 

¦ Drill-down 

¦ In-place editing (e.g. date picker) ¦ Sections 

¦ Forms and Data Binding / State Management 

¦ Building a sign-up form 

¦ Username 

¦ Password / Repetition ¦ Validation 

¦ Come up with a non-Combine version for the following rules: 

Do the passwords match? Password strong enough? Username long enough? Username still available? How to handle state? Chapter 6: Functional Reactive Programming and Combine 

Introduction to Functional Reactive Programming What is it? Why is it so cool / hot? How can it help to make your apps better and more error-free Core Combine Concepts ¦ Publishers ¦ Subscribers

¦ Operators

Combine Visualised Marble Diagrams Show some Combine operators as Marble Diagrams Chapter 7: C

Læs hele beskrivelsen
Detaljer
  • SprogEngelsk
  • Sidetal464
  • Udgivelsesdato14-01-2023
  • ISBN139781484285732
  • Forlag Apress
  • MålgruppeFrom age 0
  • FormatHæftet
Størrelse og vægt
  • Vægt649 g
  • Dybde2,4 cm
  • coffee cup img
    10 cm
    book img
    15,6 cm
    23,4 cm

    Anmeldelser

    Vær den første!

    Log ind for at skrive en anmeldelse.

    Findes i disse kategorier...