Читать книгу SwiftUI For Dummies - Wei-Meng Lee - Страница 3

SwiftUI™ For Dummies® To view this book's Cheat Sheet, simply go to www.dummies.com and search for “Swift UI For Dummies Cheat Sheet” in the Search box. Table of Contents

Оглавление

Cover

Introduction About This Book Foolish Assumptions Icons Used in This Book Beyond the Book Where to Go from Here

Part 1: Getting Started with Swift and SwiftUI Chapter 1: Introducing SwiftUI Understanding What SwiftUI Is Getting the Tools The Gory Details Chapter 2: Basics of the Swift Programming Language Basic Swift Syntax Basic Data Types Arrays Dictionaries Optional Types Functions Flow Control Looping Structures Classes Closures Protocols

Part 2: Understanding the Basics of SwiftUI Chapter 3: Getting Started with the Basics of SwiftUI Taking a Look at SwiftUI Views Displaying an Image Displaying a Button Stacking the Views Putting on the Finishing Touches Chapter 4: Handling User Inputs and Custom Views Looking at Input Views Composing Custom Views Chapter 5: Displaying Lists of Items Using the List View to Display Items Displaying the List within a NavigationView Displaying Sections Previewing in Light and Dark Modes Chapter 6: Creating Navigation and Tabbed Applications Creating Navigation Apps Creating Tabbed Applications Chapter 7: Formatting Your User Interface Laying Out Views Using Stacks Using Container Views

Part 3: Exploring with SwiftUI in More Detail Chapter 8: Understanding State Management in SwiftUI Using a Property Wrapper Maintaining State Using State Variables Binding State Variables Managing State from External Objects Sharing Objects Accessing Built-in Environment Variables Chapter 9: Using Legacy UIKit Views and View Controllers in SwiftUI Using UIKit in SwiftUI Using the UIViewRepresentable Protocol for UIKit Views Using the UIViewControllerRepresentable Protocol for UIKit View Controllers

Part 4: Performing Animations and Drawings Chapter 10: Drawings and Special Effects Drawing Using the Five Built-in Shapes Clipping with the Basic Shapes Drawing Custom Shapes Using Special Effects in SwiftUI Chapter 11: Performing Animations in SwiftUI Understanding How to Animate Performing Your Own Animation Creating a Custom Progress Indicator Chapter 12: Creating a Complete Project Understanding What the App Does Building the Project Deploying the App

Part 5: The Part of Tens Chapter 13: Ten SwiftUI Tips and Tricks Resuming Live Preview Implementing Localization Combining Text Views Creating Custom Modifiers Displaying Multiple Alerts Enabling Debug Preview Previewing Using Different Devices Dark Mode Only Works On NavigationView Extracting Subviews Displaying a Context Menu Chapter 14: Ten Great SwiftUI Resources Apple SwiftUI by Example 100 Days of SwiftUI Gosh Darn SwiftUI SwiftUI Hub Awesome SwiftUI raywenderlich.com Swift Talk About SwiftUI Stack Overflow

Appendix: Code Snippets for Common SwiftUI Views Content View Using Modifiers Image View Text View Button View VStack View HStack View ZStack View TextField View SecureField View Toggle View Slider View Stepper View Picker View List View NavigationView View NavigationLink View Section View TabView View Form and Section Views Rectangle View RoundedRectangle View Circle View Capsule View Ellipse View

Index

10  About the Author

11  Advertisement Page

12  Connect with Dummies

13  End User License Agreement

SwiftUI For Dummies

Подняться наверх