SwiftUI Cookbook : Discover Solutions and Best Practices to Tackle the Most Common Problems While Building SwiftUI Apps.
SwiftUI is an innovative new framework to build UI for all Apple platforms using Swift. This recipe-based guide covers the new features of SwiftUI 2 introduced on iOS14 and helps you migrate from UIkit with a simple learning curve through practical solutions. Learn how SwiftUI combines with Apple de...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Otros Autores: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Publishing, Limited,
2020.
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Cover
- Title Page
- Copyright and Credits
- Dedication
- About Packt
- Contributors
- Table of Contents
- Preface
- Chapter 1: Using the Basic SwiftUI Views and Controls
- Technical requirements
- How to lay out components
- Getting ready
- How to do it ...
- How it works ...
- Dealing with text
- Getting ready
- How to do it ...
- How it works ...
- There's more ...
- See also
- Using images
- Getting ready
- How to do it ...
- How it works ...
- See also
- Adding buttons and navigating with them
- Getting ready
- How to do it ...
- How it works ...
- See also
- Beyond buttons
- how to use advanced pickers
- Getting ready
- How to do it ...
- How it works ...
- How to apply groups of styles using ViewModifiers
- Getting ready
- How to do it ...
- How it works ...
- See also
- Separating presentation from content with ViewBuilder
- Getting ready
- How to do it ...
- How it works ...
- See also
- Simple graphics using SF Symbols
- Getting ready
- How to do it ...
- How it works ...
- See also
- The best of both worlds
- integrating UIKit into SwiftUI
- Getting ready
- How to do it ...
- How it works ...
- See also
- Adding SwiftUI to an existing app
- Getting ready
- How to do it ...
- How it works ...
- More views and controls (iOS 14+)
- Getting ready
- How to do it ...
- How it works ...
- Chapter 2: Going Beyond the Single Component with Lists and Scroll Views
- Technical requirements
- Using scroll views
- Getting ready
- How to do it ...
- How it works ...
- See also
- Creating a list of static items
- Getting ready
- How to do it ...
- How it works ...
- Using custom rows in a list
- Getting ready
- How to do it ...
- How it works ...
- Adding rows to a list
- Getting ready
- How to do it ...
- How it works ...
- Deleting rows from a list
- Getting ready
- How to do it ...
- How it works ...
- There's more ...
- Editing a list
- Getting ready
- How to do it ...
- How it works ...
- There's more ...
- Moving rows in a list
- Getting ready
- How to do it ...
- How it works ...
- Adding sections to a list
- Getting ready
- How to do it ...
- How it works ...
- Using LazyHStack and LazyVStack (iOS 14+)
- Getting ready
- How to do it ...
- How it works ...
- There's more ...
- Using LazyHGrid and LazyVGrid (iOS 14+)
- Getting ready
- How to do it ...
- How it works ...
- Using ScrollViewReader (iOS 14+)
- Getting ready
- How to do it ...
- How it works ...
- Using expanding lists (iOS 14+)
- Getting ready
- How to do it ...
- How it works ...
- There's more ...
- See also
- Using disclosure groups to hide and show content (iOS 14+)
- Getting ready
- How to do it ...
- How it works ...
- Chapter 3: Viewing while Building with SwiftUI Preview
- Technical requirements
- Previewing the layout in dark mode
- Getting ready
- How to do it ...
- How it works ...
- Previewing the layout at different dynamic type sizes
- Getting ready
- How to do it ...
- How it works ...
- See also
- Previewing the layout in a navigation view
- Getting ready
- How to do it ...