Название: Mastering SwiftUI for iOS 16 and Xcode 14: Learn how to build fluid UIs and a real world app with SwiftUI Автор: Simon Ng Издательство: AppCoda Limited Год: 2022 Страниц: 897 Язык: английский Формат: pdf Размер: 98.3 MB
Fully updated for Xcode 14, iOS 16 & Swift 5.7.
The SwiftUI book is written for both beginners and developers having some experience with Swift programming. We will dive deep into the SwiftUI framework, teaching you how to work with various UI elements, and build different types of UIs. After going through the basics andunderstanding the usage of common components, we will put together with all the materials you've learned and build a complete app. As always, we will explore SwiftUI with you by using the "Learn by doing" approach. This new book features a lot of hands-on exercises and projects. Don't expect you can just read the book and understand everything. You need to get prepared to write code and debug.
If you have worked with React Native or Flutter before, you will find some similarities between the programming styles and probably find it easier to build UIs in SwiftUI. That said, even if you haven't developed in any functional programming languages before, it would just take you some time to get used to the syntax. Once you manage the basics, you will love the simplicity of coding complex layouts and animations in SwiftUI. SwiftUI has evolved so much in these three years. Apple has packed even more features and brought more UI components to the SwiftUI framework, which comes alongside with Xcode 14. It just takes UI development on iOS, iPadOS, and macOS to the next level. You can develop some fancy animations with way less code, as compared to UIKit. Most importantly, the latest version of the SwiftUI framework makes it easier for developers to develop apps for Apple platforms. You will understand what I mean after you go through the book.
We will also put together everything you learn to build a ToDo app and a personal finance app with SwiftUI & Combine. Over 900 Pages and 40 Projects We will start with the basics and then dive deep into SwiftUI. You will learn how to work with the built-in components, animations, create complex UIs, and explore new APIs introduced in iOS 16.
All the source code is included and available for download. You are free to use the code in your own projects (personal/commercial).
Audience: This book is written for both beginners and developers with some iOS programming experience. Even if you have developed an iOS app before, this book will help you understand this brand-new framework and the new way to develop UI. You will also learn how to integrate UIKit with SwiftUI.
Contents:
Chapter 1 - Introduction to SwiftUI
Chapter 2 - Getting Started with SwiftUI and Working with Text
Chapter 3 - Working with Images
Chapter 4 - Layout User Interfaces with Stacks
Chapter 5 - Understanding ScrollView and Building a Carousel UI
Chapter 6 - Working with SwiftUI Buttons and Gradient
Chapter 7 - Understanding State and Binding
Chapter 8 - Implementing Path and Shape for Line Drawing and Pie Charts
Chapter 9 - Basic Animations and Transitions
Chapter 10 - Playing with Modal Views, Floating Buttons and Alerts
Chapter 11 - Understanding Dynamic List, ForEach and Identifiable
Chapter 12 - Working with Navigation UI and Navigation Bar Customization
Chapter 13 - Building a Form with Picker, Toggle and Stepper
Chapter 14 - Data Sharing with Combine and Environment Objects
Chapter 15 - Building a Registration Form with Combine and View Model
Chapter 16 - Working with Swipe-to-Delete, Context Menu and Action Sheets
Chapter 17 - Using Gestures
Chapter 18 - Building an Expandable Bottom Sheet with SwiftUI Gestures and GeometryReader
Chapter 19 - Advanced Animations and Transitions
Chapter 20 - Creating a Tinder-like UI
Chapter 21 - Working with JSON, Slider and Data Filtering
Chapter 22 - Building a ToDo app using Core Data
Chapter 23 - Integrating UIKit with SwiftUI Using UIViewRepresentable
Chapter 24 - Creating a Search Bar View and Working with Custom Binding
Chapter 25 - Putting Everything Together to Build a Real World App
Chapter 26 - Creating an App Store like Animated View Transition
Chapter 27 - Building an Image Carousel
Chapter 28 - Building an Expandable List View Using OutlineGroup
Chapter 29 - Building Grid Layout Using LazyVGrid and LazyHGrid
Chapter 30 - Creating an Animated Activity Ring with Shape and Animatable
Chapter 31 - Working with AnimatableModifier and LibraryContentProvider
Chapter 32 - Working with TextEditor to Create Multiline Text Fields
Chapter 33 - Using matchedGeometryEffect to Create View Animations
Chapter 34 - ScrollViewReader and Grid Animation
Chapter 35 - Working with Tab View and Tab Bar Customization
Chapter 36 - Using AsyncImage in SwiftUI for Loading Images Asynchronously
Chapter 37 - Implementing Search Bar Using Searchable
Chapter 38 - Creating Bar Charts and Line Charts with the Charts Framework
Chapter 39 - Capturing Text within Image Using Live Text APIs
Chapter 40 - How to Use ShareLink for Sharing Data Like Text and Photos
Chapter 41 - Using ImageRenderer to Convert SwiftUI Views into Images
Chapter 42 - Using ImageRenderer to Convert SwiftUI Views into Images
Chapter 43 - Using Gauge to Display Progress and Create a Speedometer
Chapter 44 - Creating Grid Layout Using Grid APIs
Chapter 45 - Switching Layout with AnyLayout
Скачать Mastering SwiftUI for iOS 16 and Xcode 14: Learn how to build fluid UIs and a real world app with SwiftUI
|