Mastering SwiftUI (Supports iOS 14 and Xcode 12)
by Simon Ng
English | 2021 | ASIN: B096KGFSGN | 825 Pages | PDF, EPUB, MOBI | 301.86 MB
by Simon Ng
English | 2021 | ASIN: B096KGFSGN | 825 Pages | PDF, EPUB, MOBI | 301.86 MB
Fully updated for Xcode 12, iOS 14 & Swift 5.3
The SwiftUI book is written for both beginners and developers having some experience with Swift programming. We will dive deep into this brand new UI framework. We will explore the commonly used UI components and teach you how to build complex layouts. Animations play a key role in modern mobile apps. In this book, you will also learn various animation techniques and build some cool view animations.
After going through the basics, we will put together everything you learn to build a ToDo app and a personal finance app with SwiftUI & Combine.
Even if you have developed an iOS app before, this book will help you understand this brand-new framework and learn how to integrate UIKit with SwiftUI.
Over 800 Pages and 30 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 SwiftUI APIs introduced in iOS 14.
Table of content
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
All the source code is included and available for download. Also, you are free to use the code in your own project (personal / commercial).