0%

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!  

Table of Contents

  1. Cover
  2. Introduction
    1. About This Book
    2. Foolish Assumptions
    3. Icons Used in This Book
    4. Beyond the Book
    5. Where to Go from Here
  3. Part 1: Getting Started with Swift and SwiftUI
    1. Chapter 1: Introducing SwiftUI
    2. Understanding What SwiftUI Is
    3. Getting the Tools
    4. The Gory Details
    5. Chapter 2: Basics of the Swift Programming Language
    6. Basic Swift Syntax
    7. Basic Data Types
    8. Arrays
    9. Dictionaries
    10. Optional Types
    11. Functions
    12. Flow Control
    13. Looping
    14. Structures
    15. Classes
    16. Closures
    17. Protocols
  4. Part 2: Understanding the Basics of SwiftUI
    1. Chapter 3: Getting Started with the Basics of SwiftUI
    2. Taking a Look at SwiftUI Views
    3. Displaying an Image
    4. Displaying a Button
    5. Stacking the Views
    6. Putting on the Finishing Touches
    7. Chapter 4: Handling User Inputs and Custom Views
    8. Looking at Input Views
    9. Composing Custom Views
    10. Chapter 5: Displaying Lists of Items
    11. Using the List View to Display Items
    12. Displaying the List within a NavigationView
    13. Displaying Sections
    14. Previewing in Light and Dark Modes
    15. Chapter 6: Creating Navigation and Tabbed Applications
    16. Creating Navigation Apps
    17. Creating Tabbed Applications
    18. Chapter 7: Formatting Your User Interface
    19. Laying Out Views Using Stacks
    20. Using Container Views
  5. Part 3: Exploring with SwiftUI in More Detail
    1. Chapter 8: Understanding State Management in SwiftUI
    2. Using a Property Wrapper
    3. Maintaining State Using State Variables
    4. Binding State Variables
    5. Managing State from External Objects
    6. Sharing Objects
    7. Accessing Built-in Environment Variables
    8. Chapter 9: Using Legacy UIKit Views and View Controllers in SwiftUI
    9. Using UIKit in SwiftUI
    10. Using the UIViewRepresentable Protocol for UIKit Views
    11. Using the UIViewControllerRepresentable Protocol for UIKit View Controllers
  6. Part 4: Performing Animations and Drawings
    1. Chapter 10: Drawings and Special Effects
    2. Drawing Using the Five Built-in Shapes
    3. Clipping with the Basic Shapes
    4. Drawing Custom Shapes
    5. Using Special Effects in SwiftUI
    6. Chapter 11: Performing Animations in SwiftUI
    7. Understanding How to Animate
    8. Performing Your Own Animation
    9. Creating a Custom Progress Indicator
    10. Chapter 12: Creating a Complete Project
    11. Understanding What the App Does
    12. Building the Project
    13. Deploying the App
  7. Part 5: The Part of Tens
    1. Chapter 13: Ten SwiftUI Tips and Tricks
    2. Resuming Live Preview
    3. Implementing Localization
    4. Combining Text Views
    5. Creating Custom Modifiers
    6. Displaying Multiple Alerts
    7. Enabling Debug Preview
    8. Previewing Using Different Devices
    9. Dark Mode Only Works On NavigationView
    10. Extracting Subviews
    11. Displaying a Context Menu
    12. Chapter 14: Ten Great SwiftUI Resources
    13. Apple
    14. SwiftUI by Example
    15. 100 Days of SwiftUI
    16. Gosh Darn SwiftUI
    17. SwiftUI Hub
    18. Awesome SwiftUI
    19. raywenderlich.com
    20. Swift Talk
    21. About SwiftUI
    22. Stack Overflow
  8. Appendix: Code Snippets for Common SwiftUI Views
    1. Content View
    2. Using Modifiers
    3. Image View
    4. Text View
    5. Button View
    6. VStack View
    7. HStack View
    8. ZStack View
    9. TextField View
    10. SecureField View
    11. Toggle View
    12. Slider View
    13. Stepper View
    14. Picker View
    15. List View
    16. NavigationView View
    17. NavigationLink View
    18. Section View
    19. TabView View
    20. Form and Section Views
    21. Rectangle View
    22. RoundedRectangle View
    23. Circle View
    24. Capsule View
    25. Ellipse View
  9. Index
  10. About the Author
  11. Advertisement Page
  12. Connect with Dummies
  13. End User License Agreement
3.15.147.215