Program Controls and Views for iPhone, iPad, and Mac Apps
Buch, Englisch, 183 Seiten, Format (B × H): 155 mm x 235 mm, Gewicht: 312 g
ISBN: 978-1-4842-5515-5
Verlag: Apress
For developers already familiar with ReactNative, this book reviews the declarative, state-based DSL that manages the UI and updates it automatically will feel just like what they’re used to. You'll see how SwiftUI reduces the number of lines of code required to achieve the same effects by over 60% and provides a much better experience.
Like the announcement of Swift in 2014, SwiftUI is expected to fundamentally change the way developing programmers approach coding iPhone and iPad applications. This book examines how SwiftUI lowers the entry barrier for developers to write amazing cross-platform applications for iOS and iPadOS as well as WatchOS, Mac OS, and TVOS.
What You'll Learn
- Write code in the new SwiftUI syntax
- Combine views to arrange them for an application
- Add gestures and controls to an application
Anyone who wants to learn to develop apps for the Mac, iPhone, iPad, and Apple Watch using the Swift programming language. No previous programming experience is necessary.
Zielgruppe
Professional/practitioner
Autoren/Hrsg.
Fachgebiete
Weitere Infos & Material
Chapter 1: What is SwiftUI
Chapter Goal: Introduce SwiftUI to the reader, explain the why Apple released SiwftUI despite having such a powerful array of native elements.
Chapter 2: The Syntax of SwiftUI
Chapter Goal: This chapter introduces the reader to the syntax of SwiftUI and how it is different than using other elements
Chapter 3: Views and Controls
Chapter Goal: The chapter introduces the reader to the concept of Views and Controls and puts content onscreen
Chapter 4: State and Data Flow
Chapter Goal:
Chapter 5: Layout and PresentationChapter Goal: Combine the views to arrange them for use in a more practical way like an application
Chapter 6: Drawing and Animation
Chapter Goal: Introduce the user to using Paths, Shapes and Animating the views and transitions
Chapter 7: GesturesChapter Goal: Introduce the reader to adding gestures to the application
Chapter 8: Previews
Chapter Goal: Introduce the user to how they can preview the UI in various forms
Chapter 9: Framework Integration
Chapter Goal: Introduce the user to put together views from platform specific UI frameworks
Chapter 10: Accessing API Data
Chapter Goal: Introduce the user to using API data from a web server (REST API) and display it
Chapter 11: Real World applications
Chapter Goal: Introduce the user to some simple real world applications where this tech can make development so much simpler and faster
Chapter 12: Advanced Tips and Misc bobs
Chapter Goal: The other gems that might not have been covered in the chapters above



