SwiftUI For Dummies. Wei-Meng Lee
Чтение книги онлайн.
Читать онлайн книгу SwiftUI For Dummies - Wei-Meng Lee страница 2
5 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
6 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
7 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
8
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