Mastering SwiftUI 6 - Basic
Now the book has been fully updated for Xcode 16, iOS 18, and Swift 6. And we added 4 more new chapters with over 50 pages of content.
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, including the new APIs introduced in iOS 18. 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 and build a personal finance app with SwiftUI and Combine, another new framework introduced since the release of iOS 13.
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
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 - Creating PDF Documents Using ImageRenderer
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
Chapter 46 - Working with Maps and Annotations
Chapter 47 - Working with Preview Macro
Chapter 48 - Building Pie Charts and Donut Charts
Chapter 49 - Detecting scroll positions in ScrollView
Chapter 50 - Animating Scroll View Using SwiftUI
Chapter 51 - Using UnevenRoundedRectangle to Round Specific Corners
Chapter 52 - Getting Started with SwiftData
Chapter 53 - How to Embed Photo Pickers in iOS Apps
Chapter 54 - Using PhaseAnimator to Create Dynamic Multi-Step Animations
Chapter 55 - Creating Advanced Animations with KeyframeAnimator
Chapter 56 - Using TipKit to Display Tooltips
Chapter 57 - Creating an App Store like Animation Using Navigation Transition
Chapter 58 - Integrating System-Wide Translation Using the Translation API
Chapter 59 - Working with Mesh Gradients
Chapter 60 - Using TextRenderer to Create Visual Text Effects
All the source code is included and available for download. Also, you are free to use the code in your own project (personal / commercial).
This book includes one year free update. That means, you will continue to receive book updates for free for 1 year. The updates include new content and error fixes.
What's included