SwiftUI For Dummies
1. Edition October 2020
416 Pages, Softcover
Wiley & Sons Ltd
The simplest way to create world-class apps
Have a unique app idea but worried you don't quite have the coding skills to build it? Good news: You can stop fretting about someone beating you to market with the same idea and start work right now using SwiftUI. SwiftUI is a gateway app development framework that has become one of the best ways for fledgling developers to get iOS apps off the ground without having to become a coding expert overnight.
SwiftUI For Dummies makes that process even faster, providing a friendly introduction to the SwiftUI and Swift programming language and helping you feel right at home creating and building with playgrounds. The book also covers the frameworks and APIs that make it so easy to create smooth, intuitive interfaces--just dive right in and have fun!
* Combine projects into workspaces
* Employ Xcode editing tools
* Use constants and variables
* Test your code on iOS Simulator
Time is of the essence, and with SwiftUI For Dummies, it's also on your side. Get going with this friendly guide today, and you'll be celebrating the successful launch of your app way before you thought possible!
Part 1: Getting Started with Swift and SwiftUI 5
Chapter 1: Introducing SwiftUI 7
Chapter 2: Basics of the Swift Programming Language 25
Part 2: Understanding the Basics of SwiftUI 61
Chapter 3: Getting Started with the Basics of SwiftUI 63
Chapter 4: Handling User Inputs and Custom Views 87
Chapter 5: Displaying Lists of Items 113
Chapter 6: Creating Navigation and Tabbed Applications 143
Chapter 7: Formatting Your User Interface 173
Part 3: Exploring with SwiftUI in More Detail 205
Chapter 8: Understanding State Management in SwiftUI 207
Chapter 9: Using Legacy UIKit Views and View Controllers in SwiftUI 235
Part 4: Performing Animations and Drawings 263
Chapter 10: Drawings and Special Effects 265
Chapter 11: Performing Animations in SwiftUI 299
Chapter 12: Creating a Complete Project 323
Part 5: The Part of Tens 351
Chapter 13: Ten SwiftUI Tips and Tricks 353
Chapter 14: Ten Great SwiftUI Resources 375
Appendix: Code Snippets for Common SwiftUI Views 379
Index 387